| # 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") |
| |
| build_webui("build") { |
| grd_prefix = "search_engine_choice" |
| |
| static_files = [ |
| "images/arrow_downward.svg", |
| "images/info_dialog_illustration.svg", |
| "images/info_dialog_illustration_dark.svg", |
| "search_engine_choice.html", |
| ] |
| |
| ts_files = [ |
| "app.html.ts", |
| "app.ts", |
| "browser_proxy.ts", |
| ] |
| |
| css_files = [ "app.css" ] |
| |
| mojo_files_deps = [ "//chrome/browser/ui/webui/search_engine_choice:mojo_bindings_ts__generator" ] |
| mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/search_engine_choice/search_engine_choice.mojom-webui.ts" ] |
| |
| ts_deps = [ |
| "//chrome/browser/resources/signin:build_ts", |
| "//third_party/lit/v3_0:build_ts", |
| "//ui/webui/resources/cr_components/localized_link:build_ts", |
| "//ui/webui/resources/cr_elements:build_ts", |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| |
| ts_path_mappings = [ "/tangible_sync_style_shared.css.js|" + rebase_path( |
| "$root_gen_dir/chrome/browser/resources/signin/tsc/tangible_sync_style_shared.css.d.ts", |
| target_gen_dir) ] |
| |
| ts_definitions = [ "//tools/typescript/definitions/metrics_private.d.ts" ] |
| ts_composite = true |
| webui_context_type = "trusted" |
| } |