mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
android_stub: fix update-android-headers.sh for libbacktrace
libbacktrace is gone in Android 14. If needed, one could add support for libunwindstack going forward. Acked-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41373>
This commit is contained in:
parent
02c1f657a0
commit
b9028f379b
1 changed files with 7 additions and 1 deletions
|
|
@ -12,7 +12,6 @@ if [ ! -d platform-hardware-libhardware ]; then
|
|||
git clone --depth 1 https://android.googlesource.com/platform/hardware/libhardware platform-hardware-libhardware
|
||||
git clone --depth 1 https://android.googlesource.com/platform/system/core platform-system-core
|
||||
git clone --depth 1 https://android.googlesource.com/platform/system/logging platform-system-logging
|
||||
git clone --depth 1 https://android.googlesource.com/platform/system/unwinding platform-system-unwinding
|
||||
fi
|
||||
|
||||
dest=include/android_stub
|
||||
|
|
@ -21,6 +20,13 @@ dest=include/android_stub
|
|||
|
||||
cp -av ${dest}/system/window.h platform-system-core/libsystem/include/system
|
||||
|
||||
# Persist the frozen libbacktrace header for backward compatibility, since the
|
||||
# support has been dropped in Android 15.
|
||||
#
|
||||
# TODO: add support for libunwindstack
|
||||
mkdir -p platform-system-unwinding/libbacktrace/include
|
||||
cp -av ${dest}/backtrace platform-system-unwinding/libbacktrace/include/
|
||||
|
||||
rm -rf ${dest}
|
||||
mkdir ${dest}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue