summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-01-29 14:34:59 +1100
committerLeith Bade <leith@mapbox.com>2015-01-29 15:22:58 +1100
commit481bad53787913f3633a42d6e906c432430b7b8f (patch)
treedea24b0d51984e46def067813eb06a8015323c3d /android
parent4d4c534a69740873f554a9b6ef91cb7743eac4e4 (diff)
downloadqtlocation-mapboxgl-481bad53787913f3633a42d6e906c432430b7b8f.tar.gz
Strip android libs to reduce size
Diffstat (limited to 'android')
-rwxr-xr-xandroid/scripts/copy-files.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/scripts/copy-files.sh b/android/scripts/copy-files.sh
index d473e48ff7..26de6068e5 100755
--- a/android/scripts/copy-files.sh
+++ b/android/scripts/copy-files.sh
@@ -5,6 +5,7 @@ set -o pipefail
mkdir -p android/java/lib/src/main/jniLibs/${JNIDIR}
cp build/android/${MASON_ANDROID_ABI}/out/${BUILDTYPE}/lib.target/libmapbox-gl.so android/java/lib/src/main/jniLibs/${JNIDIR}/libmapbox-gl.so
+${STRIP} --strip-unneeded android/java/lib/src/main/jniLibs/${JNIDIR}/libmapbox-gl.so
mkdir -p android/java/lib/src/main/assets
cp build/android/${MASON_ANDROID_ABI}/out/${BUILDTYPE}/ca-bundle.crt android/java/lib/src/main/assets/ca-bundle.crt
cp -r build/android/${MASON_ANDROID_ABI}/out/${BUILDTYPE}/styles android/java/lib/src/main/assets/styles