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

Unified Diff: mojo/mojo_public.gypi

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Updated by review comments. 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_public.gypi
diff --git a/mojo/mojo_public.gypi b/mojo/mojo_public.gypi
index 15eccb0c7e9bdc6f0164625a13a5a1392dcc40d4..c4fd26eaa9d6df348f956c234bfa016198faba0e 100644
--- a/mojo/mojo_public.gypi
+++ b/mojo/mojo_public.gypi
@@ -51,6 +51,16 @@
'public/gles2/gles2_private.h',
],
'conditions': [
+ ['OS=="android"', {
+ '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',
+ ],
+ }],
['OS=="mac"', {
'xcode_settings': {
# Make it a run-path dependent library.
@@ -80,6 +90,16 @@
'public/tests/test_support_private.h',
],
'conditions': [
+ ['OS=="android"', {
+ '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',
+ ],
+ }],
['OS=="mac"', {
'xcode_settings': {
# Make it a run-path dependent library.
« build/common.gypi ('K') | « build/jni_generator.gypi ('k') | mojo/mojo_services.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698