blob: 72ecd1cb5eb9e5a0008de563ca99e4c177827017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|