# 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://scanning/*|" +
rebase_path("$root_gen_dir/ash/webui/scanning/resources/tsc/*",
target_gen_dir),
"chrome://webui-test/chromeos/*|" +
rebase_path("$root_gen_dir/chrome/test/data/webui/chromeos/tsc/*",
target_gen_dir),
]
files = [
"action_toolbar_test.ts",
"color_mode_select_test.ts",
"file_type_select_test.ts",
"loading_page_test.ts",
"multi_page_checkbox_test.ts",
"multi_page_scan_test.ts",
"page_size_select_test.ts",
"resolution_select_test.ts",
"scan_done_section_test.ts",
"scanner_select_test.ts",
"scanning_app_test.ts",
"scanning_app_test_utils.ts",
"scan_preview_test.ts",
"scan_to_select_test.ts",
"source_select_test.ts",
"test_scanning_browser_proxy.ts",
]
ts_deps = [
"//ash/webui/common/resources:build_ts",
"//ash/webui/common/resources/cr_elements:build_ts",
"//ash/webui/scanning/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",
]
}