# 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_webui_tests") {
ts_path_mappings = [
"chrome://accessory-update/*|" +
rebase_path(
"$root_gen_dir/ash/webui/firmware_update_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 = [
"fake_update_controller_test.ts",
"fake_update_provider_test.ts",
"firmware_update_dialog_test.ts",
"firmware_update_test.ts",
"firmware_update_utils_test.ts",
"peripheral_updates_list_test.ts",
"update_card_test.ts",
]
ts_deps = [
"//ash/webui/common/resources:build_ts",
"//ash/webui/firmware_update_ui/resources:build_ts",
"//chrome/test/data/webui/chromeos:build_ts",
"//third_party/polymer/v3_0:library",
"//ash/webui/common/resources/cr_elements:build_ts",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
}