chromium/chrome/test/data/webui/tab_strip/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("//ui/webui/webui_features.gni")
import("../build_webui_tests.gni")

assert(enable_webui_tab_strip)

build_webui_tests("build") {
  files = [
    "alert_indicators_test.ts",
    "alert_indicator_test.ts",
    "drag_manager_test.ts",
    "tab_group_test.ts",
    "tab_list_test.ts",
    "tab_swiper_test.ts",
    "tab_test.ts",
    "test_tabs_api_proxy.ts",
  ]

  ts_path_mappings =
      [ "chrome://tab-strip.top-chrome/*|" +
        rebase_path("$root_gen_dir/chrome/browser/resources/tab_strip/tsc/*",
                    target_gen_dir) ]
  ts_definitions = [
    "//tools/typescript/definitions/chrome_event.d.ts",
    "//tools/typescript/definitions/tabs.d.ts",
  ]
  ts_deps = [
    "//chrome/browser/resources/tab_strip:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}