Rename TransitionMutator top down mutator

TransitionMutator's top down mutator is suffixed with _deps, but
that name is often used by other mutators related to the
TransitionMutator, causing unexpected conflicts.  Use _propagate
instead.

Bug: 319288033
Test: all soong tests pass
Flag: NONE
Change-Id: Ib42c66288e47287cfda8252d435f86c7045bf4c0
This commit is contained in:
Colin Cross 2024-04-30 14:08:16 -07:00
parent 1c48101091
commit 9f260255f2

View file

@ -294,7 +294,7 @@ func (t *transitionMutatorImpl) mutateMutator(mctx BottomUpMutatorContext) {
func (c *Context) RegisterTransitionMutator(name string, mutator TransitionMutator) {
impl := &transitionMutatorImpl{name: name, mutator: mutator}
c.RegisterTopDownMutator(name+"_deps", impl.topDownMutator).Parallel()
c.RegisterTopDownMutator(name+"_propagate", impl.topDownMutator).Parallel()
c.RegisterBottomUpMutator(name, impl.bottomUpMutator).Parallel().setTransitionMutator(impl)
c.RegisterBottomUpMutator(name+"_mutate", impl.mutateMutator).Parallel()
}