Merge "[coverage] Wrap calls to open"
This commit is contained in:
@@ -149,6 +149,7 @@ func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags
|
||||
|
||||
coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module)
|
||||
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