chromium/chrome/test/data/webui/bookmarks/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 = [
    "actions_test.ts",
    "app_test.ts",
    "command_manager_test.ts",
    "dialog_focus_manager_test.ts",
    "dnd_manager_test.ts",
    "edit_dialog_test.ts",
    "extension_api_test.ts",
    "extension_api_test_edit_disabled.ts",
    "folder_node_focus_test.ts",
    "folder_node_test.ts",
    "item_test.ts",
    "list_focus_test.ts",
    "list_test.ts",
    "policy_test.ts",
    "reducers_test.ts",
    "router_test.ts",
    "store_test.ts",
    "test_bookmark_manager_api_proxy.ts",
    "test_bookmarks_api_proxy.ts",
    "test_browser_proxy.ts",
    "test_command_manager.ts",
    "test_store.ts",
    "test_timer_proxy.ts",
    "test_util.ts",
    "toolbar_test.ts",
    "util_test.ts",
  ]

  ts_path_mappings = [ "chrome://bookmarks/bookmarks.js|" + rebase_path(
                           "$root_gen_dir/chrome/browser/resources/bookmarks/tsc/bookmarks.d.ts",
                           target_gen_dir) ]
  ts_definitions = [
    "//tools/typescript/definitions/bookmarks.d.ts",
    "//tools/typescript/definitions/bookmark_manager_private.d.ts",
    "//tools/typescript/definitions/chrome_event.d.ts",
    "//tools/typescript/definitions/runtime.d.ts",
    "//tools/typescript/definitions/tabs.d.ts",
    "//tools/typescript/definitions/windows.d.ts",
  ]
  ts_deps = [
    "//chrome/browser/resources/bookmarks:build_ts",
    "//third_party/polymer/v3_0:library",
    "//ui/webui/resources/js:build_ts",
  ]
}