# Copyright 2020 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_webui_tests") {
ts_path_mappings = [
"chrome://diagnostics/*|" +
rebase_path("$root_gen_dir/ash/webui/diagnostics_ui/resources/tsc/*",
target_gen_dir),
"chrome://webui-test/chromeos/*|" +
rebase_path("$root_gen_dir/chrome/test/data/webui/chromeos/tsc/*",
target_gen_dir),
]
files = [
"battery_status_card_test.ts",
"cellular_info_test.ts",
"connectivity_card_test.ts",
"cpu_card_test.ts",
"data_point_test.ts",
"diagnostics_app_input_hiding_test.ts",
"diagnostics_app_test.ts",
"diagnostics_network_icon_test.ts",
"diagnostics_sticky_banner_test.ts",
"diagnostics_test_utils.ts",
"diagnostics_utils_test.ts",
"drawing_provider_test.ts",
"drawing_provider_utils_test.ts",
"ethernet_info_test.ts",
"fake_network_health_provider_test.ts",
"fake_system_data_provider_test.ts",
"fake_system_routine_controller_test.ts",
"frequency_channel_utils_test.ts",
"input_card_test.ts",
"input_list_test.ts",
"ip_config_info_drawer_test.ts",
"keyboard_tester_test.ts",
"memory_card_test.ts",
"mojo_interface_provider_test.ts",
"network_card_test.ts",
"network_info_test.ts",
"network_list_test.ts",
"network_troubleshooting_test.ts",
"overview_card_test.ts",
"percent_bar_chart_test.ts",
"realtime_cpu_chart_test.ts",
"routine_group_test.ts",
"routine_list_executor_test.ts",
"routine_result_entry_test.ts",
"routine_result_list_test.ts",
"routine_section_test.ts",
"system_page_test.ts",
"test_diagnostics_browser_proxy.ts",
"text_badge_test.ts",
"touchpad_tester_test.ts",
"touchscreen_tester_test.ts",
"wifi_info_test.ts",
]
ts_deps = [
"//ash/webui/common/resources:build_ts",
"//ash/webui/common/resources/cr_elements:build_ts",
"//ash/webui/diagnostics_ui/resources:build_ts",
"//chrome/test/data/webui/chromeos:build_ts",
"//third_party/polymer/v3_0:library",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
}