Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f354780 authored by David Srbecky's avatar David Srbecky
Browse files

resourceshrinker: Add dexContainerExperiment flag

Bug: 249922554
Test: build with CL/2238838
Change-Id: I369ebe616caa9ae880b71abb0bafa3f909ebcdae
parent 6f9522e4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@ import (
var shrinkResources = pctx.AndroidStaticRule("shrinkResources",
	blueprint.RuleParams{
		// Note that we suppress stdout to avoid successful log confirmations.
		Command:     `${config.ResourceShrinkerCmd} --output $out --input $in --raw_resources $raw_resources >/dev/null`,
		Command: `RESOURCESHRINKER_OPTS=-Dcom.android.tools.r8.dexContainerExperiment ` +
			`${config.ResourceShrinkerCmd} --output $out --input $in --raw_resources $raw_resources >/dev/null`,
		CommandDeps: []string{"${config.ResourceShrinkerCmd}"},
	}, "raw_resources")