5606d2b53b
So that we actually respect different LOCAL_REQUIRED_MODULES for the
host and device versions instead of unioning them. That got particularly
problematic when LOCAL_SHARED_LIBRARIES is implicitly added to
LOCAL_REQUIRED_MODULES. We also used to walk through device-only modules
when filling out the list of required modules, which triggered even more
extra installations.
This also changes the requirements for PRODUCT_HOST_PACKAGES so that it
no longer accepts target-only phony modules (since we can now
differentiate them). They were all removed in previous patches.
Bug: 123925742
Fixes: 129719937
Test: treehugger; diff resulting builds
Test: diff list of product_target_FILES and product_host_FILES
Change-Id: I2ed8950320d31f5693323ad8cef6ec5b6780b7d4
Merged-In: I2ed8950320d31f5693323ad8cef6ec5b6780b7d4
(cherry picked from commit
|
||
---|---|---|
.. | ||
check_boot_jars | ||
tools | ||
apidiff.mk | ||
boot_jars_package_check.mk | ||
build_custom_images.mk | ||
collect_gpl_sources.mk | ||
cts.mk | ||
cts_instant.mk | ||
deps_licenses.mk | ||
device-tests.mk | ||
find-shareduid-violation.mk | ||
find-shareduid-violation.py | ||
general-tests.mk | ||
ide.mk | ||
module-info.mk | ||
oem_image.mk | ||
owners.mk | ||
sdk-addon.mk | ||
sts.mk | ||
test_mapping.mk | ||
tradefed-tests-list.mk | ||
vendor_module_check.mk | ||
vndk.mk |