diff options
author | 2025-02-11 12:03:24 -0800 | |
---|---|---|
committer | 2025-02-11 16:05:02 -0800 | |
commit | a679277632b2a5a20796c6f243590d98c243205c (patch) | |
tree | 66c97653743ec3ad20caf2ded5189b6c589b9f95 /android/mutator_test.go | |
parent | d5d2bf99c5b43d5788b4865ade84722ebd60a1f9 (diff) |
Remove top down mutators
Top down mutators are no longer used in Soong!
Bug: 367784740
Test: builds
Change-Id: I26114a2412277b82edafc4dc5849c3688d184361
Diffstat (limited to 'android/mutator_test.go')
-rw-r--r-- | android/mutator_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/mutator_test.go b/android/mutator_test.go index 60a61199f..123c6b203 100644 --- a/android/mutator_test.go +++ b/android/mutator_test.go @@ -54,7 +54,7 @@ func (m *mutatorTestModule) DepsMutator(ctx BottomUpMutatorContext) { ctx.AddDependency(ctx.Module(), nil, m.props.Deps_missing_deps...) } -func addMissingDependenciesMutator(ctx TopDownMutatorContext) { +func addMissingDependenciesMutator(ctx BottomUpMutatorContext) { ctx.AddMissingDependencies(ctx.Module().(*mutatorTestModule).props.Mutator_missing_deps) } @@ -72,7 +72,7 @@ func TestMutatorAddMissingDependencies(t *testing.T) { FixtureRegisterWithContext(func(ctx RegistrationContext) { ctx.RegisterModuleType("test", mutatorTestModuleFactory) ctx.PreDepsMutators(func(ctx RegisterMutatorsContext) { - ctx.TopDown("add_missing_dependencies", addMissingDependenciesMutator) + ctx.BottomUp("add_missing_dependencies", addMissingDependenciesMutator) }) }), FixtureWithRootAndroidBp(bp), |