Merge "Suppress resourceshrinker stdout in soong"

This commit is contained in:
Treehugger Robot
2023-06-30 23:26:28 +00:00
committed by Gerrit Code Review

View File

@@ -22,7 +22,8 @@ import (
var shrinkResources = pctx.AndroidStaticRule("shrinkResources",
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}"},
}, "raw_resources")