am 6474811d: Fix sim-eng build.
Merge commit '6474811d646153aeab111c1c0586b6ee53dcb0d2' into gingerbread-plus-aosp
* commit '6474811d646153aeab111c1c0586b6ee53dcb0d2':
Fix sim-eng build.
diff --git a/core/envsetup.mk b/core/envsetup.mk
index 274ef67..79e8b01 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -119,10 +119,12 @@
HOST_PREBUILT_TAG := $(HOST_OS)-$(HOST_ARCH)
endif
-# Build dalvikvm on hosts that support it
+# Build dalvikvm on hosts that support it, but not if we're building the sim
ifeq ($(HOST_OS),linux)
+ifneq ($(TARGET_SIMULATOR),true)
WITH_HOST_DALVIK := true
endif
+endif
# ---------------------------------------------------------------