Move the logic to add jacocoagent in instrumentation builds to make.
Test: m nothing Test: m nothing EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true Bug: 180325915 Change-Id: Ieec8c8a122ff930e14cef4b5a0a2f9fc9e3b70ad
This commit is contained in:
parent
a0516f76ab
commit
0a9dae6e9a
1 changed files with 0 additions and 4 deletions
|
@ -82,10 +82,6 @@ func genBootImageConfigs(ctx android.PathContext) map[string]*bootImageConfig {
|
|||
deviceDir := android.PathForOutput(ctx, ctx.Config().DeviceName())
|
||||
|
||||
artModules := global.ArtApexJars
|
||||
// With EMMA_INSTRUMENT_FRAMEWORK=true the Core libraries depend on jacoco.
|
||||
if ctx.Config().IsEnvTrue("EMMA_INSTRUMENT_FRAMEWORK") {
|
||||
artModules = artModules.Append("com.android.art", "jacocoagent")
|
||||
}
|
||||
frameworkModules := global.BootJars.RemoveList(artModules)
|
||||
|
||||
artSubdir := "apex/art_boot_images/javalib"
|
||||
|
|
Loading…
Reference in a new issue