mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa: Build libmesa_dricore.a for Android
libmesa_dricore.a is analogous to the libmesa.a built by the Autoconf build. Reviewed-by: Chia-I Wu <olv@lunarg.com> Signed-off-by: Chad Versace <chad@chad-versace.us>
This commit is contained in:
parent
5d9e242c3e
commit
3758173149
1 changed files with 29 additions and 0 deletions
|
|
@ -82,6 +82,35 @@ include $(MESA_COMMON_MK)
|
|||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif # MESA_BUILD_GALLIUM
|
||||
|
||||
# ---------------------------------------
|
||||
# Build libmesa_dricore for DRI modules
|
||||
# ---------------------------------------
|
||||
|
||||
ifeq ($(strip $(MESA_BUILD_CLASSIC)),true)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libmesa_dricore
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
$(common_CFLAGS) \
|
||||
-DFEATURE_GL=1
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(common_C_INCLUDES)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(MESA_SOURCES) \
|
||||
$(MESA_CXX_SOURCES) \
|
||||
$(common_ASM)
|
||||
|
||||
include $(LOCAL_PATH)/Android.gen.mk
|
||||
include $(MESA_COMMON_MK)
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
endif # MESA_BUILD_CLASSIC
|
||||
|
||||
# ---------------------------------------
|
||||
# Build libmesa_glsl_utils
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue