aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2012-04-17 12:47:41 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-17 12:47:41 -0700
commitc62242988737e0204e6b01312faeda3b9a2b64cd (patch)
treebd566a99666bee40939ec72da9e24ebef8b46337
parent78901bd6fdb0d3600a94f79b27c41224f7f5a241 (diff)
parent7f17dff221008bad170ad266bca05db65a3888b9 (diff)
downloadjunit-c62242988737e0204e6b01312faeda3b9a2b64cd.tar.gz
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4a842dd..b936a7d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -49,6 +49,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := core-junit
include $(BUILD_JAVA_LIBRARY)
+ifeq ($(WITH_HOST_DALVIK),true)
# ----------------------------------
# build a core-junit-hostdex jar that contains exactly the same classes
# as core-junit.
@@ -67,3 +68,5 @@ LOCAL_MODULE := core-junit-hostdex
LOCAL_BUILD_HOST_DEX := true
include $(BUILD_HOST_JAVA_LIBRARY)
+endif
+