Mesa (main): meson/intel: Don't build genxml tests on Android
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Aug 12 00:22:57 UTC 2021
Module: Mesa
Branch: main
Commit: ce1a66fe3e10c0467b52cc656660a9e466e92fb9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce1a66fe3e10c0467b52cc656660a9e466e92fb9
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Tue Aug 10 17:37:31 2021 -0500
meson/intel: Don't build genxml tests on Android
They require expat which we don't have on Android.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12308>
---
src/intel/common/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build
index 20ada897cc5..737da35e847 100644
--- a/src/intel/common/meson.build
+++ b/src/intel/common/meson.build
@@ -95,7 +95,7 @@ if install_intel_gpu_tests
endforeach
endif
-if with_tests
+if with_tests and not with_platform_android
gentest_xml = files('tests/gentest.xml')
_name = 'gentest_pack.h'
gentest_pack = custom_target(
More information about the mesa-commit
mailing list