| # Copyright 2025 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//components/enterprise/buildflags/buildflags.gni") |
| import("//ui/webui/resources/tools/build_webui.gni") |
| |
| assert(enterprise_watermark) |
| |
| build_webui("build") { |
| grd_prefix = "watermark" |
| |
| static_files = [ "watermark.html" ] |
| |
| ts_files = [ |
| "app.ts", |
| "app.html.ts", |
| ] |
| css_files = [ "app.css" ] |
| |
| webui_context_type = "trusted" |
| |
| ts_deps = [ |
| "//third_party/lit/v3_0:build_ts", |
| "//ui/webui/resources/cr_elements:build_ts", |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| mojo_files_deps = |
| [ "//chrome/browser/ui/webui/watermark:mojo_bindings_ts__generator" ] |
| mojo_files = [ |
| "$root_gen_dir/chrome/browser/ui/webui/watermark/watermark.mojom-webui.ts", |
| ] |
| } |