Index: mojo/mojo_public.gypi |
diff --git a/mojo/mojo_public.gypi b/mojo/mojo_public.gypi |
index 261170a9822d2bb461de9e11eb3423e132bbf66e..3d415b50d03bdddee25e7a2f77a5802ff60aa037 100644 |
--- a/mojo/mojo_public.gypi |
+++ b/mojo/mojo_public.gypi |
@@ -23,6 +23,16 @@ |
'public/system/core_private.h', |
], |
'conditions': [ |
+ ['OS=="android"', { |
+ 'ldflags!': [ |
+ # Remove default export list because this lib has different exports. |
+ '-Wl,--version-script="../../build/android/android_exports.lst"', |
+ ], |
+ 'ldflags': [ |
+ # Don't export symbols from statically linked libraries. |
+ '-Wl,--exclude-libs=ALL', |
+ ], |
+ }], |
['OS=="mac"', { |
'xcode_settings': { |
# Make it a run-path dependent library. |
@@ -65,6 +75,16 @@ |
'public/gles2/gles2_private.h', |
], |
'conditions': [ |
+ ['OS=="android"', { |
+ 'ldflags!': [ |
+ # Remove default export list because this lib has different exports. |
+ '-Wl,--version-script="../../build/android/android_exports.lst"', |
+ ], |
+ 'ldflags': [ |
+ # Don't export symbols from statically linked libraries. |
+ '-Wl,--exclude-libs=ALL', |
+ ], |
+ }], |
['OS=="mac"', { |
'xcode_settings': { |
# Make it a run-path dependent library. |
@@ -100,6 +120,16 @@ |
'public/tests/test_support_private.h', |
], |
'conditions': [ |
+ ['OS=="android"', { |
+ 'ldflags!': [ |
+ # Remove default export list because this lib has different exports. |
+ '-Wl,--version-script="../../build/android/android_exports.lst"', |
+ ], |
+ 'ldflags': [ |
+ # Don't export symbols from statically linked libraries. |
+ '-Wl,--exclude-libs=ALL', |
+ ], |
+ }], |
['OS=="mac"', { |
'xcode_settings': { |
# Make it a run-path dependent library. |