Rename HostToolProviderKey to HostToolProviderInfoProvider. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I8d73fa69b02af4872635d653d2a97ec3bff92637
diff --git a/wayland_protocol_codegen.go b/wayland_protocol_codegen.go index bb93af6..73fc960 100644 --- a/wayland_protocol_codegen.go +++ b/wayland_protocol_codegen.go
@@ -307,7 +307,7 @@ // replaced the dependency. module := android.PrebuiltGetPreferred(ctx, proxy) tool := ctx.OtherModuleName(module) - if h, ok := android.OtherModuleProvider(ctx, module, android.HostToolProviderKey); ok { + if h, ok := android.OtherModuleProvider(ctx, module, android.HostToolProviderInfoProvider); ok { // A HostToolProvider provides the path to a tool, which will be copied // into the sandbox. if !android.OtherModuleProviderOrDefault(ctx, module, android.CommonModuleInfoKey).Enabled {