Skip to content

Commit

Permalink
Allow ResourceShrinkerAction to support splits.
Browse files Browse the repository at this point in the history
This is needed to support both shrinking and splitting at the same time,
which will become the default for any android_binary which has splits
defined on it once shrinking becomes default (if it hasn't already).

--
PiperOrigin-RevId: 142497302
MOS_MIGRATED_REVID=142497302
  • Loading branch information
Michael Staib authored and hermione521 committed Dec 20, 2016
1 parent 733baed commit c976996
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public static void main(String[] args) throws Exception {
null /* packageForR */,
new FlagAaptOptions(aaptConfigOptions),
aaptConfigOptions.resourceConfigs,
ImmutableList.<String>of() /* splits */,
aaptConfigOptions.splits,
new MergedAndroidData(
shrunkResources, resourceFiles.resolve("assets"), options.primaryManifest),
ImmutableList.<DependencyAndroidData>of() /* libraries */,
Expand Down

0 comments on commit c976996

Please sign in to comment.