]> git.proxmox.com Git - mirror_qemu.git/blob - accel/tcg/meson.build
accel/tcg: Restrict 'qapi-commands-machine.h' to system emulation
[mirror_qemu.git] / accel / tcg / meson.build
1 tcg_ss = ss.source_set()
2 tcg_ss.add(files(
3 'tcg-all.c',
4 'cpu-exec-common.c',
5 'cpu-exec.c',
6 'tb-maint.c',
7 'tcg-runtime-gvec.c',
8 'tcg-runtime.c',
9 'translate-all.c',
10 'translator.c',
11 ))
12 tcg_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'))
13 tcg_ss.add(when: 'CONFIG_SOFTMMU', if_false: files('user-exec-stub.c'))
14 tcg_ss.add(when: 'CONFIG_PLUGIN', if_true: [files('plugin-gen.c')])
15 tcg_ss.add(when: libdw, if_true: files('debuginfo.c'))
16 tcg_ss.add(when: 'CONFIG_LINUX', if_true: files('perf.c'))
17 specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)
18
19 specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: files(
20 'cputlb.c',
21 'monitor.c',
22 ))
23
24 tcg_module_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: files(
25 'tcg-accel-ops.c',
26 'tcg-accel-ops-mttcg.c',
27 'tcg-accel-ops-icount.c',
28 'tcg-accel-ops-rr.c',
29 ))