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

# Copyright 2022 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")

assert(!is_android)

build_webui("build") {
  grd_prefix = "profile_internals"
  static_files = [ "profile_internals.html" ]
  web_component_files = [ "profile_internals_app.ts" ]
  non_web_component_files = [ "profile_internals_browser_proxy.ts" ]

  css_files = [ "profile_internals_app.css" ]

  html_to_wrapper_template = "detect"

  ts_definitions = [ "//tools/typescript/definitions/chrome_send.d.ts" ]
  ts_deps = [
    "//third_party/lit/v3_0:build_ts",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
  webui_context_type = "trusted"
}