diff options
author | Elliott Hughes <enh@google.com> | 2012-12-03 13:59:05 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-12-03 13:59:05 -0800 |
commit | 5e7c23b6db620045c0429f4f49a190f45b12476b (patch) | |
tree | 6cf1698eb237cb6d6370fe1551f098fe1a791032 | |
parent | 7c1599eaf8135729876344969bf8bd84f79cee24 (diff) | |
download | hamcrest-5e7c23b6db620045c0429f4f49a190f45b12476b.tar.gz |
Only build hamcrest-hostdex if WITH_HOST_DALVIK is true.
Change-Id: I83daa433ab7183d259d8e0083de641fe32ae49eb
-rw-r--r-- | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,12 +26,14 @@ include $(BUILD_HOST_JAVA_LIBRARY) # build for the host dalvik # ------------------------- +ifeq ($(WITH_HOST_DALVIK),true) 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) +endif |