From 61e4e65ea6fb08aeac3f96f47bdc771a6b718bba Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 25 Nov 2022 10:46:53 +0100 Subject: [PATCH] build: unify server & client protocol generation No need to make a difference here, let's just generate header files for both. (cherry picked from commit 5be5a038da8a3789a19945719f2a27233291445d) --- protocols/meson.build | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/protocols/meson.build b/protocols/meson.build index bc5c35fdd..11d2cb8f6 100644 --- a/protocols/meson.build +++ b/protocols/meson.build @@ -18,13 +18,6 @@ protocols = [ 'wlr-output-power-management-unstable-v1.xml', ] -client_protocols = [ - wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml', - wl_protocol_dir / 'unstable/xdg-output/xdg-output-unstable-v1.xml', - 'wlr-layer-shell-unstable-v1.xml', - 'wlr-input-inhibitor-unstable-v1.xml', -] - wl_protos_src = [] wl_protos_headers = [] @@ -41,9 +34,6 @@ foreach xml : protocols output: '@BASENAME@-protocol.h', command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'], ) -endforeach - -foreach xml : client_protocols wl_protos_headers += custom_target( xml.underscorify() + '_client_h', input: xml,