# Copyright 2021 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/config/chromeos/ui_mode.gni")
import("../build_webui_tests.gni")
assert(!is_chromeos_ash && !is_android)
build_webui_tests("build") {
files = [
"app_chooser_test.ts",
"module_metrics_test.ts",
"navigation_mixin_test.ts",
"nux_ntp_background_test.ts",
"nux_set_as_default_test.ts",
"signin_view_test.ts",
"test_bookmark_proxy.ts",
"test_google_app_proxy.ts",
"test_landing_view_proxy.ts",
"test_metrics_proxy.ts",
"test_ntp_background_proxy.ts",
"test_nux_set_as_default_proxy.ts",
"test_signin_view_proxy.ts",
"test_welcome_browser_proxy.ts",
"welcome_app_test.ts",
]
ts_path_mappings =
[ "chrome://welcome/*|" +
rebase_path("$root_gen_dir/chrome/browser/resources/welcome/tsc/*",
target_gen_dir) ]
ts_definitions = [
"//tools/typescript/definitions/chrome_event.d.ts",
"//tools/typescript/definitions/bookmarks.d.ts",
]
ts_deps = [
"//chrome/browser/resources/welcome:build_ts",
"//third_party/lit/v3_0:build_ts",
"//ui/webui/resources/cr_elements:build_ts",
"//ui/webui/resources/js:build_ts",
]
}