Add AliasVariation to BottomUpMutatorContext.

Test: TreeHugger
Change-Id: Ib9c5db8f671ed8f0742183fc533dcc582269d17a
This commit is contained in:
Jaewoong Jung 2019-11-15 10:57:34 -08:00
parent 409e833def
commit 9f88ce26a8

View file

@ -151,6 +151,7 @@ type BottomUpMutatorContext interface {
AddFarVariationDependencies([]blueprint.Variation, blueprint.DependencyTag, ...string)
AddInterVariantDependency(tag blueprint.DependencyTag, from, to blueprint.Module)
ReplaceDependencies(string)
AliasVariation(variationName string)
}
type bottomUpMutatorContext struct {
@ -335,3 +336,7 @@ func (b *bottomUpMutatorContext) AddInterVariantDependency(tag blueprint.Depende
func (b *bottomUpMutatorContext) ReplaceDependencies(name string) {
b.bp.ReplaceDependencies(name)
}
func (b *bottomUpMutatorContext) AliasVariation(variationName string) {
b.bp.AliasVariation(variationName)
}