Use VisitDirectDepsProxy in aconfigUpdateAndroidBuildActions,
GatherPackagingSpecsWithFilter and checkClasspathFragments.
Bug: 377723687
Test: Check the ninja and mk files.
Change-Id: I620cb94a7304cf117142e5e88d8c2a16101dd9d6
diff --git a/android/packaging.go b/android/packaging.go
index 98c85fa..c4cc6b9 100644
--- a/android/packaging.go
+++ b/android/packaging.go
@@ -474,7 +474,7 @@
return false
}
- ctx.VisitDirectDeps(func(child Module) {
+ ctx.VisitDirectDepsProxy(func(child ModuleProxy) {
depTag := ctx.OtherModuleDependencyTag(child)
if pi, ok := depTag.(PackagingItem); !ok || !pi.IsPackagingItem() {
return