meson: don't build gallium trivial tests on windows
authorDylan Baker <dylan@pnwbakers.com>
Wed, 23 May 2018 00:06:35 +0000 (17:06 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 10 Oct 2019 23:33:04 +0000 (16:33 -0700)
They require the pipe-loaders, which require xmlconfig, which doesn't
build with msvc.

Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/tests/meson.build

index 080bd8485b0ab3cb64166b6c90f17ea782ecfa08..15b9f5496477e5dcd0cb0281f4656ed5fbf7c539 100644 (file)
 # 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')