chromium/components/history_clusters/history_clusters_internals/resources/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("//ui/webui/resources/tools/build_webui.gni")

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

  static_files = [ "history_clusters_internals.html" ]

  non_web_component_files = [
    "history_clusters_internals.ts",
    "history_clusters_internals_browser_proxy.ts",
  ]

  mojo_files_deps = [ "//components/history_clusters/history_clusters_internals/webui:mojo_bindings_ts__generator" ]
  mojo_files = [ "$root_gen_dir/components/history_clusters/history_clusters_internals/webui/history_clusters_internals.mojom-webui.ts" ]

  ts_deps = [
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]

  webui_context_type = "trusted"
  grit_output_dir = "$root_gen_dir/components"
}