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.
Merged-In: If9eae254045bef9a0c0963213721fc12a9f463cb
Change-Id: If9eae254045bef9a0c0963213721fc12a9f463cb
(cherry picked from commit 7f8721618c
)
This commit is contained in:
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user