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

# Copyright 2023 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_webui_tests") {
  ts_path_mappings = [
    "chrome://os-feedback/*|" +
        rebase_path("$root_gen_dir/ash/webui/os_feedback_ui/resources/tsc/*",
                    target_gen_dir),
    "chrome://webui-test/chromeos/*|" +
        rebase_path("$root_gen_dir/chrome/test/data/webui/chromeos/tsc/*",
                    target_gen_dir),
  ]

  files = [
    "confirmation_page_test.ts",
    "feedback_flow_test.ts",
    "help_content_test.ts",
    "file_attachment_test.ts",
    "search_page_test.ts",
    "share_data_page_test.ts",
  ]

  ts_definitions = [ "//tools/typescript/definitions/chrome_send.d.ts" ]

  ts_deps = [
    "//ash/webui/common/resources:build_ts",
    "//ash/webui/common/resources/cr_elements:build_ts",
    "//ash/webui/os_feedback_ui/resources:build_ts",
    "//chrome/test/data/webui/chromeos:build_ts",
    "//third_party/polymer/v3_0:library",
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]
}