Merge "Soong: remove output file before running signapk"

This commit is contained in:
Treehugger Robot 2020-12-09 16:58:02 +00:00 committed by Gerrit Code Review
commit 413c3bea63
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ import (
var (
Signapk, SignapkRE = remoteexec.StaticRules(pctx, "signapk",
blueprint.RuleParams{
Command: `$reTemplate${config.JavaCmd} ${config.JavaVmFlags} -Djava.library.path=$$(dirname ${config.SignapkJniLibrary}) ` +
Command: `rm -f $out && $reTemplate${config.JavaCmd} ${config.JavaVmFlags} -Djava.library.path=$$(dirname ${config.SignapkJniLibrary}) ` +
`-jar ${config.SignapkCmd} $flags $certificates $in $out`,
CommandDeps: []string{"${config.SignapkCmd}", "${config.SignapkJniLibrary}"},
},