Remove unnecessary glob depFile phony rule

The glob depFile is not a listed output file of a rule, so it will
never be deleted by the cleanup phase.  Remove the unnecessary phony
rule to avoid a warning when running soong -d explain:
ninja explain: output .intermediates/androidmk/glob/build/soong/Androidmk.d of phony edge with no inputs doesn't exist

Change-Id: I40ed5a28fb29b8455981f6debf1de2ea21c911ea
This commit is contained in:
Colin Cross
2015-06-29 13:09:30 -07:00
parent 7d5136f033
commit 00a36d3f21

View File

@@ -104,12 +104,6 @@ func GlobRule(ctx globContext, globPattern string, excludes []string,
"excludes": JoinWithPrefixAndQuote(excludes, "-e "),
},
})
// Phony rule so the cleanup phase doesn't delete the depFile
ctx.Build(pctx, blueprint.BuildParams{
Rule: blueprint.Phony,
Outputs: []string{depFile},
})
}
func globToString(glob string) string {