Merge "[coverage] Wrap calls to open" am: d36c83862f
am: bc7aa97fed
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1524347 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I90c309a9b9815d6e37f6a62412a882dc7550d033
This commit is contained in:
committed by
Automerger Merge Worker
commit
41bc006e9f
@@ -149,6 +149,7 @@ func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags
|
|||||||
|
|
||||||
coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module)
|
coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module)
|
||||||
deps.WholeStaticLibs = append(deps.WholeStaticLibs, coverage.OutputFile().Path())
|
deps.WholeStaticLibs = append(deps.WholeStaticLibs, coverage.OutputFile().Path())
|
||||||
|
flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--wrap,open")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user