From 2c86bfd285d8b3765da0144da31d1a3d216cb95c Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Thu, 10 Sep 2009 10:05:14 -0700 Subject: [PATCH] Sleazy workaround for webkit build failures. The WebKit library link line is exceeding 128KB on sim-eng builds. The path to sim-eng object files is slightly longer than device builds because the object files live under the "host" directory. This change truncates the "product" directory name to "pr", reducing the command line by a few KB. This only affects sim-eng builds. The real fix will need be to webkit (see internal bug 1917987), which will eventually start failing on device builds if it continues to grow. --- core/envsetup.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/envsetup.mk b/core/envsetup.mk index 0ee7cfc3f..6d14753c1 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -173,7 +173,7 @@ ifeq ($(TARGET_SIMULATOR),true) # under product/) are actually host-dependent. # But, the debug type is controlled by TARGET_BUILD_TYPE and not # HOST_BUILD_TYPE. - TARGET_PRODUCT_OUT_ROOT := $(HOST_OUT_$(TARGET_BUILD_TYPE))/product + TARGET_PRODUCT_OUT_ROOT := $(HOST_OUT_$(TARGET_BUILD_TYPE))/pr else TARGET_PRODUCT_OUT_ROOT := $(TARGET_OUT_ROOT)/product endif -- 2.11.0