diff options
author | Allen Hair <allenhair@google.com> | 2019-02-26 14:17:18 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-26 14:17:18 -0800 |
commit | 0def5d5da5c5bf36c6397d53daf5392f8849dfbd (patch) | |
tree | c63c125e72c1554b41a7346fd2303ceaf8dcf0f3 | |
parent | f827f09bac68f675cd1125d9cb43ec95066c2edc (diff) | |
parent | 11147a32d671226cdb8e09b6b111609e1309079c (diff) | |
download | platform_external_jacoco-0def5d5da5c5bf36c6397d53daf5392f8849dfbd.tar.gz platform_external_jacoco-0def5d5da5c5bf36c6397d53daf5392f8849dfbd.tar.bz2 platform_external_jacoco-0def5d5da5c5bf36c6397d53daf5392f8849dfbd.zip |
Whitelist Offline.getProbes(..). am: a0fce88972
am: 11147a32d6
Change-Id: I736067553d96bdc8c8be132e97f08c827152d9a4
-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 |