Home
last modified time | relevance | path

Searched refs:coverage (Results 1 – 20 of 20) sorted by relevance

/build/soong/cc/
Dcoverage.go35 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())
[all …]
DAndroid.bp20 "coverage.go",
Dcc.go495 coverage *coverage member
811 if c.coverage != nil {
812 c.AddProperties(c.coverage.props()...)
875 return c.coverage.Properties.IsCoverageVariant
1306 module.coverage = &coverage{}
1507 if c.coverage != nil {
1508 flags, deps = c.coverage.flags(ctx, flags, deps)
1626 if c.coverage != nil {
1627 c.coverage.begin(ctx)
1674 if c.coverage != nil {
[all …]
Dbuilder.go496 coverage := flags.gcovCoverage
511 coverage = false
532 if coverage {
/build/soong/rust/
Dcoverage.go25 type coverage struct { struct
32 func (cov *coverage) props() []interface{} { argument
36 func (cov *coverage) deps(ctx DepsContext, deps Deps) Deps { argument
46 func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags, PathDeps) { argument
54 coverage := ctx.GetDirectDepWithTag(CovLibraryName, cc.CoverageDepTag).(cc.LinkableInterface)
58 "--coverage", "-g", coverage.OutputFile().Path().String(), "-Wl,--wrap,getenv")
59 deps.StaticLibs = append(deps.StaticLibs, coverage.OutputFile().Path())
65 func (cov *coverage) begin(ctx BaseModuleContext) { argument
Drust.go81 coverage *coverage member
328 return mod.coverage.Properties.IsCoverageVariant
334 return mod.coverage != nil && mod.coverage.Properties.NeedCoverageVariant
345 func (mod *Module) MarkAsCoverageVariant(coverage bool) {
346 mod.coverage.Properties.IsCoverageVariant = coverage
350 mod.coverage.Properties.CoverageEnabled = mod.coverage.Properties.NeedCoverageBuild
529 if mod.coverage != nil {
530 mod.AddProperties(mod.coverage.props()...)
568 module.coverage = &coverage{}
663 if mod.coverage != nil {
[all …]
DAndroid.bp17 "coverage.go",
Drust_test.go82 func testRustContext(t *testing.T, bp string, coverage bool) *android.TestContext {
91 if coverage {
/build/make/core/
Dline_coverage.mk52 intermediates := $(call intermediates-dir-for,PACKAGING,haiku-line-coverage)
76 $(SOONG_ZIP) -o $@ -D $(PRODUCT_OUT)/coverage
87 .PHONY: haiku-line-coverage
88 haiku-line-coverage: $(line_coverage_profiles) $(line_coverage_fuzz_targets)
89 $(call dist-for-goals, haiku-line-coverage, \
Dstatic_library_internal.mk42 $(package-coverage-files)
Dshared_library_internal.mk99 $(package-coverage-files)
Dexecutable_internal.mk107 $(package-coverage-files)
Denvsetup.mk352 HOST_OUT_COVERAGE := $(HOST_OUT)/coverage
367 HOST_CROSS_OUT_COVERAGE := $(HOST_CROSS_OUT)/coverage
890 TARGET_OUT_COVERAGE := $(PRODUCT_OUT)/coverage
Dsoong_cc_prebuilt.mk203 $(package-coverage-files)
Dbinary.mk1657 my_cflags += --coverage -O0
1658 my_ldflags += --coverage
Ddefinitions.mk1783 define package-coverage-files
DMakefile4948 $(COVERAGE_ZIP): PRIVATE_LIST_FILE := $(call intermediates-dir-for,PACKAGING,coverage)/filelist
/build/soong/android/
Dconfig.go1056 coverage := false
1060 coverage = true
1062 if coverage && len(c.config.productVariables.JavaCoverageExcludePaths) > 0 {
1064 coverage = false
1067 return coverage
1090 coverage := false
1093 coverage = true
1096 if coverage && len(c.config.productVariables.NativeCoverageExcludePaths) > 0 {
1098 coverage = false
1101 return coverage
/build/soong/apex/
Dapex.go1608 func (a *apexBundle) MarkAsCoverageVariant(coverage bool) {
1609 a.properties.IsCoverageVariant = coverage
/build/soong/java/
Dapp.go986 func (a *AndroidApp) MarkAsCoverageVariant(coverage bool) {
987 a.appProperties.IsCoverageVariant = coverage