android: radeonsi: add nir include paths
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 3 Aug 2017 00:55:46 +0000 (02:55 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Aug 2017 13:58:50 +0000 (14:58 +0100)
Android build changes to avoid the following building error:

target  C: libmesa_pipe_radeonsi <= external/mesa/src/gallium/drivers/radeonsi/si_pipe.c
...
In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.c:38:
external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file not found
         ^
1 error generated.

Fixes: da62a31c5b "radeonsi: add nir include paths"
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/radeonsi/Android.mk

index 4a5df5b01d844ea55ffdd95d0eb887ab87506ac1..65661a5ea7a5b78e51fe642a07b62e7f43a220f3 100644 (file)
@@ -36,7 +36,8 @@ LOCAL_MODULE_CLASS := STATIC_LIBRARIES
 
 LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/amd/common \
-       $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_amd_common,,)/common
+       $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_amd_common,,)/common \
+       $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir
 
 LOCAL_STATIC_LIBRARIES := libmesa_amd_common