From: Philippe Mathieu-Daudé Date: Fri, 22 Jan 2021 20:44:41 +0000 (+0100) Subject: qapi/meson: Restrict UI module to system emulation and tools X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c2651c0eaa1920f6478b4d371ad13c5e1409cccd;p=qemu.git qapi/meson: Restrict UI module to system emulation and tools Signed-off-by: Philippe Mathieu-Daudé Acked-by: Paolo Bonzini Message-Id: <20210122204441.2145197-13-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/qapi/meson.build b/qapi/meson.build index 7aca8d5048..0652569bc4 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',