Include soong installs file before Android.mk files
I changed the installs file to be after Android.mk files in aosp/3080639, in order to minimize the information given to Android.mk files. But it appears that some exotic vendor builds actually rely on this information (when they shouldn't). Bug: 340254841 Test: diff'd out/target/product/<vendor>/installed-files-vendor.txt before/after this cl, and with a revert of aosp/3080639 Change-Id: I00a06fe984397e4dba57352850f5e2484d17f657
This commit is contained in:
@@ -276,7 +276,7 @@ FULL_BUILD := true
|
|||||||
# Include all of the makefiles in the system
|
# Include all of the makefiles in the system
|
||||||
#
|
#
|
||||||
|
|
||||||
subdir_makefiles := $(SOONG_ANDROID_MK)
|
subdir_makefiles := $(SOONG_OUT_DIR)/installs-$(TARGET_PRODUCT).mk $(SOONG_ANDROID_MK)
|
||||||
# Android.mk files are only used on Linux builds, Mac only supports Android.bp
|
# Android.mk files are only used on Linux builds, Mac only supports Android.bp
|
||||||
ifeq ($(HOST_OS),linux)
|
ifeq ($(HOST_OS),linux)
|
||||||
subdir_makefiles += $(file <$(OUT_DIR)/.module_paths/Android.mk.list)
|
subdir_makefiles += $(file <$(OUT_DIR)/.module_paths/Android.mk.list)
|
||||||
@@ -287,8 +287,6 @@ subdir_makefiles_total := $(words int $(subdir_makefiles) post finish)
|
|||||||
|
|
||||||
$(foreach mk,$(subdir_makefiles),$(info [$(call inc_and_print,subdir_makefiles_inc)/$(subdir_makefiles_total)] including $(mk) ...)$(eval include $(mk)))
|
$(foreach mk,$(subdir_makefiles),$(info [$(call inc_and_print,subdir_makefiles_inc)/$(subdir_makefiles_total)] including $(mk) ...)$(eval include $(mk)))
|
||||||
|
|
||||||
include $(SOONG_OUT_DIR)/installs-$(TARGET_PRODUCT).mk
|
|
||||||
|
|
||||||
# For an unbundled image, we can skip blueprint_tools because unbundled image
|
# For an unbundled image, we can skip blueprint_tools because unbundled image
|
||||||
# aims to remove a large number framework projects from the manifest, the
|
# aims to remove a large number framework projects from the manifest, the
|
||||||
# sources or dependencies for these tools may be missing from the tree.
|
# sources or dependencies for these tools may be missing from the tree.
|
||||||
|
Reference in New Issue
Block a user