| # 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") |
| |
| assert(!is_android) |
| |
| build_webui("build") { |
| grd_prefix = "about_sys" |
| static_files = [ "about_sys.html" ] |
| web_component_files = [ "app.ts" ] |
| css_files = [ "app.css" ] |
| |
| ts_files = [ "browser_proxy.ts" ] |
| |
| ts_composite = true |
| ts_definitions = [ "//tools/typescript/definitions/chrome_send.d.ts" ] |
| ts_deps = [ |
| "//chrome/browser/resources/key_value_pair_viewer_shared:build_ts", |
| "//third_party/lit/v3_0:build_ts", |
| "//ui/webui/resources/js:build_ts", |
| ] |
| ts_path_mappings = [ "/shared/key_value_pair_viewer/*|" + rebase_path( |
| "$root_gen_dir/chrome/browser/resources/key_value_pair_viewer_shared/tsc/*", |
| target_gen_dir) ] |
| webui_context_type = "trusted" |
| } |