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:
parent
1c48101091
commit
9f260255f2
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ func (t *transitionMutatorImpl) mutateMutator(mctx BottomUpMutatorContext) {
|
||||||
func (c *Context) RegisterTransitionMutator(name string, mutator TransitionMutator) {
|
func (c *Context) RegisterTransitionMutator(name string, mutator TransitionMutator) {
|
||||||
impl := &transitionMutatorImpl{name: name, mutator: mutator}
|
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, impl.bottomUpMutator).Parallel().setTransitionMutator(impl)
|
||||||
c.RegisterBottomUpMutator(name+"_mutate", impl.mutateMutator).Parallel()
|
c.RegisterBottomUpMutator(name+"_mutate", impl.mutateMutator).Parallel()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue