mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-24 02:34:17 +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>
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
cc = "clang"
|
|
cxx = "clang++"
|
|
|
|
extra_cflags = [ "-DSK_ENABLE_DUMP_GPU", "-DSK_BUILD_FOR_SKQP" ]
|
|
extra_cflags_cc = [
|
|
"-Wno-error",
|
|
|
|
# skqp build process produces a lot of compilation warnings, silencing
|
|
# most of them to remove clutter and avoid the CI job log to exceed the
|
|
# maximum size
|
|
|
|
# GCC flags
|
|
"-Wno-redundant-move",
|
|
"-Wno-suggest-override",
|
|
"-Wno-class-memaccess",
|
|
"-Wno-deprecated-copy",
|
|
"-Wno-uninitialized",
|
|
|
|
# Clang flags
|
|
"-Wno-macro-redefined",
|
|
"-Wno-anon-enum-enum-conversion",
|
|
"-Wno-suggest-destructor-override",
|
|
"-Wno-return-std-move-in-c++11",
|
|
"-Wno-extra-semi-stmt",
|
|
]
|
|
|
|
cc_wrapper = "ccache"
|
|
|
|
is_debug = false
|
|
|
|
skia_enable_fontmgr_android = false
|
|
skia_enable_fontmgr_empty = true
|
|
skia_enable_pdf = false
|
|
skia_enable_skottie = false
|
|
|
|
skia_skqp_global_error_tolerance = 8
|
|
skia_tools_require_resources = true
|
|
|
|
skia_use_dng_sdk = false
|
|
skia_use_expat = true
|
|
skia_use_icu = false
|
|
skia_use_libheif = false
|
|
skia_use_lua = false
|
|
skia_use_piex = false
|
|
skia_use_vulkan = true
|
|
|
|
target_os = "linux"
|