Lines Matching refs:product
23 # and the .mk suffix) of the product makefile, "<product_name>:" can be
33 $(SRC_TARGET_DIR)/product/AndroidProducts.mk
41 define get-product-makefiles
59 define get-all-product-makefiles
60 $(call get-product-makefiles,$(_find-android-products-files))
64 # Functions for including product makefiles
103 define dump-product
111 $(foreach p,$(PRODUCTS),$(call dump-product,$(p)))
115 # $(1): product to inherit
122 define inherit-product
134 # Do inherit-product only if $(1) exists
136 define inherit-product-if-exists
137 $(if $(wildcard $(1)),$(call inherit-product,$(1)),)
141 # $(1): product makefile list
185 # Returns the product makefile path for the product with the provided name
187 # $(1): short product name like "generic"
189 define _resolve-short-product-name
201 $(error No matches for product "$(pn)"), \
202 $(error Product "$(pn)" ambiguous: matches $(p)) \
206 define resolve-short-product-name
207 $(strip $(call _resolve-short-product-name,$(1)))
261 define stash-product-vars
268 # Assert that the the variable stashed by stash-product-vars remains untouched.
269 # $(1): The prefix as supplied to stash-product-vars
271 define assert-product-vars
285 define add-to-product-copy-files-if-exists