summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-11-25 10:46:53 +0100
committerFurkan Sahin <furkan-dev@proton.me>2022-11-25 10:46:53 +0100
commit989cd56b8749cccecace0e102ccd1b7bb835dd9d (patch)
tree1ab3182038a8ca6b8d4e208f80fb687715d0e5f0
parent352755aac7cb1ea7fd8bcdbf765253ec33f8b93f (diff)
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 = [
'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,