chromium/chrome/test/data/webui/side_panel/customize_chrome/BUILD.gn

# 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 = [
    "app_test.ts",
    "appearance_test.ts",
    "button_label_test.ts",
    "cards_test.ts",
    "categories_test.ts",
    "check_mark_wrapper_test.ts",
    "wallpaper_search/combobox_test.ts",
    "hover_button_test.ts",
    "shortcuts_test.ts",
    "test_support.ts",
    "themes_test.ts",
    "theme_snapshot_test.ts",
    "toolbar_test.ts",
    "wallpaper_search/wallpaper_search_test.ts",
  ]

  ts_path_mappings = [ "chrome://customize-chrome-side-panel.top-chrome/*|" + rebase_path(
                           "$root_gen_dir/chrome/browser/resources/side_panel/customize_chrome/tsc/*",
                           target_gen_dir) ]
  ts_definitions = [ "//tools/typescript/definitions/metrics_private.d.ts" ]
  ts_deps = [
    "//chrome/browser/resources/side_panel/customize_chrome:build_ts",
    "//ui/webui/resources/cr_components/help_bubble:build_ts",
    "//ui/webui/resources/cr_components/managed_dialog:build_ts",
    "//ui/webui/resources/cr_components/theme_color_picker:build_ts",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]
}