android: Set max platform-sdk-version to 10000

platform-sdk-version::max require updating every time new Android releases.
It makes sense to set this value to some unreachable maximum value to avoid
such patches. Such approach will allow to use stable mesa3d without any
changes with newest Android as well.

As was suggested by Yiwei Zhang we can use value 10000 that corresponds to
CUR_DEVELOPMENT [1] definition which may be used by AOSP/master in between
of Android major releases.

[1]: https://developer.android.com/reference/android/os/Build.VERSION_CODES#CUR_DEVELOPMENT

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15747>
This commit is contained in:
Roman Stratiienko 2022-03-14 17:24:30 +02:00 committed by Marge Bot
parent 0510e2373e
commit 9b28b76e85
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ option(
'platform-sdk-version',
type : 'integer',
min : 25,
max : 31,
max : 10000,
value : 25,
description : 'Android Platform SDK version. Default: Nougat version.'
)