diff options
Diffstat (limited to 'genrule')
-rw-r--r-- | genrule/genrule.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index c142c53e..651ec15d 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -134,7 +134,7 @@ func (g *Module) DepsMutator(ctx android.BottomUpMutatorContext) { if g, ok := ctx.Module().(*Module); ok { if len(g.properties.Tools) > 0 { ctx.AddFarVariationDependencies([]blueprint.Variation{ - {"arch", ctx.AConfig().BuildOsVariant}, + {"arch", ctx.Config().BuildOsVariant}, }, hostToolDepTag, g.properties.Tools...) } } @@ -168,7 +168,7 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) { if t, ok := module.(HostToolProvider); ok { if !t.(android.Module).Enabled() { - if ctx.AConfig().AllowMissingDependencies() { + if ctx.Config().AllowMissingDependencies() { ctx.AddMissingDependencies([]string{tool}) } else { ctx.ModuleErrorf("depends on disabled module %q", tool) |