From 5be5a038da8a3789a19945719f2a27233291445d 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. --- protocols/meson.build | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/protocols/meson.build b/protocols/meson.build index 59c58122..3f3ad214 100644 --- a/protocols/meson.build +++ b/protocols/meson.build @@ -19,13 +19,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 = [] @@ -42,9 +35,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,