Merge "Copy generated xml file for NDK api coverage to dist when CLANG_COVERAGE flag set."

This commit is contained in:
Sophie Zheng 2020-06-11 18:21:53 +00:00 committed by Gerrit Code Review
commit 537aee38d5

View file

@ -1705,6 +1705,11 @@ else ifeq (,$(TARGET_BUILD_UNBUNDLED))
$(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