# 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("//ui/webui/resources/tools/build_webui.gni")
assert(!is_android && !is_ios)
build_webui("build") {
grd_prefix = "cr_components_page_image_service"
non_web_component_files = [ "browser_proxy.ts" ]
mojo_files_deps =
[ "//components/page_image_service/mojom:mojo_bindings_ts__generator" ]
mojo_files = [ "$root_gen_dir/components/page_image_service/mojom/page_image_service.mojom-webui.ts" ]
ts_out_dir =
"$root_gen_dir/ui/webui/resources/tsc/cr_components/page_image_service"
ts_deps = [ "//ui/webui/resources/mojo:build_ts" ]
ts_composite = true
webui_context_type = "relative"
generate_grdp = true
grd_resource_path_prefix = rebase_path(".", "//ui/webui/resources")
}