OSDN Git Service

Only turn host build on for linux
authorBrian Carlstrom <bdc@google.com>
Fri, 17 Sep 2010 04:49:01 +0000 (21:49 -0700)
committerBrian Carlstrom <bdc@google.com>
Fri, 17 Sep 2010 04:49:01 +0000 (21:49 -0700)
Change-Id: I595948b159bc6a2bf295fd11ab831f978e38c799

target/product/core.mk

index 188d8fd..6f93876 100644 (file)
@@ -76,7 +76,9 @@ PRODUCT_PACKAGES := \
 # 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