aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
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-25 10:46:53 +0100
commit5be5a038da8a3789a19945719f2a27233291445d (patch)
tree5d60b22cf6b617571b1ecfc1932f2a309dad5a26 /protocols
parentbuild: drop wayland-scanner fallback (diff)
downloadsway-5be5a038da8a3789a19945719f2a27233291445d.tar.gz
sway-5be5a038da8a3789a19945719f2a27233291445d.tar.zst
sway-5be5a038da8a3789a19945719f2a27233291445d.zip
build: unify server & client protocol generation
No need to make a difference here, let's just generate header files for both.
Diffstat (limited to 'protocols')
-rw-r--r--protocols/meson.build10
1 files changed, 0 insertions, 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 = [
19 'wlr-output-power-management-unstable-v1.xml', 19 'wlr-output-power-management-unstable-v1.xml',
20] 20]
21 21
22client_protocols = [
23 wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml',
24 wl_protocol_dir / 'unstable/xdg-output/xdg-output-unstable-v1.xml',
25 'wlr-layer-shell-unstable-v1.xml',
26 'wlr-input-inhibitor-unstable-v1.xml',
27]
28
29wl_protos_src = [] 22wl_protos_src = []
30wl_protos_headers = [] 23wl_protos_headers = []
31 24
@@ -42,9 +35,6 @@ foreach xml : protocols
42 output: '@BASENAME@-protocol.h', 35 output: '@BASENAME@-protocol.h',
43 command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'], 36 command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'],
44 ) 37 )
45endforeach
46
47foreach xml : client_protocols
48 wl_protos_headers += custom_target( 38 wl_protos_headers += custom_target(
49 xml.underscorify() + '_client_h', 39 xml.underscorify() + '_client_h',
50 input: xml, 40 input: xml,