mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-19 07:00:03 -05:00
build-sys: meson: Allow building the daemon only
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
This commit is contained in:
parent
a67f894775
commit
4cf4a1fd5b
10 changed files with 54 additions and 16 deletions
|
|
@ -20,8 +20,6 @@ default_tests += [
|
|||
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
[ 'json-test', 'json-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
[ 'mainloop-test', 'mainloop-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
[ 'proplist-test', 'proplist-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
[ 'thread-mainloop-test', 'thread-mainloop-test.c',
|
||||
|
|
@ -32,6 +30,13 @@ default_tests += [
|
|||
[ check_dep, libm_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
]
|
||||
|
||||
if not get_option('daemon-only')
|
||||
default_tests += [
|
||||
[ 'mainloop-test', 'mainloop-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
]
|
||||
endif
|
||||
|
||||
if get_option('daemon')
|
||||
default_tests += [
|
||||
[ 'asyncmsgq-test', 'asyncmsgq-test.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue