mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
4fb02fc85b
Also yield common options to the outer project (gst-build in our case) so that they don't have to be set manually.
27 lines
554 B
Meson
27 lines
554 B
Meson
gst_tracers_sources = [
|
|
'gstlatency.c',
|
|
'gstleaks.c',
|
|
'gststats.c',
|
|
'gsttracers.c',
|
|
]
|
|
|
|
if gst_debug
|
|
gst_tracers_sources += ['gstlog.c']
|
|
endif
|
|
|
|
if cdata.has('HAVE_GETRUSAGE')
|
|
gst_tracers_sources += ['gstrusage.c']
|
|
endif
|
|
|
|
tracers_args = gst_c_args + ['-DGST_USE_UNSTABLE_API']
|
|
|
|
gst_tracers = library('gstcoretracers',
|
|
gst_tracers_sources,
|
|
c_args : tracers_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gst_dep],
|
|
link_with : printf_lib,
|
|
install : true,
|
|
install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
|
|
)
|
|
|