Merge "Fix dependencies in strip.sh"

am: 8c460a7581

Change-Id: I4ca646ec5d3d4b9bc39d618a37b2a3dbb69f8299
This commit is contained in:
Colin Cross 2019-02-15 20:54:38 -08:00 committed by android-build-merger
commit 851b48684e
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" {