summaryrefslogtreecommitdiff
path: root/app/misc/build-native.bat
blob: 73a19a0052e944fa98fd2f3d69d12846d92a7af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

@echo on
echo Currently broken, feel free to fix and send me a patch, see .sh file
exit 1

call ndk-build APP_API=all -j 8


cd libs
mkdir ..\assets
mkdir ..\build\

for /D %%f in (*) do (
	copy %%f\minivpn ..\assets\minivpn.%%f
	del %%f\libcrypto.so
	del %%f\libssl.so

	mkdir ..\build\native-libs\%%f\
	copy %%f\*.so  ..\build\native-libs\%%f\
)

cd ..