Export teams even when module disabled.
Some modules only build for arm, but the CI build producing the all_teams proto artifact is building for X86 and the module was getting left out. The fix was to stop checking the Enabled() flag. Test: m all_teams ; # inspected proto Fixes: 325054164 Change-Id: I607c289f3ba47c2ddf6324ccff144712d782044d
This commit is contained in:
@@ -68,10 +68,6 @@ func (this *allTeamsSingleton) GenerateBuildActions(ctx SingletonContext) {
|
|||||||
this.teams_for_mods = make(map[string]moduleTeamInfo)
|
this.teams_for_mods = make(map[string]moduleTeamInfo)
|
||||||
|
|
||||||
ctx.VisitAllModules(func(module Module) {
|
ctx.VisitAllModules(func(module Module) {
|
||||||
if !module.Enabled() {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
bpFile := ctx.BlueprintFile(module)
|
bpFile := ctx.BlueprintFile(module)
|
||||||
|
|
||||||
// Package Modules and Team Modules are stored in a map so we can look them up by name for
|
// Package Modules and Team Modules are stored in a map so we can look them up by name for
|
||||||
|
Reference in New Issue
Block a user