Browse Source

Merge "Suppress resourceshrinker stdout in soong"

Treehugger Robot 10 months ago
parent
commit
ece97e5658
1 changed files with 2 additions and 1 deletions
  1. 2 1
      java/resourceshrinker.go

+ 2 - 1
java/resourceshrinker.go

@@ -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")