chromium/chrome/browser/resources/chromeos/internet_detail_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") {
  static_files = [ "internet_detail_dialog_container.html" ]

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

  non_web_component_files = [ "internet_detail_dialog_browser_proxy.ts" ]

  ts_definitions = [ "//tools/typescript/definitions/chrome_send.d.ts" ]

  ts_composite = true
  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",
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]

  webui_context_type = "trusted"
  grd_prefix = "internet_detail_dialog"
}