Skip to content
Snippets Groups Projects
Commit 5add98f7 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

meson: Allow to process multiple wayland protocols

parent 22d02969
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,14 @@ phosh_resources = gnome.compile_resources(
)
shell_proto_header = gen_scanner_client_header.process('../protocol/phosh-mobile-shell.xml')
shell_proto_code = gen_scanner_client_code.process('../protocol/phosh-mobile-shell.xml')
wl_protos = [
'phosh-mobile-shell.xml',
]
wl_proto_deps = []
foreach proto: wl_protos
wl_proto_deps += gen_scanner_client_header.process('../protocol/' + proto)
wl_proto_deps += gen_scanner_client_code.process('../protocol/' + proto)
endforeach
phosh_sources = [
'background.c',
......@@ -32,10 +38,8 @@ phosh_sources = [
'settings.c',
'settings.h',
'settings/brightness.c',
shell_proto_header,
shell_proto_code,
phosh_resources,
]
] + wl_proto_deps
phosh_deps = [
dependency('gnome-desktop-3.0'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment