Merge changes from topics "dist-for-goals", "soong-dist", "tests-PathForSource"

* changes:
  Add DistForGoal to MakeVarsContext
  Define Soong phony rules in Make
  Remove paths from cc.TestConfig
  Remove most paths from java.TestConfig
  Allow tests to bypass PathForSource existence checks
This commit is contained in:
Colin Cross
2020-06-11 18:36:18 +00:00
committed by Gerrit Code Review
16 changed files with 290 additions and 185 deletions

View File

@@ -2874,11 +2874,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...)
}
}