diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-25 10:46:53 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-26 10:29:58 +0100 |
commit | 61e4e65ea6fb08aeac3f96f47bdc771a6b718bba (patch) | |
tree | 1ab3182038a8ca6b8d4e208f80fb687715d0e5f0 | |
parent | build: drop wayland-scanner fallback (diff) | |
download | sway-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.build | 10 |
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 | ||
21 | client_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 | |||
28 | wl_protos_src = [] | 21 | wl_protos_src = [] |
29 | wl_protos_headers = [] | 22 | wl_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 | ) |
44 | endforeach | ||
45 | |||
46 | foreach 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, |