Merge "Revert "Revert "Copy generated xml file for NDK api coverage to dist when CLANG_COVERAGE flag set.""" am: b5bfbab22b
Original change: https://android-review.googlesource.com/c/platform/build/+/1336765 Change-Id: If764d1dbfd02585f94249a5f16f010b667e040b6
This commit is contained in:
@@ -1704,6 +1704,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
|
||||
|
||||
|
Reference in New Issue
Block a user