aboutsummaryrefslogtreecommitdiffstats
path: root/genrule
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-04-11 15:06:20 -0700
committerColin Cross <ccross@android.com>2016-04-12 15:24:02 -0700
commitc99deeb961887d402477880b338bc2792c45bed3 (patch)
tree2ec5a3e3d76fa1865ec46f11cec803fc1d4bec4f /genrule
parent8141347295ed901c4647014c9a21e2b4ae138b38 (diff)
downloadbuild_soong-c99deeb961887d402477880b338bc2792c45bed3.tar.gz
build_soong-c99deeb961887d402477880b338bc2792c45bed3.tar.bz2
build_soong-c99deeb961887d402477880b338bc2792c45bed3.zip
Use blueprint DependencyTags
Blueprint now requres DependencyTags to be passed to AddDependency calls. Use the tags to avoid setting member variables on modules, which will be lost after the mutators have been called. Change-Id: I8c1d9ed1db85a300e14394b911a516d361ba9f75
Diffstat (limited to 'genrule')
-rw-r--r--genrule/genrule.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go
index 8291d5b8..248da49c 100644
--- a/genrule/genrule.go
+++ b/genrule/genrule.go
@@ -88,7 +88,7 @@ func genruleDepsMutator(ctx common.AndroidBottomUpMutatorContext) {
ctx.AddFarVariationDependencies([]blueprint.Variation{
{"host_or_device", common.Host.String()},
{"host_type", common.CurrentHostType().String()},
- }, g.properties.Tool)
+ }, nil, g.properties.Tool)
}
}
}