Rename android.CommonPropertiesProvider to android.CommonModuleInfo. Bug: 377723687 Test: Compare the ninja and mk files generated. Change-Id: If81fa4a0151462dba9bdc1458a228bef86950ba3
diff --git a/wayland_protocol_codegen.go b/wayland_protocol_codegen.go index 3413993..bb93af6 100644 --- a/wayland_protocol_codegen.go +++ b/wayland_protocol_codegen.go
@@ -128,7 +128,7 @@ func (t hostToolDependencyTag) AllowDisabledModuleDependencyProxy( ctx android.OtherModuleProviderContext, target android.ModuleProxy) bool { return android.OtherModuleProviderOrDefault( - ctx, target, android.CommonPropertiesProviderKey).ReplacedByPrebuilt + ctx, target, android.CommonModuleInfoKey).ReplacedByPrebuilt } var _ android.AllowDisabledModuleDependency = (*hostToolDependencyTag)(nil) @@ -310,7 +310,7 @@ if h, ok := android.OtherModuleProvider(ctx, module, android.HostToolProviderKey); ok { // A HostToolProvider provides the path to a tool, which will be copied // into the sandbox. - if !android.OtherModuleProviderOrDefault(ctx, module, android.CommonPropertiesProviderKey).Enabled { + if !android.OtherModuleProviderOrDefault(ctx, module, android.CommonModuleInfoKey).Enabled { if ctx.Config().AllowMissingDependencies() { ctx.AddMissingDependencies([]string{tool}) } else {