aboutsummaryrefslogtreecommitdiff
path: root/qapi/meson.build
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-01-22 21:44:41 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-08 14:43:55 +0100
commitc2651c0eaa1920f6478b4d371ad13c5e1409cccd (patch)
tree410ebc84e1458d43b0e1f693551157baeb8f80a8 /qapi/meson.build
parent7fdb383d04deb13ace83419188327742daa1967e (diff)
downloadqemu-c2651c0eaa1920f6478b4d371ad13c5e1409cccd.zip
qemu-c2651c0eaa1920f6478b4d371ad13c5e1409cccd.tar.gz
qemu-c2651c0eaa1920f6478b4d371ad13c5e1409cccd.tar.bz2
qapi/meson: Restrict UI module to system emulation and tools
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210122204441.2145197-13-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi/meson.build')
-rw-r--r--qapi/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi/meson.build b/qapi/meson.build
index 7aca8d5..0652569 100644
--- a/qapi/meson.build
+++ b/qapi/meson.build
@@ -43,7 +43,6 @@ qapi_all_modules = [
'sockets',
'trace',
'transaction',
- 'ui',
'yank',
]
if have_system
@@ -57,6 +56,11 @@ if have_system
'tpm',
]
endif
+if have_system or have_tools
+ qapi_all_modules += [
+ 'ui',
+ ]
+endif
qapi_storage_daemon_modules = [
'block-core',