summaryrefslogtreecommitdiff
path: root/android/all_teams.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-08-12 18:23:59 +0000
committer Yu Liu <yudiliu@google.com> 2024-08-12 22:50:19 +0000
commit663e4508dc4fe228696ede997d5fca24e4c1431e (patch)
tree9b7af2c4054009b226b492484224bc598f4d7ae8 /android/all_teams.go
parent703c2e3d64aff7950a8485a2c46fe15b0f91d89e (diff)
Merge SingletonProviderContext with OtherModuleProviderContext
Bug: 358425833 Test: CI Change-Id: I8e3f40dc3cfc5337008b419801f8e6bf2d48e8b2
Diffstat (limited to 'android/all_teams.go')
-rw-r--r--android/all_teams.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/android/all_teams.go b/android/all_teams.go
index d4bf7d0c4..e3c2e70bd 100644
--- a/android/all_teams.go
+++ b/android/all_teams.go
@@ -1,9 +1,10 @@
package android
import (
- "android/soong/android/team_proto"
"path/filepath"
+ "android/soong/android/team_proto"
+
"google.golang.org/protobuf/proto"
)
@@ -93,7 +94,7 @@ func (t *allTeamsSingleton) GenerateBuildActions(ctx SingletonContext) {
}
testModInfo := TestModuleInformation{}
- if tmi, ok := SingletonModuleProvider(ctx, module, TestOnlyProviderKey); ok {
+ if tmi, ok := OtherModuleProvider(ctx, module, TestOnlyProviderKey); ok {
testModInfo = tmi
}