diff options
-rw-r--r-- | Android.mk | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -19,12 +19,20 @@ LOCAL_PATH := $(call my-dir) # include definition of core-junit-files include $(LOCAL_PATH)/Common.mk -# note: ideally this should be junit-host, but leave as is for now to avoid -# changing all its dependencies +# note: this is deprecated in favour of junit-host; this will be removed soon. include $(CLEAR_VARS) -LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_MODULE := junit LOCAL_MODULE_TAGS := optional +LOCAL_STATIC_JAVA_LIBRARIES := junit-host +include $(BUILD_HOST_JAVA_LIBRARY) + +# build a junit-host jar +# ---------------------- + +include $(CLEAR_VARS) +LOCAL_SRC_FILES := $(call all-java-files-under, src) +LOCAL_MODULE := junit-host +LOCAL_MODULE_TAGS := optional LOCAL_STATIC_JAVA_LIBRARIES := hamcrest-host LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Common.mk include $(BUILD_HOST_JAVA_LIBRARY) |