Index: testing/android/native_test.gyp |
diff --git a/testing/android/native_test.gyp b/testing/android/native_test.gyp |
index 632d6871db72559bab0ef34bf9f86d5d523b51dd..7d0ebc8919301db1790613273229bd63af3150db 100644 |
--- a/testing/android/native_test.gyp |
+++ b/testing/android/native_test.gyp |
@@ -16,6 +16,13 @@ |
'native_test_launcher.cc', |
'native_test_launcher.h', |
], |
+ 'direct_dependent_settings': { |
+ 'ldflags!': [ |
+ # JNI_OnLoad is implemented in a .a and we need to |
+ # re-export in the .so. |
+ '-Wl,--exclude-libs=ALL', |
+ ], |
+ }, |
'dependencies': [ |
'../../base/base.gyp:base', |
'../../base/base.gyp:test_support_base', |