Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c1a6354 authored by Yu Liu's avatar Yu Liu
Browse files

Use VisitDirectDepsProxy in GenerateBuildActions and remove the

duplicated validation.

Bug: 377723687
Test: Check the ninja and mk files.
Change-Id: I16729c2e8beaa03301fa55e27f3ccfa120a02c16
parent 38e2e18b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1932,9 +1932,7 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)

	if m.Enabled(ctx) {
		// ensure all direct android.Module deps are enabled
		ctx.VisitDirectDeps(func(m Module) {
			ctx.validateAndroidModule(m, ctx.OtherModuleDependencyTag(m), ctx.baseModuleContext.strictVisitDeps)
		})
		ctx.VisitDirectDepsProxy(func(m ModuleProxy) {})

		if m.Device() {
			// Handle any init.rc and vintf fragment files requested by the module.  All files installed by this