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>
This commit is contained in:
Philippe Mathieu-Daudé 2021-01-22 21:44:41 +01:00 committed by Paolo Bonzini
parent 7fdb383d04
commit c2651c0eaa

View File

@ -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',