Merge "Remove R8-specific flags from soong config"

This commit is contained in:
Treehugger Robot 2023-02-01 17:18:42 +00:00 committed by Gerrit Code Review
commit fd659ef7da

View file

@ -96,10 +96,6 @@ func init() {
}, dexerJavaVmFlagsList...)) }, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{ exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{
"-JXmx2048M", "-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...)) }, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{ exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{