Suppress resourceshrinker stdout in soong
The resourceshrinker command prints an info log for successful runs, which we don't really need to surface in build output. Suppress stdout for such invocations; errors will surface through stderr. Bug: 202959019 Test: m + compare log output Change-Id: I08ed465bb7e3a0fa8d5e967d858f6739b5ef7fad
This commit is contained in:
parent
9241da9662
commit
91f32e7ae5
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ import (
|
||||||
|
|
||||||
var shrinkResources = pctx.AndroidStaticRule("shrinkResources",
|
var shrinkResources = pctx.AndroidStaticRule("shrinkResources",
|
||||||
blueprint.RuleParams{
|
blueprint.RuleParams{
|
||||||
Command: `${config.ResourceShrinkerCmd} --output $out --input $in --raw_resources $raw_resources`,
|
// Note that we suppress stdout to avoid successful log confirmations.
|
||||||
|
Command: `${config.ResourceShrinkerCmd} --output $out --input $in --raw_resources $raw_resources >/dev/null`,
|
||||||
CommandDeps: []string{"${config.ResourceShrinkerCmd}"},
|
CommandDeps: []string{"${config.ResourceShrinkerCmd}"},
|
||||||
}, "raw_resources")
|
}, "raw_resources")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue