Enable debug build of dex2oatd on host
ART_BUILD_DEBUG is being ignored by the host build of dex2oatd.
This commit simple fixes what looks like a copy & paste error.
Change-Id: Ifb256df2c1f2be42032d1687e1740470f7cf5144
Signed-off-by: Stuart Monteith <Stuart.Monteith@arm.com>
diff --git a/dex2oat/Android.mk b/dex2oat/Android.mk
index 05dcd7b..6cd0538 100644
--- a/dex2oat/Android.mk
+++ b/dex2oat/Android.mk
@@ -33,7 +33,7 @@
ifeq ($(ART_BUILD_NDEBUG),true)
$(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libart-compiler,art/compiler,host,ndebug))
endif
- ifeq ($(ART_BUILD_NDEBUG),true)
+ ifeq ($(ART_BUILD_DEBUG),true)
$(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libartd-compiler,art/compiler,host,debug))
endif
endif