Merge "Enable coverage for vendor-related libraries" am: dd739bbdf2

am: 79e5a54e9d

Change-Id: I6f60e265f8c40710404b310b9662650b606293c4
This commit is contained in:
Pirama Arumuga Nainar 2019-02-18 21:30:47 -08:00 committed by android-build-merger
commit 75ea5e1ab8

View file

@ -109,8 +109,6 @@ func coverageMutator(mctx android.BottomUpMutatorContext) {
if mctx.Host() {
// TODO(dwillemsen): because of -nodefaultlibs, we must depend on libclang_rt.profile-*.a
// 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() {