summaryrefslogtreecommitdiff
path: root/app/misc/build-native.bat
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-11-07 11:00:43 +0100
committerParménides GV <parmegv@sdf.org>2014-11-07 11:00:43 +0100
commit13d154326aaf34798c1232a42318fd71e9df9779 (patch)
tree4ad051ddb4e6faa11b5c67795e9285bb64d1648a /app/misc/build-native.bat
parent0009911f6b9320b3bea541f88fcdc30364d2a681 (diff)
parent6544b8d32ccf81a6c1d832217642b873be8dc6b7 (diff)
Merge branch 'develop' into release-0.8.0
Diffstat (limited to 'app/misc/build-native.bat')
-rw-r--r--app/misc/build-native.bat17
1 files changed, 10 insertions, 7 deletions
diff --git a/app/misc/build-native.bat b/app/misc/build-native.bat
index 73a19a00..9885557a 100644
--- a/app/misc/build-native.bat
+++ b/app/misc/build-native.bat
@@ -1,22 +1,25 @@
@echo on
-echo Currently broken, feel free to fix and send me a patch, see .sh file
+echo Currently broken, feel free to fix and send me a patch, see the build-native.sh file how native libraries are build on UNIX
exit 1
-call ndk-build APP_API=all -j 8
+call ndk-build APP_ABI=x86_64 -j 8 USE_BREAKPAD=0
cd libs
-mkdir ..\assets
-mkdir ..\build\
+mkdir ..\ovpnlibs
+mkdir ..\ovpnlibs\assets
for /D %%f in (*) do (
- copy %%f\minivpn ..\assets\minivpn.%%f
+ copy %%f\nopievpn ..\ovpnlibs\assets\nopievpn.%%f
+ copy %%f\pievpn ..\ovpnlibs\assets\pievpn.%%f
+
del %%f\libcrypto.so
del %%f\libssl.so
- mkdir ..\build\native-libs\%%f\
- copy %%f\*.so ..\build\native-libs\%%f\
+ mkdir ..\ovpnlibs\jniLibs
+ mkdir ..\ovpnlibs\jniLibs\%%f\
+ copy %%f\*.so ..\ovpnlibs\jniLibs\%%f\
)
cd ..