Merge "Convert coverageMutator to a TransitionMutator" into main
This commit is contained in:
@@ -1108,7 +1108,7 @@ func (a *AndroidApp) Privileged() bool {
|
||||
return Bool(a.appProperties.Privileged)
|
||||
}
|
||||
|
||||
func (a *AndroidApp) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
|
||||
func (a *AndroidApp) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool {
|
||||
return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled()
|
||||
}
|
||||
|
||||
|
@@ -1084,7 +1084,7 @@ func (j *JavaTestImport) InstallInTestcases() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (j *TestHost) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
|
||||
func (j *TestHost) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool {
|
||||
return ctx.DeviceConfig().NativeCoverageEnabled()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user