Disable coverage for native-bridge modules
Bug: http://b/137883967 With coverage enabled, native-bridge modules throw a SEGV_ACCERR. Test: Successfully run the app linked in the bug on a coverage build. Change-Id: I9f3622b7b6d3189337c445a26d6bf81c96820c2e
This commit is contained in:
4
cc/cc.go
4
cc/cc.go
@@ -666,6 +666,10 @@ func (c *Module) bootstrap() bool {
|
||||
}
|
||||
|
||||
func (c *Module) nativeCoverage() bool {
|
||||
// Bug: http://b/137883967 - native-bridge modules do not currently work with coverage
|
||||
if c.Target().NativeBridge == android.NativeBridgeEnabled {
|
||||
return false
|
||||
}
|
||||
return c.linker != nil && c.linker.nativeCoverage()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user