Lines Matching refs:coverage
35 type coverage struct { struct
42 func (cov *coverage) props() []interface{} { argument
64 func (cov *coverage) deps(ctx DepsContext, deps Deps) Deps { argument
76 func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags, PathDeps) { argument
107 if cc, ok := m.(*Module); ok && cc.coverage != nil {
108 if cc.coverage.linkCoverage {
118 if !ok || cc.coverage == nil {
126 if cc.coverage.linkCoverage {
137 coverage := ctx.GetDirectDepWithTag(getGcovProfileLibraryName(ctx), CoverageDepTag).(*Module)
138 deps.WholeStaticLibs = append(deps.WholeStaticLibs, coverage.OutputFile().Path())
144 coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module)
145 deps.WholeStaticLibs = append(deps.WholeStaticLibs, coverage.OutputFile().Path())
152 func (cov *coverage) begin(ctx BaseModuleContext) { argument
204 if c, ok := mctx.Module().(*Module); ok && c.coverage != nil {
205 needCoverageVariant := c.coverage.Properties.NeedCoverageVariant
206 needCoverageBuild := c.coverage.Properties.NeedCoverageBuild
212 m[0].(*Module).coverage.Properties.CoverageEnabled = false
213 m[0].(*Module).coverage.Properties.IsCoverageVariant = false
219 m[1].(*Module).coverage.Properties.CoverageEnabled = needCoverageBuild
220 m[1].(*Module).coverage.Properties.IsCoverageVariant = true