Remove workaround for coverage boot failure
Bug: 269981180 Change-Id: I81399836b588b7a579174b1b6700341d7108d49e
This commit is contained in:
@@ -1490,11 +1490,6 @@ func (c *deviceConfig) NativeCoverageEnabledForPath(path string) bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if coverage && len(c.config.productVariables.NativeCoverageExcludePaths) > 0 {
|
if coverage && len(c.config.productVariables.NativeCoverageExcludePaths) > 0 {
|
||||||
// Workaround coverage boot failure.
|
|
||||||
// http://b/269981180
|
|
||||||
if strings.HasPrefix(path, "external/protobuf") {
|
|
||||||
coverage = false
|
|
||||||
}
|
|
||||||
if HasAnyPrefix(path, c.config.productVariables.NativeCoverageExcludePaths) {
|
if HasAnyPrefix(path, c.config.productVariables.NativeCoverageExcludePaths) {
|
||||||
coverage = false
|
coverage = false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user