2013-11-10 12:15:29 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := libcurve25519-donna
|
|
|
|
LOCAL_SRC_FILES := curve25519-donna.c
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2014-06-24 19:59:22 +00:00
|
|
|
LOCAL_MODULE := libcurve25519-ref10
|
2014-09-13 17:31:34 +00:00
|
|
|
LOCAL_SRC_FILES := $(wildcard ed25519/*.c) $(wildcard ed25519/additions/*.c) $(wildcard ed25519/nacl_sha512/*.c)
|
2014-06-24 19:59:22 +00:00
|
|
|
LOCAL_C_INCLUDES := ed25519/nacl_includes ed25519/additions ed25519/sha512 ed25519
|
2013-11-10 12:15:29 +00:00
|
|
|
|
2014-06-24 19:59:22 +00:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := libcurve25519
|
|
|
|
LOCAL_SRC_FILES := curve25519-jni.c
|
|
|
|
LOCAL_C_INCLUDES := ed25519/additions
|
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := libcurve25519-donna libcurve25519-ref10
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2013-11-10 12:15:29 +00:00
|
|
|
|