Merge "Soong: remove output file before running signapk" am: 413c3bea63
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1511908 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iffe70681136af6d8ad427823b1583aa44246a87c
This commit is contained in:
commit
69ac81038a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ import (
|
||||||
var (
|
var (
|
||||||
Signapk, SignapkRE = remoteexec.StaticRules(pctx, "signapk",
|
Signapk, SignapkRE = remoteexec.StaticRules(pctx, "signapk",
|
||||||
blueprint.RuleParams{
|
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`,
|
`-jar ${config.SignapkCmd} $flags $certificates $in $out`,
|
||||||
CommandDeps: []string{"${config.SignapkCmd}", "${config.SignapkJniLibrary}"},
|
CommandDeps: []string{"${config.SignapkCmd}", "${config.SignapkJniLibrary}"},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue