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
diff --git a/common/glob.go b/common/glob.go
index d63f87a..5a01cf5 100644
--- a/common/glob.go
+++ b/common/glob.go
@@ -104,12 +104,6 @@
"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 {