Skip to content

Commit e613488

Browse files
Google Play Teamjamcohen
Google Play Team
authored andcommitted
Internal change
PiperOrigin-RevId: 381308505
1 parent b7a6abb commit e613488

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/BundletoolConfig.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ public static class BundletoolConfig
3434
public const string ScreenDensity = "SCREEN_DENSITY";
3535
public const string TextureCompressionFormat = "TEXTURE_COMPRESSION_FORMAT";
3636

37+
38+
3739
[Serializable]
3840
public class Config
3941
{
4042
public Optimizations optimizations = new Optimizations();
4143
public Compression compression = new Compression();
44+
4245
}
4346

4447
[Serializable]
@@ -96,5 +99,6 @@ public class SuffixStripping
9699
public bool enabled;
97100
public string defaultSuffix;
98101
}
102+
99103
}
100104
}

GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/BundletoolHelper.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public class BuildBundleConfigParams
4444
///
4545
public string defaultTcfSuffix;
4646

47+
4748
///
4849
/// Whether or not this bundle contains an install-time asset pack.
4950
///
@@ -58,6 +59,7 @@ public class BuildBundleConfigParams
5859
/// Options for overriding the default file compression policies.
5960
///
6061
public CompressionOptions compressionOptions;
62+
6163
}
6264

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

142+
143+
140144
// Bundletool requires the below standaloneConfig when supporting install-time asset packs for pre-Lollipop.
141145
if (configParams.containsInstallTimeAssetPack &&
142146
TextureTargetingTools.IsSdkVersionPreLollipop(configParams.minSdkVersion))

0 commit comments

Comments
 (0)