Index: tools/android/memconsumer/memconsumer.gyp |
diff --git a/tools/android/memconsumer/memconsumer.gyp b/tools/android/memconsumer/memconsumer.gyp |
index f721fc1798358232695a6e8277cd43f94a436dc0..b0e2517ce5023f7d7c57a4c9c405d1714a6a12e7 100644 |
--- a/tools/android/memconsumer/memconsumer.gyp |
+++ b/tools/android/memconsumer/memconsumer.gyp |
@@ -28,6 +28,11 @@ |
{ |
'target_name': 'libmemconsumer', |
'type': 'shared_library', |
+ 'variables': { |
+ # This library uses native JNI exports; tell gyp so that the required |
+ # symbols will be kept. |
+ 'use_native_jni_exports': 1, |
+ }, |
'sources': [ |
'memconsumer_hook.cc', |
], |