Fix label name used for jacoco-runtime in AndroidBinary.
The check for the label is actually not needed since all android rules have this implicit dependency, but just for extra safety let's keep the correct label.
This check was added in
RELNOTES: None.
@@ -363,7 +363,7 @@ public abstract class AndroidBinary implements RuleConfiguredTargetFactory {
proguardDeps,
ruleContext.getPrerequisites("deps", Mode.TARGET, ProguardSpecProvider.PROVIDER));
if (ruleContext.getConfiguration().isCodeCoverageEnabled()
- && ruleContext.attributes().has("$jacoco-runtime", BuildType.LABEL)) {
+ && ruleContext.attributes().has("$jacoco_runtime", BuildType.LABEL)) {
proguardDeps.add(
ruleContext.getPrerequisite(
"$jacoco_runtime", Mode.TARGET, ProguardSpecProvider.PROVIDER));
