summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Pirama Arumuga Nainar <pirama@google.com> 2022-01-26 22:14:32 -0800
committer Pirama Arumuga Nainar <pirama@google.com> 2022-03-04 14:07:53 -0800
commitb37ae58a3d88416f61b72911d2e656d89c49490b (patch)
treef8ce9d58a7701ab1725a927f3980f2dabd3cd153 /android/variable.go
parent7010c53c5057fdbc7b035b6768291eac7968fcb3 (diff)
Memory mapped coverage (take 2)
Add a build variable, CLANG_COVERAGE_CONTINUOUS_MODE, instead of selecting based on paths. Test: CLANG_COVERAGE_CONTINUOUS_MODE=true m and verify continuous mode works Change-Id: I731172fc1f00e1cabff8efcf8b99f9a48210b446
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/android/variable.go b/android/variable.go
index 68f19b993..37037ebdb 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -306,10 +306,11 @@ type productVariables struct {
JavaCoveragePaths []string `json:",omitempty"`
JavaCoverageExcludePaths []string `json:",omitempty"`
- GcovCoverage *bool `json:",omitempty"`
- ClangCoverage *bool `json:",omitempty"`
- NativeCoveragePaths []string `json:",omitempty"`
- NativeCoverageExcludePaths []string `json:",omitempty"`
+ GcovCoverage *bool `json:",omitempty"`
+ ClangCoverage *bool `json:",omitempty"`
+ NativeCoveragePaths []string `json:",omitempty"`
+ NativeCoverageExcludePaths []string `json:",omitempty"`
+ ClangCoverageContinuousMode *bool `json:",omitempty"`
// Set by NewConfig
Native_coverage *bool `json:",omitempty"`