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:
@@ -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...)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user