diff options
author | Colin Cross <ccross@android.com> | 2016-06-03 01:50:47 +0000 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2016-06-03 01:50:47 +0000 |
commit | b9db480385745a9f42ea3f49a16877cb048960a9 (patch) | |
tree | 78705832794502be088258aaeda9efc9a2793188 /genrule/genrule.go | |
parent | 54c7112c4325426eabda5fa96a8d3c4f61cb8cc7 (diff) | |
download | build_soong-b9db480385745a9f42ea3f49a16877cb048960a9.tar.gz build_soong-b9db480385745a9f42ea3f49a16877cb048960a9.tar.bz2 build_soong-b9db480385745a9f42ea3f49a16877cb048960a9.zip |
Revert "Simplify arch target handling"
This reverts commit 6713fb26cbcadf525cd75e47d7d0cbc23d282b3e.
Change-Id: Ic473cea2563b0b37dc08b0bc5d3a0ac8c4b6afe6
Diffstat (limited to 'genrule/genrule.go')
-rw-r--r-- | genrule/genrule.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index a50af1c6..a195b24f 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -97,7 +97,8 @@ func genruleDepsMutator(ctx android.BottomUpMutatorContext) { if g, ok := ctx.Module().(*generator); ok { if g.properties.Tool != "" { ctx.AddFarVariationDependencies([]blueprint.Variation{ - {"arch", ctx.AConfig().BuildOsVariant}, + {"host_or_device", android.Host.String()}, + {"host_type", android.CurrentHostType().String()}, }, nil, g.properties.Tool) } } |