diff options
| author | 2020-01-27 13:26:42 -0800 | |
|---|---|---|
| committer | 2020-01-27 16:09:57 -0800 | |
| commit | d9a121ba2af293509873f3b8b22b63f93f51a6d6 (patch) | |
| tree | 7a64527f9839f864eefcbe84efb62552ea86b298 /android/variable.go | |
| parent | f0f747c9492fd4e064abb22dde1de1475cc672db (diff) | |
Add native_coverage to product variables
Allow native_coverage to adjust sources in product_variables.
Fixes: 148088129
Test: m checkbuild
Change-Id: I9c9d491cda92d69726a0d598408de2060241365b
Diffstat (limited to 'android/variable.go')
| -rw-r--r-- | android/variable.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go index c58867201..af1d9db0f 100644 --- a/android/variable.go +++ b/android/variable.go @@ -123,6 +123,11 @@ type variableProperties struct { Experimental_mte struct { Cflags []string `android:"arch_variant"` } `android:"arch_variant"` + + Native_coverage struct { + Srcs []string `android:"arch_variant"` + Exclude_srcs []string `android:"arch_variant"` + } `android:"arch_variant"` } `android:"arch_variant"` } @@ -242,7 +247,7 @@ type productVariables struct { ClangTidy *bool `json:",omitempty"` TidyChecks *string `json:",omitempty"` - NativeCoverage *bool `json:",omitempty"` + Native_coverage *bool `json:",omitempty"` ClangCoverage *bool `json:",omitempty"` CoveragePaths []string `json:",omitempty"` CoverageExcludePaths []string `json:",omitempty"` |