Add com.android.tools.r8.emitRecordAnnotationsExInDex flag
It enables annotations for record components. Bug: 272698028 Test: m droid Change-Id: I9b45526c2dcdb2de458d874a0c222108a69eee71
This commit is contained in:
parent
3b7cb59e4e
commit
397e7e2e89
1 changed files with 2 additions and 0 deletions
|
@ -95,11 +95,13 @@ func init() {
|
||||||
"-JXX:TieredStopAtLevel=1",
|
"-JXX:TieredStopAtLevel=1",
|
||||||
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
|
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
|
||||||
"-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex",
|
"-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex",
|
||||||
|
"-JDcom.android.tools.r8.emitRecordAnnotationsExInDex",
|
||||||
}, dexerJavaVmFlagsList...))
|
}, dexerJavaVmFlagsList...))
|
||||||
exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{
|
exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{
|
||||||
"-JXmx2048M",
|
"-JXmx2048M",
|
||||||
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
|
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
|
||||||
"-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex",
|
"-JDcom.android.tools.r8.emitPermittedSubclassesAnnotationsInDex",
|
||||||
|
"-JDcom.android.tools.r8.emitRecordAnnotationsExInDex",
|
||||||
}, dexerJavaVmFlagsList...))
|
}, dexerJavaVmFlagsList...))
|
||||||
|
|
||||||
exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{
|
exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{
|
||||||
|
|
Loading…
Reference in a new issue