Reinstated commandline wrapper and library so that we can call

it from JAva, but don't waste 700KB on duplicating the contents
of the library in the command line control executable.
This commit is contained in:
gardners 2012-04-26 16:38:21 +09:30
parent 7a3385112a
commit 50c2581ae6

View File

@ -66,7 +66,7 @@ LOCAL_SRC_FILES:= \
serval-dna/keyring.c \
serval-dna/vomp.c
LOCAL_MODULE:= dna
LOCAL_MODULE:= serval
LOCAL_CFLAGS += \
-DSHELL -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" \
@ -83,5 +83,13 @@ LOCAL_CFLAGS += \
LOCAL_STATIC_LIBRARIES := sqlite3 nacl
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE:= servald
LOCAL_SRC_FILES:= servalwrap.c
include $(BUILD_EXECUTABLE)