qapi: allow unions to contain further unions
[qemu/armbru.git] / backends / meson.build
blobb369e0a9d009207bc3e209aa76320b38cb30fc69
1 softmmu_ss.add([files(
2   'cryptodev-builtin.c',
3   'cryptodev-hmp-cmds.c',
4   'cryptodev.c',
5   'hostmem-ram.c',
6   'hostmem.c',
7   'rng-builtin.c',
8   'rng-egd.c',
9   'rng.c',
10   'confidential-guest-support.c',
11 ), numa])
13 softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
14 softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
15 softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
16 if keyutils.found()
17     softmmu_ss.add(keyutils, files('cryptodev-lkcf.c'))
18 endif
19 if have_vhost_user
20   softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
21 endif
22 softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
23 if have_vhost_user_crypto
24   softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
25 endif
26 softmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
27 softmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
29 subdir('tpm')