2016-09-26 21:21:19 +00:00
|
|
|
gst_tracers_sources = [
|
|
|
|
'gstlatency.c',
|
|
|
|
'gstleaks.c',
|
|
|
|
'gststats.c',
|
|
|
|
'gsttracers.c',
|
|
|
|
]
|
|
|
|
|
2016-12-09 20:55:39 +00:00
|
|
|
if not disable_gst_debug
|
2016-12-09 22:28:22 +00:00
|
|
|
gst_tracers_sources += ['gstlog.c']
|
2016-12-09 20:55:39 +00:00
|
|
|
endif
|
|
|
|
|
2016-09-26 21:21:19 +00:00
|
|
|
if have_getrusage
|
|
|
|
gst_tracers_sources += ['gstrusage.c']
|
|
|
|
endif
|
|
|
|
|
2016-09-27 17:00:47 +00:00
|
|
|
tracers_args = gst_c_args + ['-DGST_USE_UNSTABLE_API']
|
|
|
|
|
2016-09-26 21:21:19 +00:00
|
|
|
gst_tracers = library('gstcoretracers',
|
|
|
|
gst_tracers_sources,
|
2016-09-27 17:00:47 +00:00
|
|
|
c_args : tracers_args,
|
2016-09-26 21:21:19 +00:00
|
|
|
include_directories : [configinc],
|
2016-10-07 10:02:44 +00:00
|
|
|
dependencies : [gst_dep],
|
2016-09-26 21:21:19 +00:00
|
|
|
link_with : printf_lib,
|
|
|
|
install : true,
|
|
|
|
install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
|
|
|
|
)
|
|
|
|
|