Merge "Add coverage flags for Clang coverage builds."

This commit is contained in:
Oliver Nguyen
2020-01-22 22:34:35 +00:00
committed by Gerrit Code Review
4 changed files with 44 additions and 13 deletions

View File

@@ -1027,6 +1027,10 @@ func (c *deviceConfig) NativeCoverageEnabled() bool {
return Bool(c.config.productVariables.NativeCoverage)
}
func (c *deviceConfig) ClangCoverageEnabled() bool {
return Bool(c.config.productVariables.ClangCoverage)
}
func (c *deviceConfig) CoverageEnabledForPath(path string) bool {
coverage := false
if c.config.productVariables.CoveragePaths != nil {