summaryrefslogtreecommitdiffstats
path: root/oatdump
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-23 14:21:45 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-07-23 14:21:45 -0700
commit8a7bc17da633d3577eda040ac490cbd8351dc6b9 (patch)
tree39054b0494486aa68d3852e5125c855af3e01952 /oatdump
parent3489af22a126e135acfc3c93beec9c31999c0ce6 (diff)
parent55c0ac8528fb07c9f0900013b828ee8c60120860 (diff)
downloadart-8a7bc17da633d3577eda040ac490cbd8351dc6b9.tar.gz
art-8a7bc17da633d3577eda040ac490cbd8351dc6b9.tar.bz2
art-8a7bc17da633d3577eda040ac490cbd8351dc6b9.zip
am 55c0ac85: Merge "Enable darwin target build for art."
* commit '55c0ac8528fb07c9f0900013b828ee8c60120860': Enable darwin target build for art.
Diffstat (limited to 'oatdump')
-rw-r--r--oatdump/Android.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/oatdump/Android.mk b/oatdump/Android.mk
index faa90ae442..bf5c41b74e 100644
--- a/oatdump/Android.mk
+++ b/oatdump/Android.mk
@@ -28,9 +28,11 @@ ifeq ($(ART_BUILD_TARGET_DEBUG),true)
$(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,target,debug))
endif
-ifeq ($(ART_BUILD_HOST_NDEBUG),true)
- $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,host,ndebug))
-endif
-ifeq ($(ART_BUILD_HOST_DEBUG),true)
- $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,host,debug))
+ifeq ($(WITH_HOST_DALVIK),true)
+ ifeq ($(ART_BUILD_HOST_NDEBUG),true)
+ $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,host,ndebug))
+ endif
+ ifeq ($(ART_BUILD_HOST_DEBUG),true)
+ $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,host,debug))
+ endif
endif