Merge "Update the context used in the image interface" into main am: 4a1cd15f9b Original change: https://android-review.googlesource.com/c/platform/external/wayland-protocols/+/3308957 Change-Id: I8d2b38d74e66f16361b61ae6512098f6c2c481ee 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 ee4d56a..3413993 100644 --- a/wayland_protocol_codegen.go +++ b/wayland_protocol_codegen.go
@@ -636,16 +636,16 @@ type noopImageInterface struct{} -func (x noopImageInterface) ImageMutatorBegin(android.BaseModuleContext) {} -func (x noopImageInterface) VendorVariantNeeded(android.BaseModuleContext) bool { return false } -func (x noopImageInterface) ProductVariantNeeded(android.BaseModuleContext) bool { return false } -func (x noopImageInterface) CoreVariantNeeded(android.BaseModuleContext) bool { return false } -func (x noopImageInterface) RamdiskVariantNeeded(android.BaseModuleContext) bool { return false } -func (x noopImageInterface) VendorRamdiskVariantNeeded(android.BaseModuleContext) bool { return false } -func (x noopImageInterface) DebugRamdiskVariantNeeded(android.BaseModuleContext) bool { return false } -func (x noopImageInterface) RecoveryVariantNeeded(android.BaseModuleContext) bool { return false } -func (x noopImageInterface) ExtraImageVariations(ctx android.BaseModuleContext) []string { return nil } -func (x noopImageInterface) SetImageVariation(ctx android.BaseModuleContext, variation string) { +func (x noopImageInterface) ImageMutatorBegin(android.ImageInterfaceContext) {} +func (x noopImageInterface) VendorVariantNeeded(android.ImageInterfaceContext) bool { return false } +func (x noopImageInterface) ProductVariantNeeded(android.ImageInterfaceContext) bool { return false } +func (x noopImageInterface) CoreVariantNeeded(android.ImageInterfaceContext) bool { return false } +func (x noopImageInterface) RamdiskVariantNeeded(android.ImageInterfaceContext) bool { return false } +func (x noopImageInterface) VendorRamdiskVariantNeeded(android.ImageInterfaceContext) bool { return false } +func (x noopImageInterface) DebugRamdiskVariantNeeded(android.ImageInterfaceContext) bool { return false } +func (x noopImageInterface) RecoveryVariantNeeded(android.ImageInterfaceContext) bool { return false } +func (x noopImageInterface) ExtraImageVariations(ctx android.ImageInterfaceContext) []string { return nil } +func (x noopImageInterface) SetImageVariation(ctx android.ImageInterfaceContext, variation string) { } // Constructs a Module for handling the code generation.