Allow setting some build_broken out of boardconfig

Some build broken flags are for cross-cutting features rather than
board-specific. In order to support these without requiring broad
changes across many board configs, these can be set in a buildspec.mk
files.

Test: set build_broken flags in environment, get expected fail
Test: set build_broken flags in buildspec, get expected success
Change-Id: I8a74c30575f6bf40e46281ca5f37f3cfed526ec5
This commit is contained in:
Liz Kammer
2023-06-23 11:22:42 -04:00
parent 0ee11559f9
commit b607281fae
3 changed files with 27 additions and 4 deletions

View File

@@ -10,8 +10,9 @@ If you need to extend the build system via a plugin, please reach out to the
build team via email android-building@googlegroups.com (external) for any
questions, or see [go/soong](http://go/soong) (internal).
To omit the validation, `BUILD_BROKEN_PLUGIN_VALIDATION` expects a list of
plugins to omit from the validation.
To omit the validation, `BUILD_BROKEN_PLUGIN_VALIDATION` expects a
space-separated list of plugins to omit from the validation. This must be set
within a product configuration .mk file, board config .mk file, or buildspec.mk.
## Python 2 to 3 migration