# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/rules.gni")
java_group("jacoco_all_java") {
testonly = true
deps = [
":jacocoagent_java",
":jacocoant_java",
":jacococli_java",
":org_jacocoagent_java",
":org_jacocoant_java",
":org_jacococore_java",
":org_jacocoreport_java",
]
}
java_prebuilt("jacocoagent_java") {
include_java_resources = true
supports_android = true
jar_path = "cipd/lib/jacocoagent.jar"
proguard_configs = [ "jacoco_instrument.flags" ]
# Complains about java/util/jar/Pack200, and this isn't a library which gets
# used clientside anyways, so can just ignore this.
enable_bytecode_checks = false
}
java_prebuilt("jacocoant_java") {
testonly = true
jar_path = "cipd/lib/jacocoant.jar"
}
java_prebuilt("jacococli_java") {
testonly = true
jar_path = "cipd/lib/jacococli.jar"
}
java_prebuilt("org_jacocoagent_java") {
testonly = true
jar_path = "cipd/lib/org.jacoco.agent-0.8.8.202306091247.jar"
}
java_prebuilt("org_jacocoant_java") {
testonly = true
jar_path = "cipd/lib/org.jacoco.ant-0.8.8.202306091247.jar"
}
java_prebuilt("org_jacococore_java") {
testonly = true
jar_path = "cipd/lib/org.jacoco.core-0.8.8.202306091247.jar"
}
java_prebuilt("org_jacocoreport_java") {
testonly = true
jar_path = "cipd/lib/org.jacoco.report-0.8.8.202306091247.jar"
}