v3d: do not report alpha-test as supported
[mesa.git] / src / mesa / Android.libmesa_dricore.mk
index cd31e14822222cefe097f31125ac699d95b24c6d..792117767b46abbdfed7b0cc1be0a9b5b3dbe759 100644 (file)
@@ -24,8 +24,6 @@
 # libmesa_dricore.a
 # ----------------------------------------------------------------------
 
-ifeq ($(strip $(MESA_BUILD_CLASSIC)),true)
-
 LOCAL_PATH := $(call my-dir)
 
 # Import the following variables:
@@ -48,27 +46,31 @@ endif # x86
 endif # MESA_ENABLE_ASM
 
 ifeq ($(ARCH_X86_HAVE_SSE4_1),true)
-LOCAL_SRC_FILES += \
-       main/streaming-load-memcpy.c \
-       main/sse_minmax.c
+LOCAL_WHOLE_STATIC_LIBRARIES := \
+       libmesa_sse41
 LOCAL_CFLAGS := \
-       -msse4.1 \
+       -msse4.1 -mstackrealign \
        -DUSE_SSE41
 endif
 
 LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/mapi \
        $(MESA_TOP)/src/mesa/main \
-       $(MESA_TOP)/src/glsl \
-       $(MESA_TOP)/src/glsl/nir \
+       $(MESA_TOP)/src/compiler/nir \
        $(MESA_TOP)/src/gallium/include \
-       $(MESA_TOP)/src/gallium/auxiliary
+       $(MESA_TOP)/src/gallium/auxiliary \
+       $(dir $(MESA_GEN_GLSL_H))
 
-LOCAL_WHOLE_STATIC_LIBRARIES := \
-       libmesa_program
+LOCAL_GENERATED_SOURCES += \
+       $(MESA_GEN_GLSL_H)
+
+LOCAL_STATIC_LIBRARIES += \
+       libmesa_nir
+
+LOCAL_WHOLE_STATIC_LIBRARIES += \
+       libmesa_program \
+       libmesa_git_sha1
 
 include $(LOCAL_PATH)/Android.gen.mk
 include $(MESA_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)
-
-endif # MESA_BUILD_CLASSIC