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{}
fmt.Fprint(depFile, `: \`+"\n")
for _, tool := range dexpreoptRule.Tools() {
for _, tool := range rule.Tools() {
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
// command line.
if input != "$1" {