use of com.android.tools.build.bundletool.splitters.AbiNativeLibrariesSplitter in project bundletool by google.
the class ModuleSplitterForShards method createNativeLibrariesSplittingPipeline.
private static SplittingPipeline createNativeLibrariesSplittingPipeline(ImmutableSet<OptimizationDimension> shardingDimensions) {
ImmutableList.Builder<ModuleSplitSplitter> nativeSplitters = ImmutableList.builder();
if (shardingDimensions.contains(OptimizationDimension.ABI)) {
nativeSplitters.add(new AbiNativeLibrariesSplitter());
}
nativeSplitters.add(new SanitizerNativeLibrariesSplitter());
return new SplittingPipeline(nativeSplitters.build());
}
Aggregations