Merge "Add documentation for module resolution." am: ce0d4aa328 am: e5a5f00b9e

am: 008613c081

Change-Id: Ifb338ad2e2e1a0c5a689d5345c0d46942b59cde3
This commit is contained in:
Anton Hansson
2018-07-05 09:52:52 -07:00
committed by android-build-merger

View File

@@ -899,6 +899,14 @@ endef
# The base list of modules to build for this product is specified # The base list of modules to build for this product is specified
# by the appropriate product definition file, which was included # by the appropriate product definition file, which was included
# by product_config.mk. # by product_config.mk.
# Name resolution for PRODUCT_PACKAGES:
# foo:32 resolves to foo_32;
# foo:64 resolves to foo;
# foo resolves to both foo and foo_32 (if foo_32 is defined).
#
# Name resolution for LOCAL_REQUIRED_MODULES:
# If a module is built for 2nd arch, its required module resolves to
# 32-bit variant, if it exits. See the select-bitness-of-required-modules definition.
# $(1): product makefile # $(1): product makefile
define product-installed-files define product-installed-files
$(eval _pif_modules := $(PRODUCTS.$(strip $(1)).PRODUCT_PACKAGES)) \ $(eval _pif_modules := $(PRODUCTS.$(strip $(1)).PRODUCT_PACKAGES)) \