Parcourir la source

Merge "Suppress resourceshrinker stdout in soong"

Treehugger Robot il y a 10 mois
Parent
commit
ece97e5658
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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")