meson: fix missing dependencies
[mesa.git] / src / mesa / Android.libmesa_dricore.mk
index d7647a76bd0cf20c3b05436327c2c7a7c6e5c290..34fd8581c2df19b00caaa9e2312971a37473608e 100644 (file)
@@ -24,8 +24,6 @@
 # libmesa_dricore.a
 # ----------------------------------------------------------------------
 
-ifeq ($(strip $(MESA_BUILD_CLASSIC)),true)
-
 LOCAL_PATH := $(call my-dir)
 
 # Import the following variables:
@@ -60,13 +58,19 @@ LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/mesa/main \
        $(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_GENERATED_SOURCES += \
+       $(MESA_GEN_GLSL_H)
+
+LOCAL_STATIC_LIBRARIES += \
+       libmesa_nir
 
 LOCAL_WHOLE_STATIC_LIBRARIES += \
-       libmesa_program
+       libmesa_program \
+       libmesa_git_sha1
 
 include $(LOCAL_PATH)/Android.gen.mk
 include $(MESA_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)
-
-endif # MESA_BUILD_CLASSIC