Merge tag 'accel-sh4-ui-20240503' of https://github.com/philmd/qemu into staging
[qemu/armbru.git] / stubs / meson.build
blob3b9d42023cb2ba36508a6484d52c4483cfed2008
1 # If possible, add new files to other directories, by using "if_false".
2 # If you need them here, try to add them under one of the if statements
3 # below, so that it is clear who needs the stubbed functionality.
5 stub_ss.add(files('cpu-get-clock.c'))
6 stub_ss.add(files('fdset.c'))
7 stub_ss.add(files('iothread-lock.c'))
8 stub_ss.add(files('is-daemonized.c'))
9 stub_ss.add(files('monitor-core.c'))
10 stub_ss.add(files('replay-mode.c'))
11 stub_ss.add(files('trace-control.c'))
13 if have_block
14   stub_ss.add(files('bdrv-next-monitor-owned.c'))
15   stub_ss.add(files('blk-commit-all.c'))
16   stub_ss.add(files('blk-exp-close-all.c'))
17   stub_ss.add(files('blockdev-close-all-bdrv-states.c'))
18   stub_ss.add(files('change-state-handler.c'))
19   stub_ss.add(files('get-vm-name.c'))
20   stub_ss.add(files('iothread-lock-block.c'))
21   stub_ss.add(files('migr-blocker.c'))
22   stub_ss.add(files('physmem.c'))
23   stub_ss.add(files('ram-block.c'))
24   stub_ss.add(files('runstate-check.c'))
25   stub_ss.add(files('uuid.c'))
26 endif
28 if have_block or have_ga
29   stub_ss.add(files('replay-tools.c'))
30   # stubs for hooks in util/main-loop.c, util/async.c etc.
31   stub_ss.add(files('cpus-get-virtual-clock.c'))
32   stub_ss.add(files('icount.c'))
33   stub_ss.add(files('graph-lock.c'))
34   if linux_io_uring.found()
35     stub_ss.add(files('io_uring.c'))
36   endif
37   if libaio.found()
38     stub_ss.add(files('linux-aio.c'))
39   endif
40   stub_ss.add(files('qemu-timer-notify-cb.c'))
42   # stubs for monitor
43   stub_ss.add(files('monitor-internal.c'))
44   stub_ss.add(files('qmp-command-available.c'))
45   stub_ss.add(files('qmp-quit.c'))
46 endif
48 if have_ga
49   stub_ss.add(files('error-printf.c'))
50 endif
52 if have_block or have_user
53   stub_ss.add(files('qtest.c'))
54   stub_ss.add(files('vm-stop.c'))
55   stub_ss.add(files('vmstate.c'))
57   # more symbols provided by the monitor
58   stub_ss.add(files('error-printf.c'))
59 endif
61 if have_user
62   # Symbols that are used by hw/core.
63   stub_ss.add(files('cpu-synchronize-state.c'))
64   stub_ss.add(files('qdev.c'))
65 endif
67 if have_system
68   # Symbols that are only needed in some configurations.  Try not
69   # adding more of these.  If the symbol is used in specific_ss,
70   # in particular, consider defining a preprocessor macro via
71   # Kconfig or configs/targets/.
72   stub_ss.add(files('dump.c'))
73   stub_ss.add(files('cmos.c'))
74   stub_ss.add(files('fw_cfg.c'))
75   stub_ss.add(files('target-get-monitor-def.c'))
76   stub_ss.add(files('target-monitor-defs.c'))
77   stub_ss.add(files('win32-kbd-hook.c'))
78   stub_ss.add(files('xen-hw-stub.c'))
79 endif
81 if have_system or have_user
82   stub_ss.add(files('gdbstub.c'))
84   # Also included in have_system for --disable-tcg builds
85   stub_ss.add(files('replay.c'))
87   # Also included in have_system for tests/unit/test-qdev-global-props
88   stub_ss.add(files('hotplug-stubs.c'))
89   stub_ss.add(files('sysbus.c'))
90 endif