aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-11-22 13:49:43 -0800
committerColin Cross <ccross@android.com>2017-11-22 16:08:53 -0800
commitcb9335932f5bca5082c1cbcd86736c5091694a49 (patch)
tree0615515d996881d17cf4e302381b145c7f9dc3ad /Android.bp
parente909e1e0796ab87e4ad32ac12d848263186ef77b (diff)
downloadbuild_soong-cb9335932f5bca5082c1cbcd86736c5091694a49.tar.gz
build_soong-cb9335932f5bca5082c1cbcd86736c5091694a49.tar.bz2
build_soong-cb9335932f5bca5082c1cbcd86736c5091694a49.zip
Add Jacoco support
Add support for instrumenting jars with jacoco. Unlike in Make, Jacoco in Soong is done entirely using jars. Instrumentation is enabled by EMMA_INSTRUMENT=true, and affects all apps. If EMMA_INSTRUMENT_FRAMEWORK=true then it also affects any java libraries listed in InstrumentFrameworkModules. Bug: 69629238 Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true SKIP_BOOT_JARS_CHECK=true WITH_DEXPREOPT=false Change-Id: If699715b277529cd7322ffca67c23b0746e1cccd
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index e89f9083..d32c9572 100644
--- a/Android.bp
+++ b/Android.bp
@@ -213,6 +213,7 @@ bootstrap_go_package {
"java/app.go",
"java/builder.go",
"java/gen.go",
+ "java/jacoco.go",
"java/java.go",
"java/proto.go",
"java/resources.go",