chromium/chrome/test/data/webui/cr_elements/BUILD.gn

# Copyright 2019 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/config/chromeos/ui_mode.gni")
import("../build_webui_tests.gni")

assert(!is_android && !is_ios)

build_webui_tests("build") {
  files = [
    "cr_a11y_announcer_test.ts",
    "cr_action_menu_test.ts",
    "cr_auto_img_test.ts",
    "cr_button_test.ts",
    "cr_card_radio_button_test.ts",
    "cr_checkbox_test.ts",
    "cr_chip_test.ts",
    "cr_collapse_test.ts",
    "cr_container_shadow_mixin_test.ts",
    "cr_container_shadow_mixin_lit_test.ts",
    "cr_dialog_test.ts",
    "cr_drawer_test.ts",
    "cr_expand_button_test.ts",
    "cr_feedback_buttons_test.ts",
    "cr_focus_row_mixin_test.ts",
    "cr_grid_focus_test.ts",
    "cr_icon_button_test.ts",
    "cr_icon_instrumented.ts",
    "cr_icon_test.ts",
    "cr_iconset_test.ts",
    "cr_input_test.ts",
    "cr_lazy_list_test.ts",
    "cr_lazy_render_test.ts",
    "cr_lazy_render_lit_test.ts",
    "cr_link_row_test.ts",
    "cr_lit_element_test.ts",
    "cr_loading_gradient_test.ts",
    "cr_lottie_test.ts",
    "cr_menu_selector_focus_test.ts",
    "cr_page_selector_test.ts",
    "cr_policy_indicator_test.ts",
    "cr_policy_strings.ts",
    "cr_profile_avatar_selector_test.ts",
    "cr_progress_test.ts",
    "cr_radio_button_test.ts",
    "cr_radio_group_test.ts",
    "cr_ripple_mixin_test.ts",
    "cr_ripple_test.ts",
    "cr_scroll_observer_mixin_test.ts",
    "cr_scroll_observer_mixin_lit_test.ts",
    "cr_search_field_test.ts",
    "cr_selectable_mixin_test.ts",
    "cr_slider_test.ts",
    "cr_splitter_test.ts",
    "cr_tabs_test.ts",
    "cr_textarea_focus_test.ts",
    "cr_toast_manager_test.ts",
    "cr_toast_test.ts",
    "cr_toggle_test.ts",
    "cr_toolbar_focus_test.ts",
    "cr_toolbar_search_field_test.ts",
    "cr_toolbar_test.ts",
    "cr_tooltip_test.ts",
    "cr_tree_test.ts",
    "cr_url_list_item_test.ts",
    "cr_view_manager_test.ts",
    "find_shortcut_mixin_test.ts",
    "focus_row_mixin_lit_test.ts",
    "i18n_mixin_test.ts",
    "i18n_mixin_lit_test.ts",
    "iconset_map_test.ts",
    "iron_list_focus_test.ts",
    "list_property_update_mixin_test.ts",
    "store_client_test.ts",
    "web_ui_listener_mixin_test.ts",
    "web_ui_listener_mixin_lit_test.ts",
  ]

  ts_composite = true
  ts_definitions = [
    "//tools/typescript/definitions/chrome_event.d.ts",
    "//tools/typescript/definitions/pending.d.ts",
    "//tools/typescript/definitions/settings_private.d.ts",
  ]
  ts_deps = [
    "//third_party/lit/v3_0:build_ts",
    "//third_party/polymer/v3_0:library",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}