Merge "Revert^2 "Update clang version to clang-r487747""

This commit is contained in:
Yi Kong
2023-03-24 13:19:52 +00:00
committed by Gerrit Code Review
3 changed files with 9 additions and 3 deletions

View File

@@ -1385,6 +1385,11 @@ func (c *deviceConfig) NativeCoverageEnabledForPath(path string) bool {
}
}
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) {
coverage = false
}