mirror of
https://github.com/schwabe/ics-openvpn.git
synced 2024-09-20 03:52:27 +02:00
f7bcff4ce6
--HG-- rename : build-native.bat => misc/build-native.bat rename : build-native.sh => misc/build-native.sh rename : fetchtranslations.sh => misc/fetchtranslations.sh
22 lines
420 B
Bash
Executable File
22 lines
420 B
Bash
Executable File
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
|