chromium/chrome/browser/resources/chromeos/bluetooth_pairing_dialog/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("//chrome/common/features.gni")
import("//ui/webui/resources/tools/build_webui.gni")

build_webui("build") {
  grd_prefix = "bluetooth_pairing_dialog"

  static_files = [ "bluetooth_pairing_dialog_container.html" ]

  # Files holding a Polymer element definition AND have an equivalent .html file.
  web_component_files = [ "bluetooth_pairing_dialog.ts" ]

  ts_definitions = [
    "//tools/typescript/definitions/bluetooth.d.ts",
    "//tools/typescript/definitions/bluetooth_private.d.ts",
    "//tools/typescript/definitions/chrome_event.d.ts",
    "//tools/typescript/definitions/chrome_send.d.ts",
  ]

  ts_deps = [
    "//ash/webui/common/resources:build_ts",
    "//ash/webui/common/resources/cr_elements:build_ts",
    "//third_party/polymer/v3_0:library",
    "//ui/webui/resources/cr_components/color_change_listener:build_ts",
  ]
  webui_context_type = "trusted"
}