Merge "Add CreateAliasVariation to BottomUpMutatorContext"

This commit is contained in:
Treehugger Robot 2020-08-14 22:54:02 +00:00 committed by Gerrit Code Review
commit 046cbd1590
1 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,7 @@ type BottomUpMutatorContext interface {
ReplaceDependencies(string)
ReplaceDependenciesIf(string, blueprint.ReplaceDependencyPredicate)
AliasVariation(variationName string)
CreateAliasVariation(fromVariationName, toVariationName string)
}
type bottomUpMutatorContext struct {
@ -436,3 +437,7 @@ func (b *bottomUpMutatorContext) ReplaceDependenciesIf(name string, predicate bl
func (b *bottomUpMutatorContext) AliasVariation(variationName string) {
b.bp.AliasVariation(variationName)
}
func (b *bottomUpMutatorContext) CreateAliasVariation(fromVariationName, toVariationName string) {
b.bp.CreateAliasVariation(fromVariationName, toVariationName)
}