aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2021-02-17 15:33:41 +0530
committerAmit Pundir <amit.pundir@linaro.org>2021-03-01 23:55:33 +0530
commit1a8a0f034d99f8dc033be2a388c6c72f3ee1506f (patch)
tree470fa218d5bd840d3e3471f87578ca4d0d4f7205
parentfd5db892a5a8ebded815d20b2bda0cac4a3fb907 (diff)
downloadmesa3d-1a8a0f034d99f8dc033be2a388c6c72f3ee1506f.tar.gz
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
-rw-r--r--src/gallium/drivers/softpipe/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/Android.mk b/src/gallium/drivers/softpipe/Android.mk
index 7508f5a0c5c..3906ef6c586 100644
--- a/src/gallium/drivers/softpipe/Android.mk
+++ b/src/gallium/drivers/softpipe/Android.mk
@@ -31,6 +31,10 @@ include $(CLEAR_VARS)
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