diff options
author | Parménides GV <parmegv@sdf.org> | 2014-04-09 17:07:48 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-04-09 17:15:17 +0200 |
commit | 51ff5a18f1f074e27e97d822745551a7e8fa068d (patch) | |
tree | 402e7dd42778a218635bb29a4c2dff93ea7f6525 /app/jni/Android.mk | |
parent | 910b0e1746ab3f63e63808b198ad51fec5b635e5 (diff) | |
parent | b5ba0abc1610dd4bf573ebcabc5e8f6ab0c9528f (diff) |
Merge branch 'feature/implement-gradle-build-system-#4676' into develop
Diffstat (limited to 'app/jni/Android.mk')
-rw-r--r-- | app/jni/Android.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/jni/Android.mk b/app/jni/Android.mk new file mode 100644 index 00000000..3514b920 --- /dev/null +++ b/app/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) + |