chromium/chrome/test/data/webui/metrics_internals/BUILD.gn

# Copyright 2022 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 = [
    "no_logs_test.ts",
    "with_log_test.ts",
    "utils.ts",
    "field_trials_test.ts",
  ]

  ts_path_mappings =
      [ "chrome://metrics-internals/*|" +
        rebase_path("$root_gen_dir/components/metrics/debug/tsc/*",
                    target_gen_dir) ]
  ts_deps = [
    "//components/metrics/debug:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}