2021-01-29 19:46:07 +03:00
|
|
|
remote_ss = ss.source_set()
|
|
|
|
|
|
|
|
remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('machine.c'))
|
2021-01-29 19:46:10 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('mpqemu-link.c'))
|
2021-01-29 19:46:11 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('message.c'))
|
2021-01-29 19:46:12 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('remote-obj.c'))
|
2021-01-29 19:46:14 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy.c'))
|
2021-01-29 19:46:19 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('iohub.c'))
|
2022-06-13 23:26:30 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('iommu.c'))
|
2021-01-29 19:46:07 +03:00
|
|
|
|
2022-06-13 23:26:24 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: libvfio_user_dep)
|
2023-08-31 11:58:23 +03:00
|
|
|
remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: files('vfio-user-obj.c'),
|
|
|
|
if_false: files('vfio-user-obj-stub.c'))
|
|
|
|
remote_ss.add(when: 'CONFIG_ALL', if_true: files('vfio-user-obj-stub.c'))
|
2022-06-13 23:26:24 +03:00
|
|
|
|
2021-01-29 19:46:13 +03:00
|
|
|
specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('memory.c'))
|
2021-01-29 19:46:18 +03:00
|
|
|
specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy-memory-listener.c'))
|
2021-01-29 19:46:13 +03:00
|
|
|
|
2023-06-13 16:33:47 +03:00
|
|
|
system_ss.add_all(when: 'CONFIG_MULTIPROCESS', if_true: remote_ss)
|