Add substitution for product_services and odm.
This enables using PRODUCT_COPY_FILES with these partitions, which otherwise doesn't work because the list of targets to build/install contains placeholders. Bug: 80741439 Test: make Change-Id: I9d49a3bc5212139a96c58cf550680257811371e2
This commit is contained in:
@@ -922,7 +922,9 @@ endef
|
||||
define resolve-product-relative-paths
|
||||
$(subst $(_vendor_path_placeholder),$(TARGET_COPY_OUT_VENDOR),\
|
||||
$(subst $(_product_path_placeholder),$(TARGET_COPY_OUT_PRODUCT),\
|
||||
$(foreach p,$(1),$(call append-path,$(PRODUCT_OUT),$(p)$(2)))))
|
||||
$(subst $(_product_services_path_placeholder),$(TARGET_COPY_OUT_PRODUCT_SERVICES),\
|
||||
$(subst $(_odm_path_placeholder),$(TARGET_COPY_OUT_ODM),\
|
||||
$(foreach p,$(1),$(call append-path,$(PRODUCT_OUT),$(p)$(2)))))))
|
||||
endef
|
||||
|
||||
# Lists most of the files a particular product installs, including:
|
||||
|
Reference in New Issue
Block a user