Add coverage flags for Clang coverage builds.
Bug: 143977934 Test: m CLANG_COVERAGE=true Test: m NATIVE_COVERAGE=true Change-Id: I5d07d336e241856961eb0bc9678fdc9d5a076802
This commit is contained in:
@@ -944,6 +944,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 {
|
||||
|
Reference in New Issue
Block a user