Skip to content

Commit

Permalink
Include libcurve25519 with TextSecure library
Browse files Browse the repository at this point in the history
Change-Id: Ib352ae9bd5580a4b98b5b5027f1e80522dd23b92
  • Loading branch information
ctso committed Dec 9, 2013
1 parent 4366d6f commit 0c6f66e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions library/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_STATIC_JAVA_LIBRARIES := libphonenumbergoogle thoughtcrimegson spongycastle-light-jdk15on protobuf-java-2.4.1

LOCAL_STATIC_LIBRARIES := libcurve25519-donna libcurve25519
LOCAL_ADDITIONAL_DEPENDENCIES += libcurve25519

include $(BUILD_STATIC_JAVA_LIBRARY)

Expand All @@ -28,3 +29,5 @@ LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_OUT)/fake_packages/$(LOCAL_SRC_FILES)

include $(BUILD_PREBUILT)

include $(call all-makefiles-under,$(LOCAL_PATH))
3 changes: 2 additions & 1 deletion library/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)

LOCAL_MODULE := libcurve25519
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := curve25519-donna-jni.c

LOCAL_STATIC_LIBRARIES := libcurve25519-donna

include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)

0 comments on commit 0c6f66e

Please sign in to comment.