summaryrefslogtreecommitdiff
path: root/build-native.sh
blob: af9fcf5725d0e5683aadc798ddb29bb2323f1f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
ndk-build APP_API=all -j 8
if [ $? = 0 ]; then
	cd libs
	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