Modify --ensure-allowlist-integrity call to avoid spurious errors.
We now ensure that the module is disabled and _not_ enabled before failing the build. Bug: 280439299 Test: m nothing --ensure-allowlist-integrity --bazel-mode-staging (on master and aosp) Change-Id: I59c969a27b064f07913a511cb29bc06d23daa371
This commit is contained in:
@@ -1929,6 +1929,10 @@ func (c *config) GetMixedBuildsEnabledModules() map[string]struct{} {
|
||||
return c.mixedBuildEnabledModules
|
||||
}
|
||||
|
||||
func (c *config) GetMixedBuildsDisabledModules() map[string]struct{} {
|
||||
return c.mixedBuildDisabledModules
|
||||
}
|
||||
|
||||
func (c *config) LogMixedBuild(ctx BaseModuleContext, useBazel bool) {
|
||||
moduleName := ctx.Module().Name()
|
||||
c.mixedBuildsLock.Lock()
|
||||
|
Reference in New Issue
Block a user