Merge "Define coverage paths using comma-separated list." am: 8a4b4e8432 am: 96bc733ae9

am: 78055c2bfe

Change-Id: If414c9d2868242e03abf20b2d21e317ffccca677
This commit is contained in:
Ryan Campbell
2016-10-20 01:29:03 +00:00
committed by android-build-merger

View File

@@ -58,7 +58,7 @@ my_additional_dependencies := $(LOCAL_ADDITIONAL_DEPENDENCIES)
my_export_c_include_dirs := $(LOCAL_EXPORT_C_INCLUDE_DIRS)
my_export_c_include_deps := $(LOCAL_EXPORT_C_INCLUDE_DEPS)
ifneq (,$(strip $(foreach dir,$(COVERAGE_PATHS),$(filter $(dir)%,$(LOCAL_PATH)))))
ifneq (,$(strip $(foreach dir,$(subst $(comma),$(space),$(COVERAGE_PATHS)),$(filter $(dir)%,$(LOCAL_PATH)))))
my_native_coverage := true
else
my_native_coverage := false