Lines Matching defs:product
23 # and the .mk suffix) of the product makefile, "<product_name>:" can be
40 $(foreach d, device vendor product,$(call _search-android-products-files-in-dir,$(d))) \
41 $(SRC_TARGET_DIR)/product/AndroidProducts.mk
49 define get-product-makefiles
67 define get-all-product-makefiles
68 $(call get-product-makefiles,$(_find-android-products-files))
72 # Functions for including product makefiles
130 define dump-product
138 $(foreach p,$(PRODUCTS),$(call dump-product,$(p)))
142 # $(1): product to inherit
149 define inherit-product
164 # Do inherit-product only if $(1) exists
166 define inherit-product-if-exists
167 $(if $(wildcard $(1)),$(call inherit-product,$(1)),)
171 # $(1): product makefile list
215 # Returns the product makefile path for the product with the provided name
217 # $(1): short product name like "generic"
219 define _resolve-short-product-name
231 $(error No matches for product "$(pn)"), \
236 define resolve-short-product-name
237 $(strip $(call _resolve-short-product-name,$(1)))
299 define stash-product-vars
306 # Assert that the the variable stashed by stash-product-vars remains untouched.
307 # $(1): The prefix as supplied to stash-product-vars
309 define assert-product-vars
323 define add-to-product-copy-files-if-exists
332 define add-product-dex-preopt-module-config
343 define add-product-sanitizer-module-config