chromium/chrome/test/data/webui/feedback/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")

assert(!is_android)

build_webui_tests("build") {
  files = [
    "autofill_metadata_test.ts",
    "feedback_test.ts",
    "system_info_test.ts",
    "test_feedback_browser_proxy.ts",
  ]

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

  ts_definitions = [ "//tools/typescript/definitions/feedback_private.d.ts" ]
  ts_deps = [
    "//chrome/browser/resources/feedback:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}