mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-12 03:34:34 +08:00
8bfef8bf6b
The Android CTS 10 version is relative old when compared with skia main branch, which was being used before. Some modifications in the skqp build/runner scripts were needed to make it run on CI. - skqp versions from android-cts have already all assets inside platform_tools folder. - along with the assets, are the render and unit files which are expected to pass in the Android CTS execution. - removed custom test files from the a630 folder, to make it comply with the CTS expectations. - include new patches to remove Python2 dependencies and avoid the installation of it in rootfs. - strip binariesthe built binaries `skqp` and `list_gpu_unit_tests`, as `is_debug = false` gn argument did not work, maybe it is not well tested in development builds with skia tools - use Clang instead of GCC. The GCC support is not so graceful as it is in the skia main branch, some NEON instructions needs to be turned off in the GCC compilation, causing different tests result. This change does not imply a bigger rootfs, since the built skqp binary uses GCC libc++ and other library runtimes. So clang is just a build dependency. = Changes in skqp results = Some errors were found for GL backend and unit tests. GLES and VK tests are green. All the failed tests were classified as expected to fail in the render and unit tests list. ``` gl_blur2rectsnonninepatch gl_bug339297_as_clip gl_bug6083 gl_dashtextcaps ``` ``` SRGBReadWritePixels (../../tests/SRGBReadWritePixelsTest.cpp:214 Could not create sRGB surface context. [OpenGL]) ``` Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14686>
14 lines
497 B
Diff
14 lines
497 B
Diff
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
|
|
index 454334a..1797594 100644
|
|
--- a/gn/BUILDCONFIG.gn
|
|
+++ b/gn/BUILDCONFIG.gn
|
|
@@ -80,7 +80,7 @@ if (current_cpu == "") {
|
|
is_clang = is_android || is_ios || is_mac ||
|
|
(cc == "clang" && cxx == "clang++") || clang_win != ""
|
|
if (!is_clang && !is_win) {
|
|
- is_clang = exec_script("gn/is_clang.py",
|
|
+ is_clang = exec_script("//gn/is_clang.py",
|
|
[
|
|
cc,
|
|
cxx,
|