summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/main.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/main.mk b/core/main.mk
index 5d2ec7c6af..2b59c07942 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -1665,6 +1665,11 @@ else # TARGET_BUILD_APPS
$(call dist-for-goals, dist_files, $(api_xmls))
api_xmls :=
+ ifdef CLANG_COVERAGE
+ $(foreach f,$(SOONG_NDK_API_XML), \
+ $(call dist-for-goals,droidcore,$(f):ndk_coverage_xml_dir/$(notdir $(f))))
+ endif
+
# Building a full system-- the default is to build droidcore
droid_targets: droidcore dist_files