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

Unified Diff: device/device_tests.gyp

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: fixup! Implement device::BatteryStatus support for UPower daemon 0.99.x Created 4 years, 6 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
Index: device/device_tests.gyp
diff --git a/device/device_tests.gyp b/device/device_tests.gyp
index 92c57f7fe07138285cf93cdb3c54469bdf6278cd..b21aee475b36c114cbda123625767d701ba60a9a 100644
--- a/device/device_tests.gyp
+++ b/device/device_tests.gyp
@@ -186,7 +186,11 @@
['exclude', '^hid/'],
],
}],
- ['use_dbus==0', {
+ ['OS=="linux" and use_dbus==1', {
+ 'dependencies': [
+ '../dbus/dbus.gyp:dbus_test_support',
+ ],
+ }, { # OS != "linux" or use_dbus==0
'sources!': [
'battery/battery_status_manager_linux_unittest.cc',
],

Powered by Google App Engine
This is Rietveld 408576698