am c05d0000: Only turn host build on for linux
Merge commit 'c05d0000bb3e91a21c2cc7cbd85232f1afc7a8d2' into gingerbread-plus-aosp
* commit 'c05d0000bb3e91a21c2cc7cbd85232f1afc7a8d2':
Only turn host build on for linux
diff --git a/target/product/core.mk b/target/product/core.mk
index 188d8fd..6f93876 100644
--- a/target/product/core.mk
+++ b/target/product/core.mk
@@ -76,7 +76,9 @@
# force WITH_HOST_DALVIK on userdebug and user builds.
# TODO: this is redundant with a similar clause in build/core/main.mk.
ifneq (,$(filter userdebug user,$(TARGET_BUILD_VARIANT)))
+ ifeq ($(HOST_OS),linux)
WITH_HOST_DALVIK := true
+ endif
endif
# host-only dependencies