diff options
author | Colin Cross <ccross@android.com> | 2020-06-11 18:36:18 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-06-11 18:36:18 +0000 |
commit | 1adc63ec3d42022f891e4aa941748ca8ad6e64f3 (patch) | |
tree | 28b09588f2a970dbb319aea75baae0c29f3077a6 /java/java.go | |
parent | feccfbc5bef5702ec33c7244cc5bcdb9441e7a16 (diff) | |
parent | 3cda0d8df9d3979cbb516a49f15b47e116ab095c (diff) |
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
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/java.go b/java/java.go index 5f8ad034d..1cdfbf187 100644 --- a/java/java.go +++ b/java/java.go @@ -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...) } } |