Revert "Use VisitDirectDepsProxy in GenerateBuildActions and remove the"
This reverts commit 6c1a6354afdd1098b311863c033b7e374ec98302.
Reason for revert: DroidMonitor: Potential culprit for http://b/378544804 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Change-Id: I945c78e3ab4f321e2db99a3193cf35fd8b307073
diff --git a/android/module.go b/android/module.go
index 3e71397..58ae885 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1932,7 +1932,9 @@
if m.Enabled(ctx) {
// ensure all direct android.Module deps are enabled
- ctx.VisitDirectDepsProxy(func(m ModuleProxy) {})
+ ctx.VisitDirectDeps(func(m Module) {
+ ctx.validateAndroidModule(m, ctx.OtherModuleDependencyTag(m), ctx.baseModuleContext.strictVisitDeps)
+ })
if m.Device() {
// Handle any init.rc and vintf fragment files requested by the module. All files installed by this