Index: Source/platform/blink_platform_tests.gyp |
diff --git a/Source/platform/blink_platform_tests.gyp b/Source/platform/blink_platform_tests.gyp |
index feab7a8c836a6e85b8a41d6a9886344f2ffc3845..ffad3968731befb40b52bef2cc235f3ae5b37f0d 100644 |
--- a/Source/platform/blink_platform_tests.gyp |
+++ b/Source/platform/blink_platform_tests.gyp |
@@ -61,6 +61,30 @@ |
'<(DEPTH)/base/allocator/allocator.gyp:allocator', |
] |
}], |
- ] |
+ ['OS=="android" and gtest_target_type == "shared_library"', { |
+ 'type': 'shared_library', |
+ 'dependencies': [ |
+ '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
+ '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forwarder2', |
+ ], |
+ }], |
+ ], |
}], |
+ 'conditions': [ |
+ ['OS=="android" and android_webview_build==0 and gtest_target_type == "shared_library"', { |
+ 'targets': [{ |
+ 'target_name': 'blink_platform_unittests_apk', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '<(DEPTH)/base/base.gyp:base_java', |
+ '<(DEPTH)/net/net.gyp:net_java', |
+ 'blink_platform_unittests', |
+ ], |
+ 'variables': { |
+ 'test_suite_name': 'blink_platform_unittests', |
+ }, |
+ 'includes': [ '../../../../build/apk_test.gypi' ], |
+ }], |
+ }], |
+ ], |
} |