| # 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("//chrome/common/features.gni") |
| import("//ui/webui/resources/tools/build_webui.gni") |
| |
| assert(is_chromeos) |
| |
| build_webui("build") { |
| grd_prefix = "extended_updates" |
| |
| static_files = [ "extended_updates.html" ] |
| |
| web_component_files = [ |
| "app.ts", |
| "components/android_apps_list.ts", |
| ] |
| |
| ts_files = [ "extended_updates_browser_proxy.ts" ] |
| |
| mojo_files_deps = [ "//chrome/browser/ui/webui/ash/extended_updates:mojo_bindings_ts__generator" ] |
| mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/ash/extended_updates/extended_updates.mojom-webui.ts" ] |
| |
| ts_composite = true |
| ts_deps = [ |
| "//ash/webui/common/resources/cr_elements:build_ts", |
| "//chrome/browser/resources/chromeos/login:build_ts", |
| "//third_party/cros-components:cros_components_ts", |
| "//third_party/polymer/v3_0:library", |
| "//ui/webui/resources/cr_components/color_change_listener:build_ts", |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| ts_path_mappings = [ "/components/*|" + rebase_path( |
| "$root_gen_dir/chrome/browser/resources/chromeos/login/tsc/components/*", |
| target_gen_dir) ] |
| |
| icons_html_files = [ "icons.html" ] |
| |
| webui_context_type = "trusted" |
| } |