summaryrefslogtreecommitdiff
path: root/app/misc/build-native.bat
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-06-16 14:13:57 +0200
committerParménides GV <parmegv@sdf.org>2014-06-16 14:13:57 +0200
commit482c378c2ff3a37a76ed5788cf4eaef30a63d517 (patch)
tree868b4bca345e9710a2a3d665b475959b63c607c5 /app/misc/build-native.bat
parent69b10487fcd63dfe1e94fa97c9f3fd9b035646b4 (diff)
parente2793ff1ad97a373993fd8628a514c772d6d5434 (diff)
Merge branch 'develop'
Diffstat (limited to 'app/misc/build-native.bat')
-rw-r--r--app/misc/build-native.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/misc/build-native.bat b/app/misc/build-native.bat
new file mode 100644
index 00000000..73a19a00
--- /dev/null
+++ b/app/misc/build-native.bat
@@ -0,0 +1,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 ..