From 78b2693a92d9efe77b044bead1d48390c30b4831 Mon Sep 17 00:00:00 2001 From: Yiming Pan Date: Fri, 3 Mar 2023 02:19:31 +0000 Subject: Add jacocoagent.jar to build artifact. Bug: 269175352 Test: https://android-build.googleplex.com/builds/abtd/run/L89300000958962537 Change-Id: I2094e6f0eb11799fec2c56e2c80740e6b6f7d1ee --- Android.bp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Android.bp b/Android.bp index 89e024a8..8c8e3c69 100644 --- a/Android.bp +++ b/Android.bp @@ -90,6 +90,14 @@ java_library { "org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/JmxRegistration.java", ], }, + host: { + dist: { + targets: [ + "dist_files", + "apps_only", + ], + }, + } }, // In order to include Jacoco in core libraries, we cannot depend on -- cgit v1.2.3