Revert^2 "Update clang version to clang-r487747"
9ede2803752681713244f8800c86381e9a35c501
Bug: 264965700
Change-Id: I4154c70c050a825525d5b591fa757104eb78c158
diff --git a/android/config.go b/android/config.go
index 979f1ca..8494626 100644
--- a/android/config.go
+++ b/android/config.go
@@ -1369,6 +1369,11 @@
}
}
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
}