Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af3cc892 authored by Colin Cross's avatar Colin Cross Committed by Automerger Merge Worker
Browse files

Merge "Rename Native_coverage to GcovCoverage in Soong" am: 5c0acab3 am:...

Merge "Rename Native_coverage to GcovCoverage in Soong" am: 5c0acab3 am: c018eacb am: 94fc2475 am: 45e31d6c

Original change: https://android-review.googlesource.com/c/platform/build/+/1340937

Change-Id: I09e53dd2521656a116efe2aa14288e7e2b699d2b
parents 06401ff4 45e31d6c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -8,8 +8,7 @@
# packs them into another zip file called `line_coverage_profiles.zip`.
#
# To run the make target set the coverage related envvars first:
# 	NATIVE_LINE_COVERAGE=true NATIVE_COVERAGE=true \
#	NATIVE_COVERAGE_PATHS=* make haiku-line-coverage
# 	NATIVE_COVERAGE=true NATIVE_COVERAGE_PATHS=* make haiku-line-coverage
# -----------------------------------------------------------------

# TODO(b/148306195): Due this issue some fuzz targets cannot be built with
@@ -67,7 +66,7 @@ critical_components_shared_inputs := $(foreach lib,$(critical_components_shared)
fuzz_target_inputs := $(foreach fuzz,$(fuzz_targets), \
	$(call intermediates-dir-for,EXECUTABLES,$(fuzz))/$(fuzz))

# When line coverage is enabled (NATIVE_LINE_COVERAGE is set), make creates
# When coverage is enabled (NATIVE_COVERAGE is set), make creates
# a "coverage" directory and stores all profile (*.gcno) files in inside.
# We need everything that is stored inside this directory.
$(line_coverage_profiles): $(fuzz_target_inputs)
+1 −2
Original line number Diff line number Diff line
@@ -114,8 +114,7 @@ $(call add_json_str, TidyChecks, $(WITH_TIDY_CHECKS))
$(call add_json_list, JavaCoveragePaths,                 $(JAVA_COVERAGE_PATHS))
$(call add_json_list, JavaCoverageExcludePaths,          $(JAVA_COVERAGE_EXCLUDE_PATHS))

$(call add_json_bool, NativeLineCoverage,                $(filter true,$(NATIVE_LINE_COVERAGE)))
$(call add_json_bool, Native_coverage,                   $(filter true,$(NATIVE_COVERAGE)))
$(call add_json_bool, GcovCoverage,                      $(filter true,$(NATIVE_COVERAGE)))
$(call add_json_bool, ClangCoverage,                     $(filter true,$(CLANG_COVERAGE)))
# TODO(b/158212027): Remove `$(COVERAGE_PATHS)` from this list when all users have been moved to
# `NATIVE_COVERAGE_PATHS`.