diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-02-27 04:09:46 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-02-27 04:09:46 +0000 |
commit | f1ad3999655d7ca2a9c97fd4793317552771ca14 (patch) | |
tree | c63c125e72c1554b41a7346fd2303ceaf8dcf0f3 | |
parent | c34b2093f429822dc92662589e54cfb6c06f43e9 (diff) | |
parent | 4532dfd9040c6f841991b9fa787ba398bca8dab5 (diff) | |
download | jacoco-f1ad3999655d7ca2a9c97fd4793317552771ca14.tar.gz |
Snap for 5339364 from 4532dfd9040c6f841991b9fa787ba398bca8dab5 to qt-release
Change-Id: Iaa649cfef633e6558333cba999fc2789d9b7ce87
-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 |