Index: third_party/WebKit/Source/platform/blink_platform_tests.gyp |
diff --git a/third_party/WebKit/Source/platform/blink_platform_tests.gyp b/third_party/WebKit/Source/platform/blink_platform_tests.gyp |
index 9bb1a8405fb970f8527bfee4a0f66cbaaa4e9b68..62e3bdcd7d1338cee021420260c917d192bfcecb 100644 |
--- a/third_party/WebKit/Source/platform/blink_platform_tests.gyp |
+++ b/third_party/WebKit/Source/platform/blink_platform_tests.gyp |
@@ -126,6 +126,11 @@ |
'../config.gyp:config', |
'../wtf/wtf.gyp:wtf', |
'blink_platform.gyp:blink_platform', |
+ '<(DEPTH)/device/battery/battery.gyp:device_battery_mojo_bindings', |
+ '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
+ '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_common_test_support', |
+ '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_system_impl', |
+ '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
], |
'defines': [ |
'INSIDE_BLINK', |
@@ -138,6 +143,17 @@ |
], |
# Disable c4267 warnings until we fix size_t to int truncations. |
'msvs_disabled_warnings': [ 4267 ], |
+ 'conditions': [ |
+ ['OS == "android"', { |
+ 'dependencies': [ |
+ '<(DEPTH)/device/battery/battery.gyp:device_battery_java', |
+ ], |
+ }, { # OS != "android" |
+ 'dependencies': [ |
+ '<(DEPTH)/device/battery/battery.gyp:device_battery', |
+ ], |
+ }], |
+ ], |
}, |
], |
'conditions': [ |