diff options
author | Allen Hair <allenhair@google.com> | 2019-02-26 14:11:27 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-26 14:11:27 -0800 |
commit | 11147a32d671226cdb8e09b6b111609e1309079c (patch) | |
tree | c63c125e72c1554b41a7346fd2303ceaf8dcf0f3 | |
parent | f827f09bac68f675cd1125d9cb43ec95066c2edc (diff) | |
parent | a0fce88972e320ae4773296d6c93713ef44f6dd6 (diff) | |
download | jacoco-11147a32d671226cdb8e09b6b111609e1309079c.tar.gz |
Whitelist Offline.getProbes(..).
am: a0fce88972
Change-Id: Id5ef610d7548e075f7650186fbbfcdaebfdb45b9
-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 |