Merge "Move jacoco before desugar"
am: a5fcf862ce
Change-Id: Iad33ae53ed433a21c002e1090d04707e336a18dc
This commit is contained in:
commit
550a5f6de5
1 changed files with 1 additions and 4 deletions
|
@ -829,10 +829,6 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars ...android.Path
|
|||
j.headerJarFile = j.implementationJarFile
|
||||
}
|
||||
|
||||
if !fullD8 && ctx.Device() && j.installable() {
|
||||
outputFile = j.desugar(ctx, flags, outputFile, jarName)
|
||||
}
|
||||
|
||||
if ctx.Config().IsEnvTrue("EMMA_INSTRUMENT_FRAMEWORK") {
|
||||
if inList(ctx.ModuleName(), config.InstrumentFrameworkModules) {
|
||||
j.properties.Instrument = true
|
||||
|
@ -847,6 +843,7 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars ...android.Path
|
|||
if fullD8 {
|
||||
outputFile = j.compileDexFullD8(ctx, flags, outputFile, jarName)
|
||||
} else {
|
||||
outputFile = j.desugar(ctx, flags, outputFile, jarName)
|
||||
outputFile = j.compileDex(ctx, flags, outputFile, jarName)
|
||||
}
|
||||
if ctx.Failed() {
|
||||
|
|
Loading…
Reference in a new issue