Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2619)

Unified Diff: device/BUILD.gn

Issue 2066503002: Implement device::BatteryStatus support for UPower daemon 0.99.x (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement device::BatteryStatus support for UPower daemon 0.99.x (rebased) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | device/battery/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/BUILD.gn
diff --git a/device/BUILD.gn b/device/BUILD.gn
index d5c211d8293eee8f48367a90425c59a4b60ef8e1..53b38aa22f6c82bed5c45238f1336885e7456f10 100644
--- a/device/BUILD.gn
+++ b/device/BUILD.gn
@@ -14,7 +14,6 @@ if (is_mac) {
}
is_linux_without_udev = is_linux && !use_udev
-is_linux_without_dbus = is_linux && !use_dbus
test("device_unittests") {
sources = [
@@ -86,8 +85,9 @@ test("device_unittests") {
"//url",
]
- if (!is_linux_without_dbus && !is_chromeos) {
+ if (is_linux && !is_chromeos && use_dbus) {
sources += [ "battery/battery_status_manager_linux_unittest.cc" ]
+ deps += [ "//dbus:test_support" ]
}
# HID and Serial:
« no previous file with comments | « no previous file | device/battery/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698