| # Copyright 2021 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 = "connectors_internals" |
| |
| static_files = [ "index.html" ] |
| |
| web_component_files = [ |
| "app.ts", |
| "connectors_tabs.ts", |
| "signals_reporting.ts", |
| "managed_client_certificate.ts", |
| ] |
| |
| if (!is_android) { |
| web_component_files += [ "device_trust_connector.ts" ] |
| } |
| |
| ts_files = [ |
| "browser_proxy.ts", |
| "connectors_utils.ts", |
| ] |
| |
| mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/connectors_internals/connectors_internals.mojom-webui.ts" ] |
| mojo_files_deps = [ "//chrome/browser/ui/webui/connectors_internals:mojo_bindings_ts__generator" ] |
| |
| ts_deps = [ |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| webui_context_type = "trusted" |
| } |