]> git.proxmox.com Git - mirror_qemu.git/blame - backends/meson.build
cryptodev: Introduce cryptodev alg type in QAPI
[mirror_qemu.git] / backends / meson.build
CommitLineData
ab318051
MAL
1softmmu_ss.add([files(
2 'cryptodev-builtin.c',
3 'cryptodev.c',
4 'hostmem-ram.c',
5 'hostmem.c',
6 'rng-builtin.c',
7 'rng-egd.c',
8 'rng.c',
f91f9f25 9 'confidential-guest-support.c',
ab318051
MAL
10), numa])
11
12softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
13softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
14softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
39fff6f3
LH
15if keyutils.found()
16 softmmu_ss.add(keyutils, files('cryptodev-lkcf.c'))
17endif
43b6d7ee
PB
18if have_vhost_user
19 softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
20endif
ab318051 21softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
43b6d7ee
PB
22if have_vhost_user_crypto
23 softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
24endif
7544060e 25softmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
c6c02320 26softmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
ab318051
MAL
27
28subdir('tpm')