summaryrefslogtreecommitdiff
path: root/build-native.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-native.sh')
-rwxr-xr-xbuild-native.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/build-native.sh b/build-native.sh
deleted file mode 100755
index 72ecd1cb..00000000
--- a/build-native.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-ndk-build APP_API=all -j 8
-if [ $? = 0 ]; then
- rm -rf build/native-libs/
-
- 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
-
- for arch in *
- do
- builddir=../build/native-libs/$arch
- mkdir -p $builddir
- cp -v $arch/*.so $builddir
- done
-fi