mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
build: unify server & client protocol generation
No need to make a difference here, let's just generate header files for both.
This commit is contained in:
parent
366f6ef3d3
commit
5be5a038da
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user