Merge "Increase R8 max heap size to 4GB"

This commit is contained in:
Treehugger Robot
2023-05-23 21:21:53 +00:00
committed by Gerrit Code Review

View File

@@ -98,7 +98,7 @@ func init() {
"-JDcom.android.tools.r8.emitRecordAnnotationsExInDex",
}, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{
"-JXmx2048M",
"-JXmx4096M",
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
"-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex",
"-JDcom.android.tools.r8.emitRecordAnnotationsExInDex",