chromium/chromeos/ash/services/cellular_setup/public/mojom/BUILD.gn

# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chromeos/ui_mode.gni")
import("//mojo/public/tools/bindings/mojom.gni")

assert(is_chromeos_ash)

mojom("mojom") {
  sources = [
    "cellular_setup.mojom",
    "esim_manager.mojom",
  ]

  public_deps = [
    "//mojo/public/mojom/base",
    "//url/mojom:url_mojom_gurl",
  ]

  webui_module_path = "chrome://resources/mojo/chromeos/ash/services/cellular_setup/public/mojom"

  # Used by ash/webui/common/resources/multidevice_setup, which is still using
  # JS + Closure.
  generate_webui_js_bindings = true
}