summaryrefslogtreecommitdiff
path: root/bitmask_android/jni/Android.mk
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-04-08 12:04:17 +0200
committerParménides GV <parmegv@sdf.org>2014-04-08 12:04:17 +0200
commit3c3421afd8f74a3aa8d1011de07a8c18f9549210 (patch)
tree49d52344661c23d7268b8ea69466a1cfef04bf8b /bitmask_android/jni/Android.mk
parent5fc5d37330d3535a0f421632694d1e7918fc22d7 (diff)
Rename app->bitmask_android
This way, gradle commands generate apks correctly named.
Diffstat (limited to 'bitmask_android/jni/Android.mk')
-rw-r--r--bitmask_android/jni/Android.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/bitmask_android/jni/Android.mk b/bitmask_android/jni/Android.mk
new file mode 100644
index 00000000..3514b920
--- /dev/null
+++ b/bitmask_android/jni/Android.mk
@@ -0,0 +1,29 @@
+# Path of the sources
+JNI_DIR := $(call my-dir)
+
+include lzo/Android.mk
+
+include openssl/Android.mk
+
+include openvpn/Android.mk
+
+
+LOCAL_PATH := $(JNI_DIR)
+
+# The only real JNI library
+include $(CLEAR_VARS)
+LOCAL_LDLIBS := -llog -lz
+LOCAL_C_INCLUDES := openssl/include openssl/crypto openssl
+LOCAL_SRC_FILES:= jniglue.c jbcrypto.cpp
+LOCAL_MODULE = opvpnutil
+LOCAL_SHARED_LIBRARIES := libcrypto
+include $(BUILD_SHARED_LIBRARY)
+
+
+include $(CLEAR_VARS)
+LOCAL_LDLIBS := -lz -lc
+LOCAL_SHARED_LIBRARIES := libssl libcrypto openvpn
+LOCAL_SRC_FILES:= minivpn.c
+LOCAL_MODULE = minivpn
+include $(BUILD_EXECUTABLE)
+