1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ash / webui / connectivity_diagnostics / resources / BUILD.gn [blame]
# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
import("//ui/webui/resources/tools/build_webui.gni")
assert(is_chromeos_ash, "Non-ChromeOS builds cannot depend on //ash")
build_webui("build") {
static_files = [
"app_icon_192.png",
"app_icon_256.png",
"index.html",
]
web_component_files = [ "connectivity_diagnostics.ts" ]
ts_definitions = [ "//tools/typescript/definitions/chrome_send.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/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
webui_context_type = "trusted"
grd_prefix = "connectivity_diagnostics"
grit_output_dir = "$root_gen_dir/ash/webui"
}