Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 381308505
  • Loading branch information
Google Play Team authored and jamcohen committed Jun 29, 2021
1 parent b7a6abb commit e613488
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ public static class BundletoolConfig
public const string ScreenDensity = "SCREEN_DENSITY";
public const string TextureCompressionFormat = "TEXTURE_COMPRESSION_FORMAT";



[Serializable]
public class Config
{
public Optimizations optimizations = new Optimizations();
public Compression compression = new Compression();

}

[Serializable]
Expand Down Expand Up @@ -96,5 +99,6 @@ public class SuffixStripping
public bool enabled;
public string defaultSuffix;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class BuildBundleConfigParams
/// </summary>
public string defaultTcfSuffix;


/// <summary>
/// Whether or not this bundle contains an install-time asset pack.
/// </summary>
Expand All @@ -58,6 +59,7 @@ public class BuildBundleConfigParams
/// Options for overriding the default file compression policies.
/// </summary>
public CompressionOptions compressionOptions;

}

// Paths where the bundletool jar may potentially be found.
Expand Down Expand Up @@ -137,6 +139,8 @@ public static BundletoolConfig.Config MakeConfig(
});
}



// Bundletool requires the below standaloneConfig when supporting install-time asset packs for pre-Lollipop.
if (configParams.containsInstallTimeAssetPack &&
TextureTargetingTools.IsSdkVersionPreLollipop(configParams.minSdkVersion))
Expand Down

0 comments on commit e613488

Please sign in to comment.