summaryrefslogtreecommitdiff
path: root/app/misc/build-native.bat
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-06-16 14:13:06 +0200
committerParménides GV <parmegv@sdf.org>2014-06-16 14:13:06 +0200
commit2a711c010c721cfa477da6bb6dfed3f508359ad5 (patch)
tree5b1bb1889d7d55bfef4504faa777b3e5fc95e02d /app/misc/build-native.bat
parentd09435a9d2adb0d0cafa0b1f9f6cfe326346cbc6 (diff)
Succesfully updated.
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 ..