Index: mojo/mojo_services.gypi |
diff --git a/mojo/mojo_services.gypi b/mojo/mojo_services.gypi |
index 62c7f8fdd4039d394848ddaa2e3ea08e1804ab88..7e440753a5d58ee2e68a49ee8c8fb86f6b42843d 100644 |
--- a/mojo/mojo_services.gypi |
+++ b/mojo/mojo_services.gypi |
@@ -179,6 +179,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', |
+ ], |
}], |
], |
}, |