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:
parent
6a4156f812
commit
50458703fa
2 changed files with 12 additions and 0 deletions
|
|
@ -30,6 +30,15 @@ option(
|
|||
description : 'Build against android-stub',
|
||||
)
|
||||
|
||||
option(
|
||||
'android-strict',
|
||||
type : 'boolean',
|
||||
value : true,
|
||||
description : 'Enable strict Android compliance. Disabling may cause CTS ' +
|
||||
'failures or other problems, but allows drivers to expose ' +
|
||||
'capabilities that are normally hidden. Default: true'
|
||||
)
|
||||
|
||||
option(
|
||||
'android-libbacktrace',
|
||||
type : 'feature',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue