diff options
| author | Colin Cross <ccross@android.com> | 2024-01-19 15:41:48 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2024-01-24 10:17:10 -0800 |
| commit | f5f4ad3db6b3c0a58381ed808467c174491adbb3 (patch) | |
| tree | 2290800d9e0502cfc701b2929103532b7f8e58c5 /apex | |
| parent | 4aa3e0ab81bc7d8db74e9991d6876d19770179ae (diff) | |
Convert coverageMutator to a TransitionMutator
Convert coverageMutator to a TransitionMutator as a step towards
variants-on-demand.
Bug: 319288033
Test: coverage_test.go
Test: treehugger coverage builds
Change-Id: Ic50c0040dea8b42c36b5d784221daa00b7b0d379
Diffstat (limited to 'apex')
| -rw-r--r-- | apex/apex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/apex.go b/apex/apex.go index 5b0def0d8..492431120 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -1418,7 +1418,7 @@ func (a *apexBundle) TaggedOutputs() map[string]android.Paths { var _ cc.Coverage = (*apexBundle)(nil) // Implements cc.Coverage -func (a *apexBundle) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool { +func (a *apexBundle) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool { return ctx.DeviceConfig().NativeCoverageEnabled() } |
