| # 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") |
| |
| assert(is_chromeos, "Annotator is ChromeOS only") |
| |
| build_webui("build") { |
| static_files = [ "annotator.html" ] |
| non_web_component_files = [ |
| "annotator_browser_proxy.js", |
| "untrusted_annotator_comm_factory.js", |
| ] |
| mojo_files = [ |
| "$root_gen_dir/ash/webui/annotator/mojom/untrusted_annotator.mojom-webui.ts", |
| "$root_gen_dir/ash/webui/annotator/public/mojom/annotator_structs.mojom-webui.ts", |
| ] |
| mojo_files_deps = [ |
| "//ash/webui/annotator/mojom:annotator_mojo_bindings_ts__generator", |
| "//ash/webui/annotator/public/mojom:annotator_mojo_bindings_ts__generator", |
| ] |
| |
| ts_deps = [ "//ui/webui/resources/mojo:build_ts" ] |
| |
| webui_context_type = "untrusted" |
| grd_prefix = "ash_annotator_untrusted" |
| grit_output_dir = "$root_gen_dir/ash/webui" |
| } |