mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
tests: fix build when not building gstgl
gstgl_dep is only defined when build_gstgl is true
This commit is contained in:
parent
b5037aee2a
commit
b0d795263f
1 changed files with 15 additions and 10 deletions
|
@ -24,16 +24,6 @@ base_tests = [
|
|||
[ 'libs/sdp.c' ],
|
||||
[ 'libs/tag.c' ],
|
||||
# [ 'libs/video' ], # FIXME: times out, perhaps split or spawn conversions into benchmark tool and/or multiple threads
|
||||
[ 'libs/gstglcolorconvert.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglcontext.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglheaders.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglmatrix.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglmemory.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglquery.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglshader.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglsl.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglslstage.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglupload.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/videoencoder.c' ],
|
||||
[ 'libs/videotimecode.c' ],
|
||||
[ 'libs/xmpwriter.c' ],
|
||||
|
@ -78,6 +68,21 @@ base_tests = [
|
|||
[ 'pipelines/vorbisdec.c', not vorbisenc_dep.found(),],
|
||||
]
|
||||
|
||||
if build_gstgl
|
||||
base_tests += [
|
||||
[ 'libs/gstglcolorconvert.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglcontext.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglheaders.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglmatrix.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglmemory.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglquery.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglshader.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglsl.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglslstage.c', not build_gstgl, [gstgl_dep]],
|
||||
[ 'libs/gstglupload.c', not build_gstgl, [gstgl_dep]]
|
||||
]
|
||||
endif
|
||||
|
||||
# Make sure our headers are C++ clean
|
||||
if have_cxx
|
||||
base_tests += [
|
||||
|
|
Loading…
Reference in a new issue