forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
70 lines (65 loc) · 1.79 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright 2014 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("//build/config/ui.gni")
import("//testing/test.gni")
component("chromeos") {
output_name = "ui_chromeos"
sources = [
"devicetype_utils.cc",
"devicetype_utils.h",
]
defines = [ "UI_CHROMEOS_IMPLEMENTATION" ]
deps = [
"//base",
"//build:chromeos_buildflags",
"//chromeos/constants",
"//services/device/public/mojom",
"//ui/base",
"//ui/chromeos/strings",
]
if (is_chromeos_ash) {
sources += [
"shill_error.cc",
"shill_error.h",
"user_activity_power_manager_notifier.cc",
"user_activity_power_manager_notifier.h",
]
deps += [
"//ash/constants",
"//base/third_party/dynamic_annotations",
"//chromeos/ash/components/network",
"//chromeos/dbus/power",
"//chromeos/dbus/power:power_manager_proto",
"//components/device_event_log",
"//mojo/public/cpp/bindings",
"//services/device/public/mojom",
"//services/service_manager/public/cpp",
"//ui/events",
"//ui/events:gesture_detection",
"//ui/events/devices:devices",
]
}
}
test("ui_chromeos_unittests") {
use_xvfb = use_xvfb_in_this_config
sources = [ "run_all_unittests.cc" ]
deps = [
":chromeos",
"//base/test:test_support",
"//build:chromeos_buildflags",
"//mojo/core/embedder",
"//skia",
"//testing/gtest",
"//ui/aura:test_support",
"//ui/compositor",
"//ui/events:test_support",
"//ui/gl:test_support",
"//ui/message_center",
"//ui/views",
"//ui/views:test_support",
]
data = [ "$root_out_dir/locales/en-US.pak" ]
data_deps = [ "//ui/resources:ui_test_pak_data" ]
}