mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +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/7129>
This commit is contained in:
parent
63196c2ae7
commit
051b8b6dbb
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']
|
gst_plugins_base_args += ['-DGST_STATIC_COMPILATION']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
valgrind_dep = dependency('valgrind', required: false)
|
||||||
|
core_conf.set('HAVE_VALGRIND', valgrind_dep.found())
|
||||||
|
|
||||||
libdrm_dep = dependency('libdrm', version : '>= 2.4.98',
|
libdrm_dep = dependency('libdrm', version : '>= 2.4.98',
|
||||||
required : get_option('drm'),
|
required : get_option('drm'),
|
||||||
allow_fallback: host_system not in ['darwin', 'ios', 'android', 'windows']
|
allow_fallback: host_system not in ['darwin', 'ios', 'android', 'windows']
|
||||||
|
|
|
@ -129,11 +129,6 @@ test_defines = [
|
||||||
'-DGST_USE_UNSTABLE_API',
|
'-DGST_USE_UNSTABLE_API',
|
||||||
]
|
]
|
||||||
|
|
||||||
valgrind_dep = dependency('valgrind', required: false)
|
|
||||||
if valgrind_dep.found()
|
|
||||||
test_defines += ['-DHAVE_VALGRIND']
|
|
||||||
endif
|
|
||||||
|
|
||||||
if build_gstgl
|
if build_gstgl
|
||||||
test_defines += ['-DTEST_GST_GL_ABI_CHECK']
|
test_defines += ['-DTEST_GST_GL_ABI_CHECK']
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue