Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 397e7e2e authored by Victor Chang's avatar Victor Chang
Browse files

Add com.android.tools.r8.emitRecordAnnotationsExInDex flag

It enables annotations for record components.

Bug: 272698028
Test: m droid
Change-Id: I9b45526c2dcdb2de458d874a0c222108a69eee71
parent 3b7cb59e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -95,11 +95,13 @@ 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{
		"-JXmx2048M",
		"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
		"-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex",
		"-JDcom.android.tools.r8.emitRecordAnnotationsExInDex",
	}, dexerJavaVmFlagsList...))

	exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{