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

Commit afeea436 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Switch genrule-phony to ninja phony rule

Instead of using android.Phony, which is a "real" rule, use
blueprint.Phony, which is ninja's built-in "phony" rule. That's desired
in this case, since we only want this to be an alias to the inputs.

Test: cd system/bt; mma; mma (second run had nothing to do)
Test: treehugger
Change-Id: Ib0b630e23653c05a12cf617350f8b4c6d6d6cdff
parent de8b140b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -437,7 +437,7 @@ func (g *Module) generateSourceFile(ctx android.ModuleContext, task generateTask
		phonyFile := android.PathForModuleGen(ctx, "genrule-phony")

		ctx.Build(pctx, android.BuildParams{
			Rule:   android.Phony,
			Rule:   blueprint.Phony,
			Output: phonyFile,
			Inputs: g.outputFiles,
		})