Allow actions to read BUILD_BROKEN_INCORRECT_PARTITION_IMAGES

To maintain good backwards compatibility with the legacy partition
building behavior, allow actions to read
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES so that we don't have to rerun
analysis.

Bug: 205632228
Test: Presubmits
Change-Id: I8b25a62f24bc6d628fb055239b084f6ea535e38b
This commit is contained in:
Cole Faust
2023-09-05 17:48:11 -07:00
parent 079efbda94
commit b95e5e873c

View File

@@ -194,6 +194,10 @@ func runNinjaForBuild(ctx Context, config Config) {
// LLVM compiler wrapper options
"TOOLCHAIN_RUSAGE_OUTPUT",
// We don't want this build broken flag to cause reanalysis, so allow it through to the
// actions.
"BUILD_BROKEN_INCORRECT_PARTITION_IMAGES",
}, config.BuildBrokenNinjaUsesEnvVars()...)...)
}