| # Copyright 2023 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//chrome/common/features.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| assert(is_chromeos_ash, "Projector Annotator is ChromeOS only") |
| |
| cur_dir = rebase_path(".", "//") |
| |
| mojom("annotator_mojo_bindings") { |
| sources = [ "untrusted_annotator.mojom" ] |
| deps = [ "//ash/webui/projector_app/public/mojom:annotator_mojo_bindings" ] |
| webui_module_path = "/$cur_dir" |
| |
| # Projector app is still using JS + Closure Compiler. |
| generate_webui_js_bindings = true |
| } |
| |
| mojom("projector_mojo_bindings") { |
| sources = [ "untrusted_projector.mojom" ] |
| deps = [ |
| "//ash/webui/projector_app/public/mojom:projector_mojo_bindings", |
| "//mojo/public/mojom/base", |
| "//url/mojom:url_mojom_gurl", |
| ] |
| webui_module_path = "/$cur_dir" |
| |
| # Projector app is still using JS + Closure Compiler. |
| generate_webui_js_bindings = true |
| } |