chromium/chrome/test/data/webui/chromeos/graduation/BUILD.gn

# Copyright 2024 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 = [ "graduation_ui_test.ts" ]

  ts_path_mappings = [ "chrome://graduation/*|" + rebase_path(
                           "$root_gen_dir/ash/webui/graduation/resources/tsc/*",
                           target_gen_dir) ]

  ts_deps = [
    "//ash/webui/common/resources:build_ts",
    "//ash/webui/graduation/resources:build_ts",
    "//third_party/polymer/v3_0:library",
    "//ui/webui/resources/js:build_ts",
  ]

  ts_definitions = [
    "//tools/typescript/definitions/context_menus.d.ts",
    "//tools/typescript/definitions/chrome_event.d.ts",
    "//tools/typescript/definitions/chrome_test.d.ts",
    "//tools/typescript/definitions/extension_types.d.ts",
    "//tools/typescript/definitions/tabs.d.ts",
    "//tools/typescript/definitions/web_request.d.ts",
    "//tools/typescript/definitions/webview_tag.d.ts",
  ]
}