diff options
| author | Colin Cross <ccross@android.com> | 2015-06-29 13:09:30 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2015-06-29 13:09:30 -0700 |
| commit | 00a36d3f217d507a717bfdb8e1ff2ed402b1eca4 (patch) | |
| tree | 74022b0d784bb3987018a33c4ca6f040e8875e7e /common | |
| parent | 7d5136f03350ca18dd8e3b9b34725973f2aa26a0 (diff) | |
| download | build_soong-00a36d3f217d507a717bfdb8e1ff2ed402b1eca4.tar.gz build_soong-00a36d3f217d507a717bfdb8e1ff2ed402b1eca4.tar.bz2 build_soong-00a36d3f217d507a717bfdb8e1ff2ed402b1eca4.zip | |
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
Diffstat (limited to 'common')
| -rw-r--r-- | common/glob.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/glob.go b/common/glob.go index d63f87a2..5a01cf52 100644 --- a/common/glob.go +++ b/common/glob.go @@ -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 { |
