meson: Build tracers
[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   'gstlog.c'
7 ]
8
9 if have_getrusage
10   gst_tracers_sources += ['gstrusage.c']
11 endif
12
13 gst_tracers = library('gstcoretracers',
14   gst_tracers_sources,
15   c_args : gst_c_args + ['-DGST_USE_UNSTABLE_API'],
16   include_directories : [configinc],
17   dependencies : [gst_dep, unwind_dep],
18   link_with : printf_lib,
19   install : true,
20   install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
21 )
22