diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -15,16 +15,26 @@ # LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) +# build for the host JVM +#----------------------- +include $(CLEAR_VARS) LOCAL_SRC_FILES := $(call all-java-files-under, src) - LOCAL_MODULE := hamcrest-host - LOCAL_MODULE_TAGS := optional +include $(BUILD_HOST_JAVA_LIBRARY) +# build for the host dalvik +# ------------------------- +include $(CLEAR_VARS) +LOCAL_SRC_FILES := $(call all-java-files-under, src) +LOCAL_MODULE := hamcrest-hostdex +LOCAL_MODULE_TAGS := optional +LOCAL_BUILD_HOST_DEX := true include $(BUILD_HOST_JAVA_LIBRARY) + + #------------------------------- # build a target jar |