android: nouveau: add support for nir
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 17 Mar 2019 21:52:36 +0000 (22:52 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 17 Mar 2019 23:29:39 +0000 (00:29 +0100)
Add the necessary build rules for android, to avoid building errors.

Fixes: f014ae3 ("nouveau: add support for nir")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/Android.mk

index cd2dd0938f442c99dfbb5f3eb239547858dbaeab..49a341c8314524b063788f1f9735e79c88181ceb 100644 (file)
@@ -37,8 +37,13 @@ LOCAL_SRC_FILES := \
        $(NVC0_C_SOURCES)
 
 LOCAL_C_INCLUDES := \
-       $(MESA_TOP)/include
+       $(MESA_TOP)/include \
+       $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
+       $(MESA_TOP)/src/compiler/nir \
+       $(MESA_TOP)/src/mapi \
+       $(MESA_TOP)/src/mesa
 
+LOCAL_STATIC_LIBRARIES := libmesa_nir
 LOCAL_SHARED_LIBRARIES := libdrm_nouveau
 LOCAL_MODULE := libmesa_pipe_nouveau