Merge "Disable coverage for native-bridge modules"

am: 9dab630dcb

Change-Id: Ie782434a174cca2e1e0c1aa438dfe16ab60e94f7
This commit is contained in:
Pirama Arumuga Nainar
2019-09-12 16:13:56 -07:00
committed by android-build-merger

View File

@@ -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()
}