Merge "Do not enable coverage for platform/llndk stub libraries" am: ff1b5c7b90

am: 48a609233b

Change-Id: I7d659c1c4d933629da5c565464af563f315992f1
This commit is contained in:
Pirama Arumuga Nainar
2019-02-15 11:17:42 -08:00
committed by android-build-merger

View File

@@ -111,6 +111,8 @@ func coverageMutator(mctx android.BottomUpMutatorContext) {
// Just turn off for now.
} else if c.useVndk() || c.hasVendorVariant() {
// Do not enable coverage for VNDK libraries
} else if c.IsStubs() {
// Do not enable coverage for platform stub libraries
} else if c.isNDKStubLibrary() {
// Do not enable coverage for NDK stub libraries
} else if c.coverage != nil {