Merge "Disable coverage for native-bridge modules"
am: 9dab630dcb
Change-Id: Ie782434a174cca2e1e0c1aa438dfe16ab60e94f7
This commit is contained in:
committed by
android-build-merger
commit
449cced69a
4
cc/cc.go
4
cc/cc.go
@@ -666,6 +666,10 @@ func (c *Module) bootstrap() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Module) nativeCoverage() 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()
|
return c.linker != nil && c.linker.nativeCoverage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user