Mesa (master): android: nouveau: add support for nir

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Mar 17 23:29:47 UTC 2019


Module: Mesa
Branch: master
Commit: bfba0ecc1c847b4e5c5d24b89203ddcc6e672ae3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfba0ecc1c847b4e5c5d24b89203ddcc6e672ae3

Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sun Mar 17 22:52:36 2019 +0100

android: nouveau: add support for nir

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 at gmail.com>
Reviewed-by: Karol Herbst <kherbst at redhat.com>

---

 src/gallium/drivers/nouveau/Android.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/Android.mk b/src/gallium/drivers/nouveau/Android.mk
index cd2dd0938f4..49a341c8314 100644
--- a/src/gallium/drivers/nouveau/Android.mk
+++ b/src/gallium/drivers/nouveau/Android.mk
@@ -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
 




More information about the mesa-commit mailing list