summaryrefslogtreecommitdiff
path: root/java/sdk.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-21 20:46:25 +0000
committer Yu Liu <yudiliu@google.com> 2025-02-25 19:05:07 +0000
commit2a815b6d8ea8f29b54f780b1219c28b0c8c977aa (patch)
tree3637bda1bc41a893d7d0a502798d47c74434cb70 /java/sdk.go
parenta88b86ff5d86306ec15bc1de7892d17b4154210e (diff)
Convert the following singletons to use ModuleProxy:
buildTargetSingleton exportedJavaDeclarationsLibrarySingleton javaFuzzPackager kytheExtractAllSingleton kytheExtractJavaSingleton kytheExtractRustSingleton lintSingleton logtagsSingleton makeVarsSingleton ndkAbiDiffSingleton ndkAbiDumpSingleton phonySingleton platformCompatConfigSingleton sdkSingleton Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I625ac8a209ca93755b2ba232202cfb44ecefde0a
Diffstat (limited to 'java/sdk.go')
-rw-r--r--java/sdk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sdk.go b/java/sdk.go
index 8510959df..ab1c653d1 100644
--- a/java/sdk.go
+++ b/java/sdk.go
@@ -274,7 +274,7 @@ func createNonUpdatableFrameworkAidl(ctx android.SingletonContext) {
func createFrameworkAidl(stubsModules []string, path android.WritablePath, ctx android.SingletonContext) *android.RuleBuilder {
stubsJars := make([]android.Paths, len(stubsModules))
- ctx.VisitAllModules(func(module android.Module) {
+ ctx.VisitAllModuleProxies(func(module android.ModuleProxy) {
// Collect dex jar paths for the modules listed above.
if j, ok := android.OtherModuleProvider(ctx, module, JavaInfoProvider); ok {
name := ctx.ModuleName(module)