# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../build_webui_tests.gni")
assert(!is_android && !is_ios)
build_webui_tests("build") {
files = [
"color_change_listener_test.ts",
"customize_color_scheme_mode_test.ts",
"localized_link_test.ts",
"managed_dialog_test.ts",
"most_visited_focus_test.ts",
"most_visited_test.ts",
"most_visited_test_support.ts",
"managed_footnote_test.ts",
]
ts_definitions = [
"//tools/typescript/definitions/chrome_event.d.ts",
"//tools/typescript/definitions/settings_private.d.ts",
]
ts_deps = [
"//chrome/browser/resources/new_tab_page:build_ts",
"//third_party/lit/v3_0:build_ts",
"//third_party/polymer/v3_0:library",
"//ui/webui/resources/cr_components/app_management:build_ts",
"//ui/webui/resources/cr_components/color_change_listener:build_ts",
"//ui/webui/resources/cr_components/customize_color_scheme_mode:build_ts",
"//ui/webui/resources/cr_components/localized_link:build_ts",
"//ui/webui/resources/cr_components/managed_dialog:build_ts",
"//ui/webui/resources/cr_components/managed_footnote:build_ts",
"//ui/webui/resources/cr_components/most_visited:build_ts",
"//ui/webui/resources/cr_elements:build_ts",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
ts_path_mappings =
[ "chrome://new-tab-page/*|" +
rebase_path("$root_gen_dir/chrome/browser/resources/new_tab_page/tsc/*",
target_gen_dir) ]
}