Chromium Code Reviews

Unified Diff: tools/android/memconsumer/memconsumer.gyp

Issue 843103003: android: Hide JNI exports by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use a blacklist instead of a whitelist Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
],
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine