# 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)
build_webui("build") {
grd_prefix = "side_panel_companion"
static_files = [
"companion.html",
"companion.css",
"generic-error-icon.png",
"generic-error-icon-dark.png",
]
non_web_component_files = [
"companion.ts",
"companion_proxy.ts",
]
mojo_files_deps =
[ "//chrome/browser/companion/core/mojom:mojo_bindings_ts__generator" ]
mojo_files = [ "$root_gen_dir/chrome/browser/companion/core/mojom/companion.mojom-webui.ts" ]
ts_deps = [
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
webui_context_type = "untrusted"
}