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

9ede280375

Bug: 264965700
Change-Id: I4154c70c050a825525d5b591fa757104eb78c158
This commit is contained in:
Yi Kong
2023-02-16 17:42:27 +09:00
parent cd7db25738
commit fd07ed2c14
3 changed files with 9 additions and 3 deletions

View File

@@ -1369,6 +1369,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
}