meson: Add option to ignore artificial Android limitations
Some capabilities are artificially disabled on Android to avoid running afoul of the CTS. Make this behaviour opt-out so devices that don't need strict conformance can take advantage of the full capabilities of the driver. Signed-off-by: Chris Spencer <spencercw@gmail.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Acked-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25101>
This commit is contained in:
@@ -891,6 +891,9 @@ if with_platform_android
|
||||
'-DANDROID',
|
||||
'-DANDROID_API_LEVEL=' + get_option('platform-sdk-version').to_string()
|
||||
]
|
||||
if get_option('android-strict')
|
||||
pre_args += '-DANDROID_STRICT'
|
||||
endif
|
||||
endif
|
||||
|
||||
# On Android, seccomp kills the process on kernels without
|
||||
|
Reference in New Issue
Block a user