diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-16 16:17:27 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-16 16:25:17 +0200 |
commit | 26b8cd2b3ef8fed72ba52e0b8f9b002f7cfd23c4 (patch) | |
tree | cf30b0a0b264678ed468572d2686492a510aee24 /android/Bootstrap | |
parent | 25dd02d8b9ad66e06fb2f6e9d38e27753af2817d (diff) |
Reduce dynamic symbols and strip all local ones from the Android single .so
Use a version script ("version map") that exports only the Java_* and
JNI_OnLoad symbols that the JNI machinery needs. No non-dynamic
symbols are needed (in the .so that goes into the .apk; the one kept
locally for debugging is not stripped).
Change-Id: Ie874e59c593ec9e5d08ba369612cef1a3ea85fe4
Diffstat (limited to 'android/Bootstrap')
-rw-r--r-- | android/Bootstrap/version.map | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android/Bootstrap/version.map b/android/Bootstrap/version.map new file mode 100644 index 000000000000..1b65003eeaaa --- /dev/null +++ b/android/Bootstrap/version.map @@ -0,0 +1,7 @@ +dummy { + global: + Java_*; + JNI_OnLoad; + local: + *; +}; |