platform_build/core/tasks
Colin Cross b0f3a4d04c Delay platform availability error for ALLOW_MISSING_DEPENDENCIES=true
The platform availability check was erroring incorrectly for the
libstatssocket module in master-art-host builds.  Nothing being
built depended on libstatssocket, but the check would still
error because libstatspull_test was defined in the branch but
unused in the build.

When ALLOW_MISSING_DEPENDENCIES=true is set and a module fails
the check add an additional dependency on a rule that prints
the error message.  This will show the error and fail the build
if an unavailable module is requested to be installed, while
allowing the build to proceed if there are no unavailable
modules in the dependency graph.

Fixes: 154888298
Test: m build-art-host TARGET_BUILD_UNBUNDLED=true ALLOW_MISSING_DEPENDENCIES=true libstatspull_test -k
Test: m build-art-host TARGET_BUILD_UNBUNDLED=true ALLOW_MISSING_DEPENDENCIES=true
Change-Id: I1d57afe60a75d65128e59f794243a0414cbc82f6
2020-08-28 13:32:20 -07:00
..
check_boot_jars Fail check-boot-jars if boot jar contains 0 .class files 2020-06-18 14:17:57 +00:00
tools Package the JDK into test suite zips 2020-08-11 23:35:56 +00:00
apidiff.mk Delete apidiff.mk 2018-09-17 15:33:13 -07:00
boot_jars_package_check.mk Remove obsolete PDK build functionality 2020-08-11 01:12:01 +00:00
build_custom_images.mk
collect_gpl_sources.mk base_rules.mk optimizations 2020-06-09 09:59:24 -07:00
cts.mk Combine HOST/TARGET in Test Suite NOTICE. 2020-08-06 12:07:40 -07:00
device-tests.mk Copy shared libraries used by tests in device-tests_host_shared-libs.zip. 2020-03-27 12:51:16 +08:00
find-shareduid-violation.mk Rename product_services to system_ext 2019-07-09 08:57:19 +00:00
find-shareduid-violation.py Clean up noisy error log in find-shareduid-violation.py 2019-02-16 10:50:56 +09:00
general-tests.mk Remove vts10 dependencies 2020-05-19 15:32:25 -07:00
ide.mk Remove reference to empty variable 2020-07-15 13:02:15 +01:00
module-info.mk Remove support for ONE_SHOT_MAKEFILE 2019-07-31 18:08:47 -07:00
mts.mk Add Mainline Test Suite (MTS). 2019-07-31 21:31:10 +00:00
oem_image.mk Build build_image and build_super_image as modules. 2019-07-18 10:27:38 -07:00
owners.mk Create an artifact to output module-info and OWNERS files in source code 2018-09-24 16:31:29 -07:00
platform_availability_check.mk Delay platform availability error for ALLOW_MISSING_DEPENDENCIES=true 2020-08-28 13:32:20 -07:00
sdk-addon.mk emulator: enable vendor boot image 2020-04-06 14:05:28 +00:00
sts.mk Don't build STS when it does not exist. 2018-07-30 16:42:46 -07:00
test_mapping.mk
tradefed-tests-list.mk
vendor_module_check.mk Add odm_dlkm partition. 2020-07-16 12:34:29 -07:00
vendor_snapshot.mk Implement vendor snapshot 2020-01-23 21:51:08 +09:00
vndk.mk Deprecate VNDK-Lite 2020-07-20 05:39:29 +00:00
vts-core-tests.mk Revert "Add vts related artifacts to vts-core package" 2020-05-08 10:52:31 -07:00
with-license.mk Include all system images in -with-license.sh 2019-12-05 15:51:24 -08:00