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', |
], |