# 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_webui_tests.gni")
build_webui_tests("build") {
files = [
"lazy_list_test.ts",
"selectable_lazy_list_test.ts",
"search_test.ts",
"auto_tab_groups_page_test.ts",
"declutter_page_test.ts",
"tab_organization_selector_test.ts",
"tab_search_app_test.ts",
"tab_search_item_test.ts",
"tab_search_media_tabs_test.ts",
"tab_search_page_focus_test.ts",
"tab_search_page_test.ts",
"tab_search_test_data.ts",
"tab_search_test_helper.ts",
"test_tab_search_api_proxy.ts",
"test_tab_search_sync_browser_proxy.ts",
]
ts_path_mappings = [
"chrome://tab-search.top-chrome/tab_search.js|" + rebase_path(
"$root_gen_dir/chrome/browser/resources/tab_search/tsc/tab_search.d.ts",
target_gen_dir),
"chrome://webui-test/metrics_reporter/*|" +
rebase_path(
"$root_gen_dir/chrome/test/data/webui/metrics_reporter/tsc/*",
target_gen_dir),
]
ts_deps = [
"//chrome/browser/resources/tab_search:build_ts",
"//third_party/lit/v3_0:build_ts",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
}