diff options
author | 2024-01-19 15:41:48 -0800 | |
---|---|---|
committer | 2024-01-24 10:17:10 -0800 | |
commit | f5f4ad3db6b3c0a58381ed808467c174491adbb3 (patch) | |
tree | 2290800d9e0502cfc701b2929103532b7f8e58c5 /filesystem/filesystem.go | |
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 'filesystem/filesystem.go')
-rw-r--r-- | filesystem/filesystem.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index 7b207d6ce..2f6476c82 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -512,6 +512,6 @@ func sha1sum(values []string) string { var _ cc.UseCoverage = (*filesystem)(nil) -func (*filesystem) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool { +func (*filesystem) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool { return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled() } |