diff options
-rwxr-xr-x | build-native.sh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/build-native.sh b/build-native.sh index de76737a..06466925 100755 --- a/build-native.sh +++ b/build-native.sh @@ -1,12 +1,12 @@ -ndk-build APP_API=all -j 8
-if [ $? = 0 ]; then
- cd libs
- mkdir -p ../assets
- 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 +ndk-build APP_API=all -j 8 +if [ $? = 0 ]; then + cd libs + mkdir -p ../assets + 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 |