forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
51 lines (45 loc) · 1.56 KB
/
BUILD.gn
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
44
45
46
47
48
49
50
51
# Copyright 2021 The Chromium Authors. All rights reserved.
# 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("//testing/test.gni")
assert(is_chromeos_ash, "Non-ChromeOS builds cannot depend on //ash")
# To add a unit test to this target, make a "unit_test" source_set in your
# component and add a reference here.
test("ash_webui_unittests") {
sources = [
"ash_webui_test_suite.cc",
"ash_webui_test_suite.h",
"run_all_unittests.cc",
]
deps = [
"//ash/webui/common/backend:unit_tests",
"//ash/webui/diagnostics_ui/backend:unit_tests",
"//ash/webui/scanning:unit_tests",
"//ash/webui/shimless_rma/backend:unit_tests",
"//ash/webui/shimless_rma/mojom:unit_tests",
"//ash/webui/shortcut_customization_ui/backend:unit_tests",
"//base",
"//base/test:test_support",
"//build:chromeos_buildflags",
"//mojo/core/embedder",
"//ui/base:base",
]
data_deps = [
"//chromeos/strings:chromeos_test_strings",
"//ui/resources:ui_test_pak_data",
]
}
# When adding new WebUI, add your closure_compile target here. Otherwise you
# won't get type checking.
group("closure_compile") {
testonly = true
deps = [
"//ash/webui/diagnostics_ui:closure_compile",
"//ash/webui/file_manager/resources:closure_compile",
"//ash/webui/os_feedback_ui:closure_compile",
"//ash/webui/scanning:closure_compile",
"//ash/webui/shimless_rma:closure_compile",
"//ash/webui/shortcut_customization_ui:closure_compile",
]
}