mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
android: Link with libc++fs up to SDK 35
Before SDK35 the c++ filesystem API was part of a standalone library
Reviewed-by: Mauro Rossi <issor.oruam@gmail.com>
Backport-to: 25.1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34797>
(cherry picked from commit 84cae30f0a)
This commit is contained in:
parent
b0b1820098
commit
4e65cf4f40
2 changed files with 6 additions and 1 deletions
|
|
@ -654,7 +654,7 @@
|
|||
"description": "android: Link with libc++fs up to SDK 35",
|
||||
"nominated": true,
|
||||
"nomination_type": 4,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ LOCAL_HEADER_LIBRARIES := libnativebase_headers hwvulkan_headers
|
|||
MESON_GEN_PKGCONFIGS := log cutils expat hardware libdrm:$(LIBDRM_VERSION) nativewindow sync zlib:1.2.11 libelf
|
||||
LOCAL_CFLAGS += $(BOARD_MESA3D_CFLAGS)
|
||||
|
||||
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 35; echo $$?), 0)
|
||||
# Before SDK35 the c++ filesystem API was part of a standalone library
|
||||
LOCAL_STATIC_LIBRARIES += libc++fs
|
||||
endif
|
||||
|
||||
ifneq ($(filter swrast,$(BOARD_MESA3D_GALLIUM_DRIVERS) $(BOARD_MESA3D_VULKAN_DRIVERS)),)
|
||||
ifeq ($(BOARD_MESA3D_FORCE_SOFTPIPE),)
|
||||
MESON_GEN_LLVM_STUB := true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue