chromium/chrome/test/data/webui/flags/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") {
  files = [
    "app_test.ts",
    "deprecated_test.ts",
    "experiment_test.ts",
    "test_flags_browser_proxy.ts",
    "url_test.ts",
  ]

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

  ts_deps = [
    "//components/flags_ui/resources:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}