mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 04:45:47 +00:00
Meson: Add 'coretracers' feature option
This was the only plugin still built when using -Dauto_features=disabled, besides coreelements.
This commit is contained in:
parent
a9162fc2ed
commit
4a554a2a68
3 changed files with 9 additions and 1 deletions
|
@ -23,6 +23,7 @@ option('libunwind', type : 'feature', value : 'auto', description : 'Use libunwi
|
||||||
option('libdw', type : 'feature', value : 'auto', description : 'Use libdw to generate better backtraces from libunwind')
|
option('libdw', type : 'feature', value : 'auto', description : 'Use libdw to generate better backtraces from libunwind')
|
||||||
option('dbghelp', type : 'feature', value : 'auto', description : 'Use dbghelp to generate backtraces')
|
option('dbghelp', type : 'feature', value : 'auto', description : 'Use dbghelp to generate backtraces')
|
||||||
option('bash-completion', type : 'feature', value : 'auto', description : 'Install bash completion files')
|
option('bash-completion', type : 'feature', value : 'auto', description : 'Install bash completion files')
|
||||||
|
option('coretracers', type : 'feature', value : 'auto', description : 'Build coretracers plugin')
|
||||||
|
|
||||||
# Common feature options
|
# Common feature options
|
||||||
option('examples', type : 'feature', value : 'auto', yield : true)
|
option('examples', type : 'feature', value : 'auto', yield : true)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
plugins = []
|
plugins = []
|
||||||
subdir('elements')
|
subdir('elements')
|
||||||
if tracer_hooks
|
if not get_option('coretracers').disabled()
|
||||||
subdir('tracers')
|
subdir('tracers')
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
if not tracer_hooks
|
||||||
|
if get_option('coretracers').enabled()
|
||||||
|
error('coretracers plugin enabled but not tracer_hooks')
|
||||||
|
endif
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
gst_tracers_sources = [
|
gst_tracers_sources = [
|
||||||
'gstlatency.c',
|
'gstlatency.c',
|
||||||
'gstleaks.c',
|
'gstleaks.c',
|
||||||
|
|
Loading…
Reference in a new issue