From 8a5b32d0cf4f932fac0cadc73d5012ac33457d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Gjesse?= Date: Tue, 19 Dec 2023 10:44:58 +0100 Subject: [PATCH] Remove setting com.android.tools.r8.emitRecordAnnotationsExInDex System property was removed in https://r8-review.git.corp.google.com/c/r8/+/82140, as the system property com.android.tools.r8.emitRecordAnnotationsInDex is the only system property for not desugaring records. Test: Existing Fixes: b/316501817 Change-Id: I057a18c9e02a99365e910d3128890fd481e93541 --- java/config/config.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/java/config/config.go b/java/config/config.go index d80ed4142..6a945ac9c 100644 --- a/java/config/config.go +++ b/java/config/config.go @@ -95,13 +95,11 @@ func init() { "-JXX:TieredStopAtLevel=1", "-JDcom.android.tools.r8.emitRecordAnnotationsInDex", "-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex", - "-JDcom.android.tools.r8.emitRecordAnnotationsExInDex", }, dexerJavaVmFlagsList...)) exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{ "-JXmx4096M", "-JDcom.android.tools.r8.emitRecordAnnotationsInDex", "-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex", - "-JDcom.android.tools.r8.emitRecordAnnotationsExInDex", }, dexerJavaVmFlagsList...)) exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{