mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
28 lines
679 B
Makefile
28 lines
679 B
Makefile
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)
|
|
|
|
LOCAL_MODULE := libcurve25519-ref10
|
|
LOCAL_SRC_FILES := $(wildcard ed25519/*.c) $(wildcard ed25519/additions/*.c) ed25519/sha512/sha2big.c
|
|
LOCAL_C_INCLUDES := ed25519/nacl_includes ed25519/additions ed25519/sha512 ed25519
|
|
|
|
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)
|
|
|