Merge "Fix dependencies in strip.sh"

This commit is contained in:
Treehugger Robot 2019-02-16 04:37:20 +00:00 committed by Gerrit Code Review
commit 8c460a7581
1 changed files with 2 additions and 2 deletions

View File

@ -133,10 +133,10 @@ func writeScripts(global dexpreopt.GlobalConfig, module dexpreopt.ModuleConfig,
depFile := &bytes.Buffer{} depFile := &bytes.Buffer{}
fmt.Fprint(depFile, `: \`+"\n") fmt.Fprint(depFile, `: \`+"\n")
for _, tool := range dexpreoptRule.Tools() { for _, tool := range rule.Tools() {
fmt.Fprintf(depFile, ` %s \`+"\n", tool) fmt.Fprintf(depFile, ` %s \`+"\n", tool)
} }
for _, input := range dexpreoptRule.Inputs() { for _, input := range rule.Inputs() {
// Assume the rule that ran the script already has a dependency on the input file passed on the // Assume the rule that ran the script already has a dependency on the input file passed on the
// command line. // command line.
if input != "$1" { if input != "$1" {