gstreamer/plugins/tracers/meson.build

35 lines
753 B
Meson
Raw Normal View History

if not tracer_hooks
if get_option('coretracers').enabled()
error('coretracers plugin enabled but not tracer_hooks')
endif
subdir_done()
endif
2016-09-26 21:21:19 +00:00
gst_tracers_sources = [
'gstlatency.c',
'gstleaks.c',
'gststats.c',
'gsttracers.c',
]
if gst_debug
2016-12-09 22:28:22 +00:00
gst_tracers_sources += ['gstlog.c']
endif
if cdata.has('HAVE_GETRUSAGE')
2016-09-26 21:21:19 +00:00
gst_tracers_sources += ['gstrusage.c']
endif
tracers_args = gst_c_args + ['-DGST_USE_UNSTABLE_API']
2016-09-26 21:21:19 +00:00
gst_tracers = library('gstcoretracers',
gst_tracers_sources,
c_args : tracers_args,
2016-09-26 21:21:19 +00:00
include_directories : [configinc],
dependencies : [gst_dep],
2016-09-26 21:21:19 +00:00
install : true,
install_dir : plugins_install_dir,
2016-09-26 21:21:19 +00:00
)
pkgconfig.generate(gst_tracers, install_dir : plugins_pkgconfig_install_dir)
plugins += [gst_tracers]