From bb08413605edc0a9bffa959e417a24c897f3a8be Mon Sep 17 00:00:00 2001 From: Ronald Braunstein Date: Tue, 13 Feb 2024 18:29:51 -0800 Subject: [PATCH] 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 --- android/all_teams.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android/all_teams.go b/android/all_teams.go index dd7d2db33..b177e20e7 100644 --- a/android/all_teams.go +++ b/android/all_teams.go @@ -68,10 +68,6 @@ func (this *allTeamsSingleton) GenerateBuildActions(ctx SingletonContext) { this.teams_for_mods = make(map[string]moduleTeamInfo) ctx.VisitAllModules(func(module Module) { - if !module.Enabled() { - return - } - bpFile := ctx.BlueprintFile(module) // Package Modules and Team Modules are stored in a map so we can look them up by name for