From efaf5efd06ce0caf739ce48690f2384b37a791d5 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Thu, 24 Mar 2016 17:24:38 -0700 Subject: [PATCH] Use $(BUILD_SYSTEM) as the LOCAL_PATH of auto-generated modules. So that we don't mess up with the vendor path check by accident. Bug: 27543283 Change-Id: I6c34caefe3ff4abfdd8349a32c68fcca524cfd8e --- core/pdk_fusion_modules.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/pdk_fusion_modules.mk b/core/pdk_fusion_modules.mk index 369ecbbbe..49b30dc72 100644 --- a/core/pdk_fusion_modules.mk +++ b/core/pdk_fusion_modules.mk @@ -39,6 +39,9 @@ $(3) $(11) : $(_pdk_fusion_stamp) $(hide) touch $$@ endef +# We don't have a LOCAL_PATH for the auto-generated modules, so let it be the $(BUILD_SYSTEM). +LOCAL_PATH := $(BUILD_SYSTEM) + ##### Java libraries. # Only set up rules for modules that aren't built from source. pdk_prebuilt_libraries := $(foreach l,$(PDK.DEXPREOPT.JAVA_LIBRARIES),\