# Copyright 2019 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")
build_webui("build") {
grd_prefix = "add_supervision"
static_files = [ "add_supervision.html" ]
web_component_files = [
"add_supervision_app.ts",
"add_supervision_ui.ts",
]
non_web_component_files = [ "add_supervision_api_server.ts" ]
mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/ash/add_supervision/add_supervision.mojom-webui.ts" ]
mojo_files_deps = [
"//chrome/browser/ui/webui/ash/add_supervision:mojo_bindings_ts__generator",
]
ts_definitions = [
"//tools/typescript/definitions/webview_tag.d.ts",
"//tools/typescript/definitions/web_request.d.ts",
"//tools/typescript/definitions/chrome_event.d.ts",
"//tools/typescript/definitions/context_menus.d.ts",
"//tools/typescript/definitions/tabs.d.ts",
"//tools/typescript/definitions/extension_types.d.ts",
]
ts_deps = [
"//ash/webui/common/resources:build_ts",
"//ash/webui/common/resources/cr_elements:build_ts",
"//third_party/polymer/v3_0:library",
"//ui/webui/resources/mojo:build_ts",
]
webui_context_type = "trusted"
}