Only turn host build on for linux

Change-Id: I595948b159bc6a2bf295fd11ab831f978e38c799
This commit is contained in:
Brian Carlstrom
2010-09-16 21:49:01 -07:00
parent 918ccff372
commit c05d0000bb

View File

@@ -76,7 +76,9 @@ PRODUCT_PACKAGES := \
# force WITH_HOST_DALVIK on userdebug and user builds. # force WITH_HOST_DALVIK on userdebug and user builds.
# TODO: this is redundant with a similar clause in build/core/main.mk. # TODO: this is redundant with a similar clause in build/core/main.mk.
ifneq (,$(filter userdebug user,$(TARGET_BUILD_VARIANT))) ifneq (,$(filter userdebug user,$(TARGET_BUILD_VARIANT)))
ifeq ($(HOST_OS),linux)
WITH_HOST_DALVIK := true WITH_HOST_DALVIK := true
endif
endif endif
# host-only dependencies # host-only dependencies