Lines Matching refs:coverage
37 type coverage struct { struct
44 func (cov *coverage) props() []interface{} { argument
68 func (cov *coverage) deps(ctx DepsContext, deps Deps) Deps { argument
80 func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags, PathDeps) { argument
114 if cc, ok := m.(*Module); ok && cc.coverage != nil {
115 if cc.coverage.linkCoverage {
127 if !ok || cc.coverage == nil {
135 if cc.coverage.linkCoverage {
146 coverage := ctx.GetDirectDepWithTag(getGcovProfileLibraryName(ctx), CoverageDepTag).(*Module)
147 deps.WholeStaticLibs = append(deps.WholeStaticLibs, coverage.OutputFile().Path())
153 coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module)
154 deps.WholeStaticLibs = append(deps.WholeStaticLibs, coverage.OutputFile().Path())
162 func (cov *coverage) begin(ctx BaseModuleContext) { argument
214 if c, ok := mctx.Module().(*Module); ok && c.coverage != nil {
215 needCoverageVariant := c.coverage.Properties.NeedCoverageVariant
216 needCoverageBuild := c.coverage.Properties.NeedCoverageBuild
222 m[0].(*Module).coverage.Properties.CoverageEnabled = false
223 m[0].(*Module).coverage.Properties.IsCoverageVariant = false
229 m[1].(*Module).coverage.Properties.CoverageEnabled = needCoverageBuild
230 m[1].(*Module).coverage.Properties.IsCoverageVariant = true