mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Modified to build libdnalib and dna binary that uses that shared lib.
This sets the scene for making libdnalib also a JNI-compliant library that we can use from Java to get access to the NaCl primitives, and possibly even run DNA operations directly.
This commit is contained in:
parent
952bb219b7
commit
cc500aeea2
@ -27,7 +27,7 @@ LOCAL_SRC_FILES:= \
|
||||
randombytes.c \
|
||||
simulate.c
|
||||
|
||||
LOCAL_MODULE:= dna
|
||||
LOCAL_MODULE:= dnalib
|
||||
|
||||
LOCAL_CFLAGS += \
|
||||
-DSHELL -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" \
|
||||
@ -41,3 +41,10 @@ LOCAL_CFLAGS += \
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES:= dnalib
|
||||
LOCAL_MODULE:= dna
|
||||
LOCAL_SRC_FILES:= null.c
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
Loading…
Reference in New Issue
Block a user