Rename android.CommonPropertiesProvider to android.CommonModuleInfo. am: e41032b2b6 Original change: https://android-review.googlesource.com/c/platform/external/wayland-protocols/+/3348505 Change-Id: Iaee9096426310e53f94a9346d2ca2e09b4f8df20 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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 {