chromium/chrome/browser/resources/dlp_internals/BUILD.gn

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

import("//ui/webui/resources/tools/build_webui.gni")

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

  static_files = [ "index.html" ]
  web_component_files = [ "dlp_internals_ui.ts" ]
  non_web_component_files = [ "dlp_utils.ts" ]
  mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/dlp_internals/dlp_internals.mojom-webui.ts" ]
  mojo_files_deps =
      [ "//chrome/browser/ui/webui/dlp_internals:mojo_bindings_ts__generator" ]

  ts_composite = true

  ts_deps = [
    "//third_party/polymer/v3_0:library",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]
  webui_context_type = "trusted"
}