diff options
Diffstat (limited to 'build-native.sh')
-rwxr-xr-x | build-native.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build-native.sh b/build-native.sh new file mode 100755 index 0000000..af9fcf5 --- /dev/null +++ b/build-native.sh @@ -0,0 +1,11 @@ +ndk-build APP_API=all -j 8 +if [ $? = 0 ]; then + cd libs + for i in * + do + cp -v $i/minivpn ../assets/minivpn.$i + done + # Removed compiled openssl libs, will use platform so libs + # Reduces size of apk + rm -v */libcrypto.so */libssl.so +fi
\ No newline at end of file |