diff options
-rw-r--r-- | wayland_protocol_codegen.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland_protocol_codegen.go b/wayland_protocol_codegen.go index e507e61..598ac53 100644 --- a/wayland_protocol_codegen.go +++ b/wayland_protocol_codegen.go @@ -328,7 +328,7 @@ func (g *Module) generateCommonBuildActions(ctx android.ModuleContext) { case android.HostToolProvider: // A HostToolProvider provides the path to a tool, which will be copied // into the sandbox. - if !t.(android.Module).Enabled() { + if !t.(android.Module).Enabled(ctx) { if ctx.Config().AllowMissingDependencies() { ctx.AddMissingDependencies([]string{tool}) } else { |