meson: Fix build
[platform/upstream/gstreamer.git] / plugins / tracers / meson.build
1 gst_tracers_sources = [
2   'gstlatency.c',
3   'gstleaks.c',
4   'gststats.c',
5   'gsttracers.c',
6 ]
7
8 if not disable_gst_debug
9   gst_tracers_sources += ['gstlog.c']
10 endif
11
12 if have_getrusage
13   gst_tracers_sources += ['gstrusage.c']
14 endif
15
16 tracers_args = gst_c_args + ['-DGST_USE_UNSTABLE_API']
17
18 gst_tracers = library('gstcoretracers',
19   gst_tracers_sources,
20   c_args : tracers_args,
21   include_directories : [configinc],
22   dependencies : [gst_dep],
23   link_with : printf_lib,
24   install : true,
25   install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
26 )
27