Turn dalvikvm host builds on by default when linux is the host OS.
Previously host builds were only enabled under user and user-debug
builds. This will make it easier for Androids to find out if they've
inadvertently broken host compatibility in native code.
Change-Id: Id1f2d5e189c4c1b6462fe03bab1b0f75e98a599c
diff --git a/core/envsetup.mk b/core/envsetup.mk
index 48a8743..5b0d88c 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -119,6 +119,11 @@
HOST_PREBUILT_TAG := $(HOST_OS)-$(HOST_ARCH)
endif
+# Build dalvikvm on hosts that support it
+ifeq ($(HOST_OS),linux)
+ WITH_HOST_DALVIK := true
+endif
+
# ---------------------------------------------------------------
# Set up configuration for target machine.