summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2019-11-15 10:57:34 -0800
committer Jaewoong Jung <jungjw@google.com> 2019-11-15 10:57:34 -0800
commit9f88ce26a80dc85cb3a6033f52e9fbc82c400ed1 (patch)
tree65693a99e3f7713db17a52484ca75ecb6dbfeba8
parent409e833def0d25b20e0a77286318499fc90f5c41 (diff)
Add AliasVariation to BottomUpMutatorContext.
Test: TreeHugger Change-Id: Ib9c5db8f671ed8f0742183fc533dcc582269d17a
-rw-r--r--android/mutator.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/mutator.go b/android/mutator.go
index 4a5338fcd..df68726d2 100644
--- a/android/mutator.go
+++ b/android/mutator.go
@@ -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)
+}