Mesa (main): android: Set max platform-sdk-version to 10000

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 7 15:39:58 UTC 2022


Module: Mesa
Branch: main
Commit: 9b28b76e85c4177e92c1a1edb9cdc194658ae71e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b28b76e85c4177e92c1a1edb9cdc194658ae71e

Author: Roman Stratiienko <r.stratiienko at gmail.com>
Date:   Mon Mar 14 17:24:30 2022 +0200

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 at gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15747>

---

 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson_options.txt b/meson_options.txt
index 9e51ccd3ac7..5baa70d051b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -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.'
 )



More information about the mesa-commit mailing list