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

# Copyright 2018 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, "Non-ChromeOS builds cannot depend on //ash")

mojom("mojom") {
  sources = [ "multidevice_setup.mojom" ]

  public_deps = [ "//chromeos/ash/services/device_sync/public/mojom" ]

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

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