aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/Android.mk
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2019-03-17 22:52:36 +0100
committerKarol Herbst <[email protected]>2019-03-18 00:29:39 +0100
commitbfba0ecc1c847b4e5c5d24b89203ddcc6e672ae3 (patch)
tree853aac00abcd316e1b5031530c57eded9b22b9ae /src/gallium/drivers/nouveau/Android.mk
parent010570c8e31daa67b4419cee36c79f44b0bc557b (diff)
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 <[email protected]> Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/Android.mk')
-rw-r--r--src/gallium/drivers/nouveau/Android.mk7
1 files changed, 6 insertions, 1 deletions
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