Merge "Disable coverage for native-bridge modules" am: 9dab630dcb
am: 449cced69a
am: 646f88e634
Change-Id: Ifbbf414e8ad9b6a6e5b81570707cc6bb078ca24e
This commit is contained in:
committed by
android-build-merger
commit
cdbcbda785
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