mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
gst-plugins-base: put valgrind header availability define into config.h for subparse
Make the valgrind header avaibility accessible to any code in gst-plugins-base, currently it was only signalled to unit tests. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7126>
This commit is contained in:
parent
506af5b8e4
commit
084f6b3fbe
2 changed files with 3 additions and 5 deletions
|
@ -303,6 +303,9 @@ if get_option('default_library') == 'static'
|
|||
gst_plugins_base_args += ['-DGST_STATIC_COMPILATION']
|
||||
endif
|
||||
|
||||
valgrind_dep = dependency('valgrind', required: false)
|
||||
core_conf.set('HAVE_VALGRIND', valgrind_dep.found())
|
||||
|
||||
libdrm_dep = dependency('libdrm', version : '>= 2.4.98',
|
||||
required : get_option('drm'),
|
||||
allow_fallback: host_system not in ['darwin', 'ios', 'android', 'windows']
|
||||
|
|
|
@ -129,11 +129,6 @@ test_defines = [
|
|||
'-DGST_USE_UNSTABLE_API',
|
||||
]
|
||||
|
||||
valgrind_dep = dependency('valgrind', required: false)
|
||||
if valgrind_dep.found()
|
||||
test_defines += ['-DHAVE_VALGRIND']
|
||||
endif
|
||||
|
||||
if build_gstgl
|
||||
test_defines += ['-DTEST_GST_GL_ABI_CHECK']
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue