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
33
34
35
36
37
38
39
40
41
42
43
ash / webui / os_feedback_ui / BUILD.gn [blame]
# Copyright 2021 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/generate_grd.gni")
assert(is_chromeos_ash, "Non-ChromeOS builds cannot depend on //ash")
static_library("os_feedback_ui") {
sources = [
"os_feedback_ui.cc",
"os_feedback_ui.h",
"os_feedback_untrusted_ui.cc",
"os_feedback_untrusted_ui.h",
]
public_deps = [ ":url_constants" ]
deps = [
"//ash/constants:constants",
"//ash/webui/common:chrome_os_webui_config",
"//ash/webui/common:trusted_types_util",
"//ash/webui/os_feedback_ui/backend",
"//ash/webui/os_feedback_ui/mojom",
"//ash/webui/os_feedback_ui/resources:resources",
"//ash/webui/os_feedback_ui/untrusted_resources:resources",
"//chromeos/strings/",
"//content/public/browser",
"//ui/web_dialogs",
"//ui/webui",
"//ui/webui/resources",
]
}
# Url constants pulled out to enable depending on production url constants in
# browser tests.
source_set("url_constants") {
sources = [
"url_constants.cc",
"url_constants.h",
]
}