diff options
author | Allen Hair <allenhair@google.com> | 2019-02-26 14:21:24 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-26 14:21:24 -0800 |
commit | 4532dfd9040c6f841991b9fa787ba398bca8dab5 (patch) | |
tree | c63c125e72c1554b41a7346fd2303ceaf8dcf0f3 | |
parent | cb22735746c6c74b8fb9fd4f45de7a9d390a7379 (diff) | |
parent | 0def5d5da5c5bf36c6397d53daf5392f8849dfbd (diff) | |
download | platform_external_jacoco-4532dfd9040c6f841991b9fa787ba398bca8dab5.tar.gz platform_external_jacoco-4532dfd9040c6f841991b9fa787ba398bca8dab5.tar.bz2 platform_external_jacoco-4532dfd9040c6f841991b9fa787ba398bca8dab5.zip |
Whitelist Offline.getProbes(..). am: a0fce88972 am: 11147a32d6
am: 0def5d5da5
Change-Id: Ia0ecdf188fb01978b03af22335a69d1267a200f2
-rw-r--r-- | Android.bp | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -58,6 +58,19 @@ java_library { ], } +// Generates stubs containing the classes that will be referenced by instrumented bytecode. +droidstubs { + name: "jacoco-stubs-gen", + srcs: ["org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/Offline.java"], +} + +// A stubs target containing the parts of JaCoCo that we need to add to the hidden API whitelist. +java_library { + name: "jacoco-stubs", + compile_dex: true, + srcs: [":jacoco-stubs-gen"], +} + // Build jacoco-cli from sources for the platform // TODO(jeffrygaston) it'd be nice to keep the build process and/or list of source files in sync with |