Search in sources :

Example 1 with AssetSlicesGenerator

use of com.android.tools.build.bundletool.splitters.AssetSlicesGenerator in project bundletool by google.

the class BuildApksManager method generateAssetSlices.

private ImmutableList<ModuleSplit> generateAssetSlices(AppBundle appBundle) {
    ApkGenerationConfiguration assetSlicesGenerationConfiguration = getAssetSliceGenerationConfiguration();
    AssetSlicesGenerator assetSlicesGenerator = new AssetSlicesGenerator(appBundle, assetSlicesGenerationConfiguration, command.getAssetModulesVersionOverride());
    return assetSlicesGenerator.generateAssetSlices();
}
Also used : ApkGenerationConfiguration(com.android.tools.build.bundletool.splitters.ApkGenerationConfiguration) AssetSlicesGenerator(com.android.tools.build.bundletool.splitters.AssetSlicesGenerator)

Aggregations

ApkGenerationConfiguration (com.android.tools.build.bundletool.splitters.ApkGenerationConfiguration)1 AssetSlicesGenerator (com.android.tools.build.bundletool.splitters.AssetSlicesGenerator)1