Merge "Add .PHONY for dist-for-goals targets" am: 8432238aa0

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

Change-Id: I959165bef217b86ff099592dad47f5f9291fc408
This commit is contained in:
Colin Cross
2021-11-12 07:27:41 +00:00
committed by Automerger Merge Worker

View File

@@ -422,6 +422,7 @@ func (s *makeVarsSingleton) writeLate(phonies []phony, dists []dist) []byte {
fmt.Fprintln(buf)
for _, dist := range dists {
fmt.Fprintf(buf, ".PHONY: %s\n", strings.Join(dist.goals, " "))
fmt.Fprintf(buf, "$(call dist-for-goals,%s,%s)\n",
strings.Join(dist.goals, " "), strings.Join(dist.paths, " "))
}