summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-05-22 17:06:35 -0700
committerDylan Baker <[email protected]>2019-10-10 16:33:04 -0700
commit56db696875dbac9b5604319bf247da3aaf40ee11 (patch)
tree34d8e9e61627bd16b8fbef4f0f2210befc9f644b /src/gallium/tests/meson.build
parent880ca3c964ee724e8778be824ed51bf9e84c643f (diff)
meson: don't build gallium trivial tests on windows
They require the pipe-loaders, which require xmlconfig, which doesn't build with msvc. Acked-by: Eric Engestrom <[email protected]> Acked-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/tests/meson.build')
-rw-r--r--src/gallium/tests/meson.build9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/tests/meson.build b/src/gallium/tests/meson.build
index 080bd8485b0..15b9f549647 100644
--- a/src/gallium/tests/meson.build
+++ b/src/gallium/tests/meson.build
@@ -18,6 +18,11 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-subdir('trivial')
-subdir('unit')
+if not with_platform_windows
+ # pipe-loader doesn't build on windows.
+ subdir('trivial')
+endif
+if with_gallium_softpipe
+ subdir('unit')
+endif
subdir('graw')