aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-06-27 23:55:24 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-06-27 23:55:26 +0000
commitde8d9e2abf4ef32bf7231d8dfc75ce93b6cfa486 (patch)
tree4ad0827305f0efa78f30dcc46f773b1d70a7a65a
parent10750c3a7c7525f405b028832e0a521293f799ca (diff)
parent538809f567aed4d19e14bdb4a4e867d48ccf1b86 (diff)
downloadjacoco-de8d9e2abf4ef32bf7231d8dfc75ce93b6cfa486.tar.gz
Merge "Copy jacoco-cli into dist directory"
-rw-r--r--Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 1804e6df..5ba54801 100644
--- a/Android.mk
+++ b/Android.mk
@@ -68,6 +68,13 @@ LOCAL_STATIC_JAVA_LIBRARIES := jacoco-asm-host args4j-2.0.28
include $(BUILD_HOST_JAVA_LIBRARY)
+# include jacoco-cli in the dist directory to enable running it to generate a code-coverage report
+ifeq ($(ANDROID_COMPILE_WITH_JACK),false)
+ifeq ($(EMMA_INSTRUMENT),true)
+$(call dist-for-goals, dist_files, $(LOCAL_INSTALLED_MODULE))
+endif
+endif
+
#
# Build asm-5.0.1 as a static library for the device