chromium/chrome/test/data/webui/privacy_sandbox/internals/BUILD.gn

# Copyright 2024 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 = [
    "privacy_sandbox_internals_test.ts",
    "content_settings_test.ts",
  ]
  ts_path_mappings = [ "chrome://privacy-sandbox-internals/*|" + rebase_path(
                           "$root_gen_dir/chrome/browser/resources/privacy_sandbox/internals/tsc/*",
                           target_gen_dir) ]
  mojo_files_deps = [
    "//chrome/browser/ui/webui/privacy_sandbox:mojo_bindings_ts__generator",
    "//components/content_settings/core/common:content_settings_enums_ts__generator",
    "//components/content_settings/core/common:content_settings_types_ts__generator",
    "//components/content_settings/core/common:mojo_bindings_ts__generator",
  ]
  mojo_files = [
    "$root_gen_dir/components/content_settings/core/common/content_settings.mojom-webui.ts",
    "$root_gen_dir/components/content_settings/core/common/content_settings_enums.mojom-webui.ts",
    "$root_gen_dir/components/content_settings/core/common/content_settings_types.mojom-webui.ts",
    "$root_gen_dir/chrome/browser/ui/webui/privacy_sandbox/privacy_sandbox_internals.mojom-webui.ts",
  ]
  ts_deps = [
    "//chrome/browser/resources/privacy_sandbox/internals:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]
}