blob: 7d6400a89fc111766cd2aa7403e0aea2ebe72530 [file] [log] [blame]
# Copyright 2022 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)
assert(!is_chromeos)
build_webui("build") {
grd_prefix = "app_home"
static_files = [ "app_home.html" ]
web_component_files = [
"app_list.ts",
"app_item.ts",
"deprecated_apps_link.ts",
"app_home_empty_page.ts",
]
non_web_component_files = [
"browser_proxy.ts",
"app_home_utils.ts",
]
mojo_files_deps = [
"//chrome/browser/ui/webui/app_home:mojo_bindings_ts__generator",
"//chrome/browser/web_applications/mojom:mojom_web_apps_enum_ts__generator",
]
mojo_files = [
"$root_gen_dir/chrome/browser/web_applications/mojom/user_display_mode.mojom-webui.ts",
"$root_gen_dir/chrome/browser/ui/webui/app_home/app_home.mojom-webui.ts",
]
ts_composite = true
ts_deps = [
"//third_party/polymer/v3_0:library",
"//ui/webui/resources/cr_elements:build_ts",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
ts_definitions = [ "//tools/typescript/definitions/metrics_private.d.ts" ]
}