diff options
Diffstat (limited to 'android/proto.go')
-rw-r--r-- | android/proto.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/proto.go b/android/proto.go index 66faa20ac..91d67322b 100644 --- a/android/proto.go +++ b/android/proto.go @@ -75,7 +75,7 @@ func GetProtoFlags(ctx ModuleContext, p *ProtoProperties) ProtoFlags { } ctx.VisitDirectDepsProxyWithTag(ProtoPluginDepTag, func(dep ModuleProxy) { - if h, ok := OtherModuleProvider(ctx, dep, HostToolProviderKey); !ok || !h.HostToolPath.Valid() { + if h, ok := OtherModuleProvider(ctx, dep, HostToolProviderInfoProvider); !ok || !h.HostToolPath.Valid() { ctx.PropertyErrorf("proto.plugin", "module %q is not a host tool provider", ctx.OtherModuleName(dep)) } else { |