From 6821dbad65d0b28603a1e83b984beb0b9008cabc Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Thu, 16 Sep 2010 22:49:10 -0700 Subject: [PATCH] Only turn host build on for linux Change-Id: I2d3b16f7881ad82cf272a40213dd4e173f54baa0 --- target/product/core.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/product/core.mk b/target/product/core.mk index b7d66f27b..30c77af62 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -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 -- 2.11.0