Merge changes from topic "revert-2925209-KVPWEBRQHT" into main
* changes: Revert "Convert AFDO mutators to TransitionMutator" Revert "Remove fdoProfileMutator"
This commit is contained in:
@@ -44,14 +44,14 @@ func (afdo *afdo) addDep(ctx BaseModuleContext, actx android.BottomUpMutatorCont
|
||||
if err != nil {
|
||||
ctx.ModuleErrorf("%s", err.Error())
|
||||
}
|
||||
if fdoProfileName != "" {
|
||||
if fdoProfileName != nil {
|
||||
actx.AddFarVariationDependencies(
|
||||
[]blueprint.Variation{
|
||||
{Mutator: "arch", Variation: actx.Target().ArchVariation()},
|
||||
{Mutator: "os", Variation: "android"},
|
||||
},
|
||||
cc.FdoProfileTag,
|
||||
[]string{fdoProfileName}...,
|
||||
[]string{*fdoProfileName}...,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user