Convert LTO mutators to TransitionMutator
Convert ltoDepsMutator and ltoMutator to a TransitionMutator as a step towards variants-on-demand. Bug: 319288033 Test: lto_test.go Change-Id: I2c9af73fd526adf58ff626831ababea466338205
This commit is contained in:
3
cc/cc.go
3
cc/cc.go
@@ -76,8 +76,7 @@ func RegisterCCBuildComponents(ctx android.RegistrationContext) {
|
||||
ctx.TopDown("orderfile_deps", orderfileDepsMutator)
|
||||
ctx.BottomUp("orderfile", orderfileMutator).Parallel()
|
||||
|
||||
ctx.TopDown("lto_deps", ltoDepsMutator)
|
||||
ctx.BottomUp("lto", ltoMutator).Parallel()
|
||||
ctx.Transition("lto", <oTransitionMutator{})
|
||||
|
||||
ctx.BottomUp("check_linktype", checkLinkTypeMutator).Parallel()
|
||||
ctx.TopDown("double_loadable", checkDoubleLoadableLibraries).Parallel()
|
||||
|
Reference in New Issue
Block a user