RUSAGE_SOURCES =
endif
+if GST_DISABLE_GST_DEBUG
+LOG_SOURCES =
+else
+LOG_SOURCES = gstlog.c
+endif
+
libgstcoretracers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
libgstcoretracers_la_SOURCES = \
gstlatency.c \
- gstlog.c \
+ $(LOG_SOURCES) \
$(RUSAGE_SOURCES) \
gststats.c \
gsttracers.c
{
if (!gst_tracer_register (plugin, "latency", gst_latency_tracer_get_type ()))
return FALSE;
+#ifndef GST_DISABLE_GST_DEBUG
if (!gst_tracer_register (plugin, "log", gst_log_tracer_get_type ()))
return FALSE;
+#endif
#ifdef HAVE_GETRUSAGE
if (!gst_tracer_register (plugin, "rusage", gst_rusage_tracer_get_type ()))
return FALSE;