Define Soong phony rules in Make am: c3d87d3112 am: 970fd93b92

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1325397

Change-Id: I44eba43a7c316b9cb9696d02962a84d0c1d8ebed
This commit is contained in:
Colin Cross
2020-06-11 20:47:03 +00:00
committed by Automerger Merge Worker
9 changed files with 180 additions and 82 deletions

View File

@@ -2878,11 +2878,7 @@ func (ks *kytheExtractJavaSingleton) GenerateBuildActions(ctx android.SingletonC
})
// TODO(asmundak): perhaps emit a rule to output a warning if there were no xrefTargets
if len(xrefTargets) > 0 {
ctx.Build(pctx, android.BuildParams{
Rule: blueprint.Phony,
Output: android.PathForPhony(ctx, "xref_java"),
Inputs: xrefTargets,
})
ctx.Phony("xref_java", xrefTargets...)
}
}