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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user