summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Kyriakos Ispoglou <ispo@google.com> 2020-01-24 13:14:33 -0800
committer Kyriakos Ispoglou <ispo@google.com> 2020-01-31 14:47:12 -0800
commitdb03c22e54f3aa86db291dd40fd0c4b63172346a (patch)
treea2d39ab2e1fa6fd8e059f68448b484a9586bc1ac /android/variable.go
parent56bcaa6dc1fab98849b212e4ecf553f709426754 (diff)
Add support for LINE_COVERAGE (1/2)
This is the 1st part of the CL. It adds support to enable compilation of line coverage instrumented binaries. For more details please refer to the design doc: go/android-line-coverage-doc Bug: b/147604881 Test: Code works successfully on Taimen devices Change-Id: I07745c1438b611041ed032dd4b7788cb50130845
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index c277acc48..9625a879a 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -252,6 +252,7 @@ type productVariables struct {
ClangTidy *bool `json:",omitempty"`
TidyChecks *string `json:",omitempty"`
+ NativeLineCoverage *bool `json:",omitempty"`
Native_coverage *bool `json:",omitempty"`
ClangCoverage *bool `json:",omitempty"`
CoveragePaths []string `json:",omitempty"`