summaryrefslogtreecommitdiff
path: root/android/singleton.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-25 00:54:20 +0000
committer Yu Liu <yudiliu@google.com> 2025-02-25 19:05:48 +0000
commit95cef3a35a7dda90447e94b6bd1370043ee2cedb (patch)
tree3bd39af4a269da4cd68ec0328d999986be105748 /android/singleton.go
parent2a815b6d8ea8f29b54f780b1219c28b0c8c977aa (diff)
Convert ndkSingleton, apexDepsInfoSingleton, allTeamsSingleton,
apexPrebuiltInfo to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I77b05e8b54843bfa8b91376a6796c2b5c69be3c1
Diffstat (limited to 'android/singleton.go')
-rw-r--r--android/singleton.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/singleton.go b/android/singleton.go
index a03ea74aa..96b10223f 100644
--- a/android/singleton.go
+++ b/android/singleton.go
@@ -290,6 +290,10 @@ func (s *singletonContextAdaptor) ModuleType(module blueprint.Module) string {
return s.SingletonContext.ModuleType(getWrappedModule(module))
}
+func (s *singletonContextAdaptor) BlueprintFile(module blueprint.Module) string {
+ return s.SingletonContext.BlueprintFile(getWrappedModule(module))
+}
+
func (s *singletonContextAdaptor) VisitAllModulesBlueprint(visit func(blueprint.Module)) {
s.SingletonContext.VisitAllModules(visit)
}