diff options
author | Elliott Hughes <enh@google.com> | 2012-12-03 11:38:15 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-12-03 11:50:00 -0800 |
commit | 4c7bb43300eeff0dfc173c18ef17e59e9ff66fa5 (patch) | |
tree | 01dedfa9b5bfd9a4ca12d075fd5e8f98608fde53 | |
parent | 84ee3dc21ec5d2dd99cee722d058029f1027e9ef (diff) | |
download | hamcrest-4c7bb43300eeff0dfc173c18ef17e59e9ff66fa5.tar.gz |
Build a hamcrest hostdex.
Change-Id: I01179ea989aac667902f66724c937ded9fc2b945
-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 |