Remove workaround for coverage boot failure

Bug: 269981180
Change-Id: I81399836b588b7a579174b1b6700341d7108d49e
This commit is contained in:
Yi Kong
2024-08-24 06:54:56 +00:00
parent cdd70d268a
commit 0111a27449

View File

@@ -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
} }