meson.build 745 B

12345678910111213141516171819
  1. softmmu_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',
  9. ), numa])
  10. softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
  11. softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
  12. softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
  13. softmmu_ss.add(when: ['CONFIG_VHOST_USER', 'CONFIG_VIRTIO'], if_true: files('vhost-user.c'))
  14. softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
  15. softmmu_ss.add(when: ['CONFIG_VIRTIO_CRYPTO', 'CONFIG_VHOST_CRYPTO'], if_true: files('cryptodev-vhost-user.c'))
  16. softmmu_ss.add(when: 'CONFIG_GIO', if_true: [files('dbus-vmstate.c'), gio])
  17. subdir('tpm')