From 80b68c44cac5bead6f247f9026238338ee62302f Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Wed, 15 Jan 2025 18:14:34 +0000 Subject: Convert initHiddenAPI, lint and proguardBuildActions to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: Icde6331533685be54f7ee2e86696da05a77431b6 --- java/hiddenapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/hiddenapi.go') diff --git a/java/hiddenapi.go b/java/hiddenapi.go index b1a9debe1..c9a1f2bbe 100644 --- a/java/hiddenapi.go +++ b/java/hiddenapi.go @@ -97,7 +97,7 @@ func (h *hiddenAPI) initHiddenAPI(ctx android.ModuleContext, dexJar OptionalDexJ // Save the classes jars even if this is not active as they may be used by modular hidden API // processing. classesJars := android.Paths{classesJar} - ctx.VisitDirectDepsWithTag(hiddenApiAnnotationsTag, func(dep android.Module) { + ctx.VisitDirectDepsProxyWithTag(hiddenApiAnnotationsTag, func(dep android.ModuleProxy) { if javaInfo, ok := android.OtherModuleProvider(ctx, dep, JavaInfoProvider); ok { classesJars = append(classesJars, javaInfo.ImplementationJars...) } -- cgit v1.2.3-59-g8ed1b