| # 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("//ui/webui/resources/tools/build_webui.gni") |
| |
| assert(!is_android) |
| |
| build_webui("build") { |
| grd_prefix = "lens_shared" |
| grd_resource_path_prefix = "lens/shared" |
| |
| static_files = [ "info.svg" ] |
| |
| web_component_files = [ "searchbox_ghost_loader.ts" ] |
| |
| non_web_component_files = [ "searchbox_ghost_loader_browser_proxy.ts" ] |
| |
| css_files = [ "searchbox_shared_style.css" ] |
| |
| ts_composite = true |
| ts_deps = [ |
| "//third_party/polymer/v3_0:library", |
| "//ui/webui/resources/cr_elements:build_ts", |
| "//ui/webui/resources/js:build_ts", |
| "//ui/webui/resources/mojo:build_ts", |
| ] |
| mojo_files_deps = |
| [ "//chrome/browser/lens/core/mojom:mojo_bindings_ts__generator" ] |
| |
| mojo_files = [ "$root_gen_dir/chrome/browser/lens/core/mojom/lens_ghost_loader.mojom-webui.ts" ] |
| webui_context_type = "relative" |
| } |