summaryrefslogtreecommitdiff
path: root/build-native.sh
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-05-29 22:05:39 +0200
committerArne Schwabe <arne@rfc2549.org>2013-05-29 22:05:39 +0200
commitf7bcff4ce6e3b74d2286501f946dc37dccdfa96b (patch)
tree99033c17bc10ae8013cf4e5fb1eec629b7e6f06b /build-native.sh
parent0ccf804fb65842f36078832ca0cff6dd2d7be9f7 (diff)
Move build files to misc directory
--HG-- rename : build-native.bat => misc/build-native.bat rename : build-native.sh => misc/build-native.sh rename : fetchtranslations.sh => misc/fetchtranslations.sh
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