Loading core/Makefile +5 −5 Original line number Original line Diff line number Diff line Loading @@ -263,7 +263,7 @@ ifdef property_overrides_split_enabled INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_OUT)/etc/prop.default INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_OUT)/etc/prop.default INSTALLED_DEFAULT_PROP_OLD_TARGET := $(TARGET_ROOT_OUT)/default.prop INSTALLED_DEFAULT_PROP_OLD_TARGET := $(TARGET_ROOT_OUT)/default.prop ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_DEFAULT_PROP_OLD_TARGET) ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_DEFAULT_PROP_OLD_TARGET) $(INSTALLED_DEFAULT_PROP_OLD_TARGET): $(INSTALLED_DEFAULT_PROP_TARGET) $(INSTALLED_DEFAULT_PROP_TARGET): .KATI_IMPLICIT_OUTPUTS := $(INSTALLED_DEFAULT_PROP_OLD_TARGET) else else # legacy path # legacy path INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_ROOT_OUT)/default.prop INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_ROOT_OUT)/default.prop Loading Loading @@ -1358,10 +1358,10 @@ endif # BUILDING_VENDOR_BOOT_IMAGE # original notice files instead of making rules to copy them somwehere. # original notice files instead of making rules to copy them somwehere. # Then we could traverse that without quite as much bash drama. # Then we could traverse that without quite as much bash drama. define combine-notice-files define combine-notice-files $(2) $(3): PRIVATE_MESSAGE := $(4) $(2): PRIVATE_MESSAGE := $(4) $(2) $(3): PRIVATE_DIR := $(5) $(2): PRIVATE_DIR := $(5) $(2) : $(3) $(2): .KATI_IMPLICIT_OUTPUTS := $(3) $(3) : $(6) $(BUILD_SYSTEM)/Makefile build/make/tools/generate-notice-files.py $(2): $(6) $(BUILD_SYSTEM)/Makefile build/make/tools/generate-notice-files.py build/make/tools/generate-notice-files.py --text-output $(2) $(foreach xdir, $(7), -e $(xdir) )\ build/make/tools/generate-notice-files.py --text-output $(2) $(foreach xdir, $(7), -e $(xdir) )\ $(if $(filter $(1),xml_excluded_vendor_product_odm),-e vendor -e product -e system_ext -e odm --xml-output, \ $(if $(filter $(1),xml_excluded_vendor_product_odm),-e vendor -e product -e system_ext -e odm --xml-output, \ $(if $(filter $(1),xml_excluded_system_product_odm),-e system -e product -e system_ext -e odm --xml-output, \ $(if $(filter $(1),xml_excluded_system_product_odm),-e system -e product -e system_ext -e odm --xml-output, \ Loading core/check_elf_file.mk +2 −0 Original line number Original line Diff line number Diff line Loading @@ -38,6 +38,8 @@ $(check_elf_files_stamp): $(my_prebuilt_src_file) $(my_check_elf_file_shared_lib $< $< $(hide) touch $@ $(hide) touch $@ CHECK_ELF_FILES.$(check_elf_files_stamp) := 1 ifneq ($(strip $(LOCAL_CHECK_ELF_FILES)),false) ifneq ($(strip $(LOCAL_CHECK_ELF_FILES)),false) ifneq ($(strip $(BUILD_BROKEN_PREBUILT_ELF_FILES)),true) ifneq ($(strip $(BUILD_BROKEN_PREBUILT_ELF_FILES)),true) $(LOCAL_BUILT_MODULE): $(check_elf_files_stamp) $(LOCAL_BUILT_MODULE): $(check_elf_files_stamp) Loading core/main.mk +3 −2 Original line number Original line Diff line number Diff line Loading @@ -795,9 +795,10 @@ $(foreach m,$($(if $(2),$($(1)2ND_ARCH_VAR_PREFIX))$(1)DEPENDENCIES_ON_SHARED_LI $($(if $(2),$($(1)2ND_ARCH_VAR_PREFIX))TARGET_OUT_INTERMEDIATES)/SHARED_LIBRARIES/%,\ $($(if $(2),$($(1)2ND_ARCH_VAR_PREFIX))TARGET_OUT_INTERMEDIATES)/SHARED_LIBRARIES/%,\ $(call module-built-files,$(mod)))))\ $(call module-built-files,$(mod)))))\ \ \ $(if $(r),\ $(if $(and $(r),$(deps)),\ $(eval stamp := $(dir $(r))check_elf_files.timestamp)\ $(eval stamp := $(dir $(r))check_elf_files.timestamp)\ $(eval $(call add-elf-file-check-shared-lib,$(stamp),$(deps)))\ $(if $(CHECK_ELF_FILES.$(stamp)),\ $(eval $(call add-elf-file-check-shared-lib,$(stamp),$(deps))))\ )) )) endef endef Loading core/package_internal.mk +2 −0 Original line number Original line Diff line number Diff line Loading @@ -377,9 +377,11 @@ ifeq ($(need_compile_res),true) # they want to use this module's R.java file. # they want to use this module's R.java file. $(LOCAL_BUILT_MODULE): $(R_file_stamp) $(LOCAL_BUILT_MODULE): $(R_file_stamp) ifneq ($(full_classes_jar),) # The R.java file must exist by the time the java source # The R.java file must exist by the time the java source # list is generated # list is generated $(java_source_list_file): $(R_file_stamp) $(java_source_list_file): $(R_file_stamp) endif endif # need_compile_res endif # need_compile_res Loading Loading
core/Makefile +5 −5 Original line number Original line Diff line number Diff line Loading @@ -263,7 +263,7 @@ ifdef property_overrides_split_enabled INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_OUT)/etc/prop.default INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_OUT)/etc/prop.default INSTALLED_DEFAULT_PROP_OLD_TARGET := $(TARGET_ROOT_OUT)/default.prop INSTALLED_DEFAULT_PROP_OLD_TARGET := $(TARGET_ROOT_OUT)/default.prop ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_DEFAULT_PROP_OLD_TARGET) ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_DEFAULT_PROP_OLD_TARGET) $(INSTALLED_DEFAULT_PROP_OLD_TARGET): $(INSTALLED_DEFAULT_PROP_TARGET) $(INSTALLED_DEFAULT_PROP_TARGET): .KATI_IMPLICIT_OUTPUTS := $(INSTALLED_DEFAULT_PROP_OLD_TARGET) else else # legacy path # legacy path INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_ROOT_OUT)/default.prop INSTALLED_DEFAULT_PROP_TARGET := $(TARGET_ROOT_OUT)/default.prop Loading Loading @@ -1358,10 +1358,10 @@ endif # BUILDING_VENDOR_BOOT_IMAGE # original notice files instead of making rules to copy them somwehere. # original notice files instead of making rules to copy them somwehere. # Then we could traverse that without quite as much bash drama. # Then we could traverse that without quite as much bash drama. define combine-notice-files define combine-notice-files $(2) $(3): PRIVATE_MESSAGE := $(4) $(2): PRIVATE_MESSAGE := $(4) $(2) $(3): PRIVATE_DIR := $(5) $(2): PRIVATE_DIR := $(5) $(2) : $(3) $(2): .KATI_IMPLICIT_OUTPUTS := $(3) $(3) : $(6) $(BUILD_SYSTEM)/Makefile build/make/tools/generate-notice-files.py $(2): $(6) $(BUILD_SYSTEM)/Makefile build/make/tools/generate-notice-files.py build/make/tools/generate-notice-files.py --text-output $(2) $(foreach xdir, $(7), -e $(xdir) )\ build/make/tools/generate-notice-files.py --text-output $(2) $(foreach xdir, $(7), -e $(xdir) )\ $(if $(filter $(1),xml_excluded_vendor_product_odm),-e vendor -e product -e system_ext -e odm --xml-output, \ $(if $(filter $(1),xml_excluded_vendor_product_odm),-e vendor -e product -e system_ext -e odm --xml-output, \ $(if $(filter $(1),xml_excluded_system_product_odm),-e system -e product -e system_ext -e odm --xml-output, \ $(if $(filter $(1),xml_excluded_system_product_odm),-e system -e product -e system_ext -e odm --xml-output, \ Loading
core/check_elf_file.mk +2 −0 Original line number Original line Diff line number Diff line Loading @@ -38,6 +38,8 @@ $(check_elf_files_stamp): $(my_prebuilt_src_file) $(my_check_elf_file_shared_lib $< $< $(hide) touch $@ $(hide) touch $@ CHECK_ELF_FILES.$(check_elf_files_stamp) := 1 ifneq ($(strip $(LOCAL_CHECK_ELF_FILES)),false) ifneq ($(strip $(LOCAL_CHECK_ELF_FILES)),false) ifneq ($(strip $(BUILD_BROKEN_PREBUILT_ELF_FILES)),true) ifneq ($(strip $(BUILD_BROKEN_PREBUILT_ELF_FILES)),true) $(LOCAL_BUILT_MODULE): $(check_elf_files_stamp) $(LOCAL_BUILT_MODULE): $(check_elf_files_stamp) Loading
core/main.mk +3 −2 Original line number Original line Diff line number Diff line Loading @@ -795,9 +795,10 @@ $(foreach m,$($(if $(2),$($(1)2ND_ARCH_VAR_PREFIX))$(1)DEPENDENCIES_ON_SHARED_LI $($(if $(2),$($(1)2ND_ARCH_VAR_PREFIX))TARGET_OUT_INTERMEDIATES)/SHARED_LIBRARIES/%,\ $($(if $(2),$($(1)2ND_ARCH_VAR_PREFIX))TARGET_OUT_INTERMEDIATES)/SHARED_LIBRARIES/%,\ $(call module-built-files,$(mod)))))\ $(call module-built-files,$(mod)))))\ \ \ $(if $(r),\ $(if $(and $(r),$(deps)),\ $(eval stamp := $(dir $(r))check_elf_files.timestamp)\ $(eval stamp := $(dir $(r))check_elf_files.timestamp)\ $(eval $(call add-elf-file-check-shared-lib,$(stamp),$(deps)))\ $(if $(CHECK_ELF_FILES.$(stamp)),\ $(eval $(call add-elf-file-check-shared-lib,$(stamp),$(deps))))\ )) )) endef endef Loading
core/package_internal.mk +2 −0 Original line number Original line Diff line number Diff line Loading @@ -377,9 +377,11 @@ ifeq ($(need_compile_res),true) # they want to use this module's R.java file. # they want to use this module's R.java file. $(LOCAL_BUILT_MODULE): $(R_file_stamp) $(LOCAL_BUILT_MODULE): $(R_file_stamp) ifneq ($(full_classes_jar),) # The R.java file must exist by the time the java source # The R.java file must exist by the time the java source # list is generated # list is generated $(java_source_list_file): $(R_file_stamp) $(java_source_list_file): $(R_file_stamp) endif endif # need_compile_res endif # need_compile_res Loading