diff options
author | 2021-02-17 12:30:46 +0000 | |
---|---|---|
committer | 2021-02-17 14:41:07 +0000 | |
commit | 0a9dae6e9a8133c898c82a883100f58a0f798fc7 (patch) | |
tree | 033f115b61087ed767c29329d9fcb98b505e767c /java/dexpreopt_config.go | |
parent | a0516f76abaa765f1ee22ca5c087fbdfc4db1075 (diff) |
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
Diffstat (limited to 'java/dexpreopt_config.go')
-rw-r--r-- | java/dexpreopt_config.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/java/dexpreopt_config.go b/java/dexpreopt_config.go index c315124c9..282e9364e 100644 --- a/java/dexpreopt_config.go +++ b/java/dexpreopt_config.go @@ -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" |