Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: mojo/mojo_services.gypi

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Don't use linker script for mojo_native_viewport_service library. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/mojo_services.gypi
diff --git a/mojo/mojo_services.gypi b/mojo/mojo_services.gypi
index 208f14bbca463333afdc61a1d222b05318c55cfe..360903338e67f03010e91ceb1ec0df2456eff260 100644
--- a/mojo/mojo_services.gypi
+++ b/mojo/mojo_services.gypi
@@ -97,6 +97,14 @@
'dependencies': [
'mojo_jni_headers',
],
+ 'ldflags!': [
+ # Remove default export list because this lib has different exports.
+ '-Wl,--version-script="<(android_linker_script)"',
+ ],
+ 'ldflags': [
+ # Don't export symbols from statically linked libraries.
+ '-Wl,--exclude-libs=ALL',
+ ],
}],
],
},
« base/android/jni_generator/testNativeExportsOption.golden ('K') | « mojo/mojo_public.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698