aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-11-25 10:46:53 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2022-11-26 10:29:58 +0100
commit61e4e65ea6fb08aeac3f96f47bdc771a6b718bba (patch)
tree1ab3182038a8ca6b8d4e208f80fb687715d0e5f0
parentbuild: drop wayland-scanner fallback (diff)
downloadsway-61e4e65ea6fb08aeac3f96f47bdc771a6b718bba.tar.gz
sway-61e4e65ea6fb08aeac3f96f47bdc771a6b718bba.tar.zst
sway-61e4e65ea6fb08aeac3f96f47bdc771a6b718bba.zip
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)
-rw-r--r--protocols/meson.build10
1 files changed, 0 insertions, 10 deletions
diff --git a/protocols/meson.build b/protocols/meson.build
index bc5c35fd..11d2cb8f 100644
--- a/protocols/meson.build
+++ b/protocols/meson.build
@@ -18,13 +18,6 @@ protocols = [
18 'wlr-output-power-management-unstable-v1.xml', 18 'wlr-output-power-management-unstable-v1.xml',
19] 19]
20 20
21client_protocols = [
22 wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml',
23 wl_protocol_dir / 'unstable/xdg-output/xdg-output-unstable-v1.xml',
24 'wlr-layer-shell-unstable-v1.xml',
25 'wlr-input-inhibitor-unstable-v1.xml',
26]
27
28wl_protos_src = [] 21wl_protos_src = []
29wl_protos_headers = [] 22wl_protos_headers = []
30 23
@@ -41,9 +34,6 @@ foreach xml : protocols
41 output: '@BASENAME@-protocol.h', 34 output: '@BASENAME@-protocol.h',
42 command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'], 35 command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
43 ) 36 )
44endforeach
45
46foreach xml : client_protocols
47 wl_protos_headers += custom_target( 37 wl_protos_headers += custom_target(
48 xml.underscorify() + '_client_h', 38 xml.underscorify() + '_client_h',
49 input: xml, 39 input: xml,