Browse Source

Merge "Remove R8-specific flags from soong config"

Treehugger Robot 1 year ago
parent
commit
fd659ef7da
1 changed files with 0 additions and 4 deletions
  1. 0 4
      java/config/config.go

+ 0 - 4
java/config/config.go

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