summaryrefslogtreecommitdiff
path: root/java/sdk.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-25 12:55:33 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-25 12:55:33 -0800
commitd272a622e908736b01bf731dc653aadc47c64971 (patch)
tree35ddbe0592ca3f0a703c2d39b8747729590e809d /java/sdk.go
parent89dab88cc55d9ab0ff85d0a30780ad182cdaf214 (diff)
parent2a815b6d8ea8f29b54f780b1219c28b0c8c977aa (diff)
Merge "Convert the following singletons to use ModuleProxy:" into main
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)