Index: mojo/mojo_public.gypi |
diff --git a/mojo/mojo_public.gypi b/mojo/mojo_public.gypi |
index 118e1f1d76faa5f7e56d30851d31360b7cc618c4..f61e5d0131823d195a24ac2113211e3bb1fbbf17 100644 |
--- a/mojo/mojo_public.gypi |
+++ b/mojo/mojo_public.gypi |
@@ -66,6 +66,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. |
@@ -95,6 +105,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. |