summaryrefslogtreecommitdiff
path: root/java/boot_jars.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-06-17 19:33:24 +0100
committer Paul Duffin <paulduffin@google.com> 2021-06-17 19:33:24 +0100
commit7f8721618cbdcd169694d980cd598d0b80ef9629 (patch)
treef9787b21a3d456ee2b5a6c64b059c97974b94627 /java/boot_jars.go
parent4aea00ec18c6c5a82bd74be934ba5edbfdd123f1 (diff)
Exclude jacocoagent from boot jars package check
This replicates the previous behavior when the boot jars package check was performed by a singleton. When the singleton was removed and the check was performed by the platform-bootclasspath the logic to exclude jacocoagent from the list was lost. This change replaces it. Bug: 191377804 Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true check-boot-jars - fails without this change passes with this change. Change-Id: If9eae254045bef9a0c0963213721fc12a9f463cb
Diffstat (limited to 'java/boot_jars.go')
-rw-r--r--java/boot_jars.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/boot_jars.go b/java/boot_jars.go
index 5ec9f714b..86ebe36b4 100644
--- a/java/boot_jars.go
+++ b/java/boot_jars.go
@@ -37,7 +37,7 @@ func buildRuleForBootJarsPackageCheck(ctx android.ModuleContext, bootDexJarByMod
rule.Command().BuiltTool("check_boot_jars").
Input(ctx.Config().HostToolPath(ctx, "dexdump")).
Input(android.PathForSource(ctx, "build/soong/scripts/check_boot_jars/package_allowed_list.txt")).
- Inputs(bootDexJarByModule.bootDexJars()).
+ Inputs(bootDexJarByModule.bootDexJarsWithoutCoverage()).
Text("&& touch").Output(timestamp)
rule.Build("boot_jars_package_check", "check boot jar packages")