diff options
author | 2023-11-14 12:06:27 +0000 | |
---|---|---|
committer | 2023-11-14 12:06:50 +0000 | |
commit | 8f354780e6c3648b26e04d396c227886da714d5c (patch) | |
tree | e4ecebddcdbc7e4a677f49988341c5639a4d7a99 | |
parent | 6f9522e4a8676a853e201c046eb5513b89c4a821 (diff) |
resourceshrinker: Add dexContainerExperiment flag
Bug: 249922554
Test: build with CL/2238838
Change-Id: I369ebe616caa9ae880b71abb0bafa3f909ebcdae
-rw-r--r-- | java/resourceshrinker.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/resourceshrinker.go b/java/resourceshrinker.go index bf1b04d94..af13aa3cb 100644 --- a/java/resourceshrinker.go +++ b/java/resourceshrinker.go @@ -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") |