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