wayland: generalize wayland-protocols code generation
authorSimon Ser <contact@emersion.fr>
Fri, 26 Aug 2022 09:01:29 +0000 (11:01 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 3 May 2023 16:09:09 +0000 (16:09 +0000)
commit47cd010931a48fcdf259ffcd455ca065f180adc3
tree475f69ec26ffef9d62c402585c2b682531b52c90
parent0b251d43622391cbffad4a4e748e41223b2344fe
wayland: generalize wayland-protocols code generation

Make it easy to add a new protocol to the list without duplicating
logic.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22682>
meson.build
src/egl/meson.build
src/egl/wayland/wayland-drm/meson.build
src/vulkan/wsi/meson.build