diff options
author | 2017-09-01 10:46:10 +0200 | |
---|---|---|
committer | 2017-09-01 12:29:20 +0200 | |
commit | 8d6fc64b18c7e35b93f5c43dae1dbd2f8cae2147 (patch) | |
tree | 4674235facfacbcffd0b898d4cd4363c6350fffd /src/main/java/com/google/devtools/build/lib/rules/android/ApkProvider.java | |
parent | c27b4dac3daf36577b2d7944b730dbe346e130dc (diff) |
Rolling forward Java coverage.
Instead of passing all the runtime jars in the environment variable, we now write them all to a file and store the file path in the env variable, jacoco runner reading the jars from there. Changes on Jacoco runner side are here: https://github.com/bazelbuild/bazel/commit/05418b33dd87d63e2653e594d462b2aedb0e22e5
RELNOTES: A new Java coverage implementation is available. Makes possible coverage for Skylark JVM rules.
PiperOrigin-RevId: 167248966
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/ApkProvider.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/ApkProvider.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/ApkProvider.java b/src/main/java/com/google/devtools/build/lib/rules/android/ApkProvider.java index d265fd3160..70676b701d 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/android/ApkProvider.java +++ b/src/main/java/com/google/devtools/build/lib/rules/android/ApkProvider.java @@ -17,7 +17,6 @@ import com.google.auto.value.AutoValue; import com.google.devtools.build.lib.actions.Artifact; import com.google.devtools.build.lib.analysis.TransitiveInfoProvider; import com.google.devtools.build.lib.concurrent.ThreadSafety.Immutable; -import javax.annotation.Nullable; /** A provider for targets that produce an apk file. */ @AutoValue @@ -27,10 +26,9 @@ public abstract class ApkProvider implements TransitiveInfoProvider { public static ApkProvider create( Artifact apk, Artifact unsignedApk, - @Nullable Artifact coverageMetdata, Artifact mergedManifest, Artifact keystore) { - return new AutoValue_ApkProvider(apk, unsignedApk, coverageMetdata, mergedManifest, keystore); + return new AutoValue_ApkProvider(apk, unsignedApk, mergedManifest, keystore); } /** Returns the APK file built in the transitive closure. */ @@ -39,10 +37,6 @@ public abstract class ApkProvider implements TransitiveInfoProvider { /** Returns the unsigned APK file built in the transitive closure. */ public abstract Artifact getUnsignedApk(); - /** Returns the coverage metadata artifacts generated in the transitive closure. */ - @Nullable - public abstract Artifact getCoverageMetadata(); - /** Returns the merged manifest. */ public abstract Artifact getMergedManifest(); |