Convert ndkSingleton, apexDepsInfoSingleton, allTeamsSingleton,
apexPrebuiltInfo to use ModuleProxy.
Bug: 377723687
Test: Unit tests and compare the ninja and mk files generated.
Change-Id: I77b05e8b54843bfa8b91376a6796c2b5c69be3c1
diff --git a/android/module.go b/android/module.go
index 984f037..d196481 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1940,6 +1940,7 @@
VintfFragmentModuleNames []string
Dists []Dist
ExportedToMake bool
+ Team string
}
type ApiLevelOrPlatform struct {
@@ -2300,6 +2301,7 @@
VintfFragmentModuleNames: m.module.VintfFragmentModuleNames(ctx),
Dists: m.Dists(),
ExportedToMake: m.ExportedToMake(),
+ Team: m.Team(),
}
if mm, ok := m.module.(interface {
MinSdkVersion(ctx EarlyModuleContext) ApiLevel