Merge changes from topic "gcov-prefix-permissions-fix"

am: bc53fefd6a

Change-Id: I9c4a91abd6e114abedbfb6e0916678cab2da2d6c
This commit is contained in:
Pirama Arumuga Nainar 2019-07-09 08:57:21 -07:00 committed by android-build-merger
commit ce09846256
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags
coverage := ctx.GetDirectDepWithTag(getProfileLibraryName(ctx), coverageDepTag).(*Module)
deps.WholeStaticLibs = append(deps.WholeStaticLibs, coverage.OutputFile().Path())
flags.LdFlags = append(flags.LdFlags, "-Wl,--wrap,getenv")
}
return flags, deps