diff options
author | 2025-01-15 00:27:02 +0000 | |
---|---|---|
committer | 2025-01-15 20:54:38 +0000 | |
commit | 2da9d9abca8e1a355f8b9fcbb3ae550bfb40a8b6 (patch) | |
tree | 4f1bb3e56679ae539a4afbac1143281a39804c34 /android/proto.go | |
parent | c41eae5e45123a48fd3ec9a3723fdf7adbb6f148 (diff) |
Convert dex2oatPathFromDep to use ModuleProxy.
Bug: 377723687
Test: Unit tests and compare the ninja and mk files generated.
Change-Id: I99ffe88179991da8e5963605bf76666c8945d290
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 { |