Merge "Enable same-file policy for R8 optimizations"

This commit is contained in:
Jared Duke
2023-01-31 16:54:42 +00:00
committed by Gerrit Code Review

View File

@@ -98,6 +98,8 @@ func init() {
"-JXmx2048M",
// Disable this optimization as it can impact weak reference semantics. See b/233432839.
"-JDcom.android.tools.r8.disableEnqueuerDeferredTracing=true",
// Disable class merging across different files to improve attribution. See b/242881914.
"-JDcom.android.tools.r8.enableSameFilePolicy=true",
}, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{