chromium/chrome/test/data/webui/media_router/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/config/chrome_build.gni")
import("../build_webui_tests.gni")

assert(!is_android)
assert(is_chrome_branded)

build_webui_tests("build") {
  files = [ "cast_feedback_ui_test.ts" ]

  ts_path_mappings = [ "chrome://cast-feedback/*|" + rebase_path(
                           "$root_gen_dir/chrome/browser/resources/media_router/cast_feedback/tsc/*",
                           target_gen_dir) ]
  ts_definitions = [ "//tools/typescript/definitions/feedback_private.d.ts" ]
  ts_deps = [
    "//chrome/browser/resources/media_router/cast_feedback:build_ts",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}