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
This commit is contained in:
Ying Wang 2016-03-24 17:24:38 -07:00
parent 6bc1d30396
commit efaf5efd06

View file

@ -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),\