android: softpipe: Set nir headers include path
Set the missing nir/ headers include path, otherwise AOSP
build will fail.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Ifbeeafc2b239e54794acb889d8dcbf554affca17
diff --git a/src/gallium/drivers/softpipe/Android.mk b/src/gallium/drivers/softpipe/Android.mk
index 7508f5a..3906ef6 100644
--- a/src/gallium/drivers/softpipe/Android.mk
+++ b/src/gallium/drivers/softpipe/Android.mk
@@ -31,6 +31,10 @@
LOCAL_SRC_FILES := \
$(C_SOURCES)
+LOCAL_C_INCLUDES := \
+ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
+ $(MESA_TOP)/src/compiler/nir
+
LOCAL_MODULE := libmesa_pipe_softpipe
LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
LOCAL_LICENSE_CONDITIONS := notice