OSDN Git Service

TODO: glx: meson: build dri based glx tests, only with -Dglx=dri
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 12 Dec 2018 17:47:36 +0000 (17:47 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 11 Jan 2019 19:19:08 +0000 (19:19 +0000)
commit62e5d649b71cf30cb252c85b9495f7c3399a0ede
tree9ca0c060a5cdb95bdf9ac4c6aeb17a593b443890
parent1319c87304000d282984bf257a7bb4781752e2c7
TODO: glx: meson: build dri based glx tests, only with -Dglx=dri

The library itself (libGL) is only built when -Dglx=dri, yet it's
accompanying tests are build even with -Dglx=xlib.

Adjust the guards, so we don't build the tests when they are not
applicable

v2:
 - Reword commit message (Dylan)
 - Drop build_by_default hunk (Dylan)

Fixes: a47c525f328 ("meson: build glx")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
(cherry picked from commit 9527f9ea2611b0793377016c8c16ec58ded7f287)
src/glx/meson.build
src/meson.build