From be90fc9fa5750f38f025dc0dcd2627981cdfc4ee Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Tue, 3 Dec 2024 23:06:34 +0000 Subject: Change verifyNativeImplementationLibs to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: Ia149faa118dd5a089291c94caf279f3ef0a093f0 --- apex/apex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apex/apex.go') diff --git a/apex/apex.go b/apex/apex.go index 67c0a1990..f93413456 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -2885,7 +2885,7 @@ func (a *apexBundle) verifyNativeImplementationLibs(ctx android.ModuleContext) { } var appEmbeddedJNILibs android.Paths - ctx.VisitDirectDeps(func(dep android.Module) { + ctx.VisitDirectDepsProxy(func(dep android.ModuleProxy) { tag := ctx.OtherModuleDependencyTag(dep) if !checkApexTag(tag) { return -- cgit v1.2.3-59-g8ed1b