1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38

content / browser / resources / private_aggregation / BUILD.gn [blame]

# 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("//ui/webui/resources/tools/build_webui.gni")

build_webui("build") {
  grd_prefix = "private_aggregation_internals"

  static_files = [
    "private_aggregation_internals.html",
    "private_aggregation_internals.css",
  ]

  non_web_component_files = [
    "private_aggregation_internals.ts",
    "table_model.ts",
  ]

  web_component_files = [ "private_aggregation_internals_table.ts" ]

  ts_deps = [
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]

  webui_context_type = "trusted"

  private_aggregation_content_folder = "content/browser/private_aggregation"

  mojo_files = [ "$root_gen_dir/$private_aggregation_content_folder/private_aggregation_internals.mojom-webui.ts" ]

  mojo_files_deps =
      [ "//$private_aggregation_content_folder:mojo_bindings_ts__generator" ]

  grit_output_dir = "$root_gen_dir/content"
  html_to_wrapper_template = "native"
}