]> git.proxmox.com Git - mirror_qemu.git/blob - fsdev/meson.build
fsdev: open brace '{' following struct go on the same line
[mirror_qemu.git] / fsdev / meson.build
1 fsdev_ss = ss.source_set()
2 fsdev_ss.add(files('qemu-fsdev-opts.c', 'qemu-fsdev-throttle.c'))
3 fsdev_ss.add(when: 'CONFIG_ALL', if_true: files('qemu-fsdev-dummy.c'))
4 fsdev_ss.add(when: ['CONFIG_FSDEV_9P'], if_true: files(
5 '9p-iov-marshal.c',
6 '9p-marshal.c',
7 'qemu-fsdev.c',
8 ), if_false: files('qemu-fsdev-dummy.c'))
9 softmmu_ss.add_all(when: 'CONFIG_LINUX', if_true: fsdev_ss)
10
11 have_virtfs_proxy_helper = have_tools and libattr.found() and libcap_ng.found() and 'CONFIG_VIRTFS' in config_host
12 if have_virtfs_proxy_helper
13 executable('virtfs-proxy-helper',
14 files('virtfs-proxy-helper.c', '9p-marshal.c', '9p-iov-marshal.c'),
15 dependencies: [qemuutil, libattr, libcap_ng],
16 install: true,
17 install_dir: get_option('libexecdir'))
18 endif