| # Copyright 2024 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 = "data_sharing_internals" |
| static_files = [ "data_sharing_internals.html" ] |
| non_web_component_files = [ |
| "data_sharing_internals.ts", |
| "data_sharing_internals_browser_proxy.ts", |
| ] |
| mojo_files_deps = [ |
| "//chrome/browser/ui/webui/data_sharing_internals:mojo_bindings_ts__generator", |
| "//components/data_sharing/public/protocol:mojo_bindings_ts__generator", |
| ] |
| mojo_files = [ |
| "$root_gen_dir/chrome/browser/ui/webui/data_sharing_internals/data_sharing_internals.mojom-webui.ts", |
| "$root_gen_dir/components/data_sharing/public/protocol/group_data.mojom-webui.ts", |
| ] |
| ts_deps = [ |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| webui_context_type = "trusted" |
| } |