Merge "Convert coverageMutator to a TransitionMutator" into main

This commit is contained in:
Colin Cross
2024-01-25 23:19:29 +00:00
committed by Gerrit Code Review
7 changed files with 77 additions and 34 deletions

View File

@@ -535,7 +535,7 @@ func (mod *Module) isCoverageVariant() bool {
var _ cc.Coverage = (*Module)(nil)
func (mod *Module) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
func (mod *Module) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool {
return mod.coverage != nil && mod.coverage.Properties.NeedCoverageVariant
}