# 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://personalization/*|" +
rebase_path(
"$root_gen_dir/ash/webui/personalization_app/resources/tsc/*",
target_gen_dir),
"chrome://webui-test/chromeos/*|" +
rebase_path("$root_gen_dir/chrome/test/data/webui/chromeos/tsc/*",
target_gen_dir),
"chrome://webui-test/chai.js|" +
rebase_path("//third_party/node/node_modules/@types/chai/index.d.ts",
target_gen_dir),
]
files = [
"ambient_preview_large_element_test.ts",
"ambient_preview_small_element_test.ts",
"ambient_subpage_element_test.ts",
"avatar_camera_element_test.ts",
"avatar_list_element_test.ts",
"dynamic_color_element_test.ts",
"google_photos_albums_element_test.ts",
"google_photos_collection_element_test.ts",
"google_photos_photos_by_album_id_element_test.ts",
"google_photos_photos_element_test.ts",
"google_photos_shared_album_dialog_element_test.ts",
"google_photos_zero_state_element_test.ts",
"keyboard_backlight_element_test.ts",
"local_images_element_test.ts",
"personalization_app_controller_test.ts",
"personalization_app_test.ts",
"personalization_app_test_utils.ts",
"personalization_breadcrumb_element_test.ts",
"personalization_main_element_test.ts",
"personalization_router_element_test.ts",
"personalization_theme_element_test.ts",
"personalization_toast_element_test.ts",
"sea_pen_controller_test.ts",
"sea_pen_error_element_test.ts",
"sea_pen_freeform_element_test.ts",
"sea_pen_images_element_test.ts",
"sea_pen_input_query_element_test.ts",
"sea_pen_recent_wallpapers_element_test.ts",
"sea_pen_router_element_test.ts",
"sea_pen_template_query_element_test.ts",
"sea_pen_templates_element_test.ts",
"sea_pen_toast_element_test.ts",
"test_ambient_interface_provider.ts",
"test_keyboard_backlight_interface_provider.ts",
"test_personalization_store.ts",
"test_sea_pen_interface_provider.ts",
"test_theme_interface_provider.ts",
"test_user_interface_provider.ts",
"test_wallpaper_interface_provider.ts",
"user_preview_element_test.ts",
"user_subpage_element_test.ts",
"wallpaper_collections_element_test.ts",
"wallpaper_fullscreen_element_test.ts",
"wallpaper_grid_item_element_test.ts",
"wallpaper_images_element_test.ts",
"wallpaper_observer_test.ts",
"ambient_observer_test.ts",
"wallpaper_preview_element_test.ts",
"wallpaper_selected_element_test.ts",
"wallpaper_subpage_element_test.ts",
"zone_customization_element_test.ts",
]
ts_deps = [
"//ash/webui/common/resources:build_ts",
"//ash/webui/common/resources/cr_elements:build_ts",
"//ash/webui/common/resources/sea_pen:build_ts",
"//ash/webui/personalization_app/resources:build_ts",
"//third_party/polymer/v3_0:library",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
}