mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
Android.mk: disable android-libbacktrace to build with Android 14
Android libbacktrace is not available in Android 14
Fixes the following build error:
FAILED: src/util/libmesa_util.a.p/u_debug_stack_android.cpp.o
...
../src/util/u_debug_stack_android.cpp:28:10: fatal error: 'backtrace/Backtrace.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Cc: mesa-stable
Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25963>
(cherry picked from commit 95ad0c750c)
This commit is contained in:
parent
1371823a17
commit
3294d74e20
3 changed files with 4 additions and 3 deletions
|
|
@ -294,7 +294,7 @@
|
||||||
"description": "Android.mk: disable android-libbacktrace to build with Android 14",
|
"description": "Android.mk: disable android-libbacktrace to build with Android 14",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 0,
|
"nomination_type": 0,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": null,
|
"because_sha": null,
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@ include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := libc libdl libdrm libm liblog libcutils libz libc++ libnativewindow libsync libhardware
|
LOCAL_SHARED_LIBRARIES := libc libdl libdrm libm liblog libcutils libz libc++ libnativewindow libsync libhardware
|
||||||
LOCAL_STATIC_LIBRARIES := libexpat libarect libelf
|
LOCAL_STATIC_LIBRARIES := libexpat libarect libelf
|
||||||
LOCAL_HEADER_LIBRARIES := libnativebase_headers hwvulkan_headers libbacktrace_headers
|
LOCAL_HEADER_LIBRARIES := libnativebase_headers hwvulkan_headers
|
||||||
MESON_GEN_PKGCONFIGS := backtrace cutils expat hardware libdrm:$(LIBDRM_VERSION) nativewindow sync zlib:1.2.11 libelf
|
MESON_GEN_PKGCONFIGS := cutils expat hardware libdrm:$(LIBDRM_VERSION) nativewindow sync zlib:1.2.11 libelf
|
||||||
LOCAL_CFLAGS += $(BOARD_MESA3D_CFLAGS)
|
LOCAL_CFLAGS += $(BOARD_MESA3D_CFLAGS)
|
||||||
|
|
||||||
ifneq ($(filter swrast,$(BOARD_MESA3D_GALLIUM_DRIVERS) $(BOARD_MESA3D_VULKAN_DRIVERS)),)
|
ifneq ($(filter swrast,$(BOARD_MESA3D_GALLIUM_DRIVERS) $(BOARD_MESA3D_VULKAN_DRIVERS)),)
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,7 @@ MESON_GEN_NINJA := \
|
||||||
-Dllvm=$(if $(MESON_GEN_LLVM_STUB),enabled,disabled) \
|
-Dllvm=$(if $(MESON_GEN_LLVM_STUB),enabled,disabled) \
|
||||||
-Dcpp_rtti=false \
|
-Dcpp_rtti=false \
|
||||||
-Dlmsensors=disabled \
|
-Dlmsensors=disabled \
|
||||||
|
-Dandroid-libbacktrace=disabled \
|
||||||
|
|
||||||
MESON_BUILD := PATH=/usr/bin:/bin:/sbin:$$PATH ninja -C $(MESON_OUT_DIR)/build
|
MESON_BUILD := PATH=/usr/bin:/bin:/sbin:$$PATH ninja -C $(MESON_OUT_DIR)/build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue