diff options
Diffstat (limited to 'genrule/genrule.go')
-rw-r--r-- | genrule/genrule.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index a195b24f..a50af1c6 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -97,8 +97,7 @@ func genruleDepsMutator(ctx android.BottomUpMutatorContext) { if g, ok := ctx.Module().(*generator); ok { if g.properties.Tool != "" { ctx.AddFarVariationDependencies([]blueprint.Variation{ - {"host_or_device", android.Host.String()}, - {"host_type", android.CurrentHostType().String()}, + {"arch", ctx.AConfig().BuildOsVariant}, }, nil, g.properties.Tool) } } |