mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
meson/android: amend the condition for libbacktrace
libbacktrace compatibility has been dropped since Android 14, so the current flags and deps shall be kept behind api level < 34. Meanwhile, its successor, libunwindstack, has been available since Android 11 (api level 31). So one can hook that up if needed. Reviewed-by: Antonio Ospite <antonio.ospite@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36961>
This commit is contained in:
parent
9239160a29
commit
5349537cb3
1 changed files with 2 additions and 5 deletions
|
|
@ -905,10 +905,6 @@ with_libbacktrace = get_option('android-libbacktrace') \
|
|||
.disable_auto_if(not with_platform_android) \
|
||||
.allowed()
|
||||
|
||||
if with_libbacktrace
|
||||
cpp_args += '-DWITH_LIBBACKTRACE'
|
||||
endif
|
||||
|
||||
if with_platform_android
|
||||
dep_android_ui = null_dep
|
||||
dep_android_mapper4 = null_dep
|
||||
|
|
@ -919,7 +915,8 @@ if with_platform_android
|
|||
dependency('log'),
|
||||
dependency('sync'),
|
||||
]
|
||||
if with_libbacktrace
|
||||
if with_libbacktrace and get_option('platform-sdk-version') < 34
|
||||
cpp_args += '-DWITH_LIBBACKTRACE'
|
||||
dep_android += dependency('backtrace')
|
||||
endif
|
||||
if get_option('platform-sdk-version') >= 26
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue