chromium/ash/webui/multidevice_debug/resources/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("//third_party/closure_compiler/compile_js.gni")

assert(is_chromeos_ash, "Proximity Auth is ash-chrome only")

js_type_check("closure_compile") {
  deps = [
    ":logs",
    ":proximity_auth",
    ":webui",
  ]
}

js_library("webui") {
  externs_list = [ "$externs_path/chrome_send.js" ]
}

js_library("logs") {
  deps = [ ":webui" ]
}

js_library("proximity_auth") {
  deps = [
    ":logs",
    ":webui",
    "//chromeos/ash/services/multidevice_setup/public/mojom:mojom_js_library_for_compile",
  ]
}