[Mesa-dev] [PATCH 1/2] android: export the path of the generated nir_opcodes.h
Chih-Wei Huang
cwhuang at android-x86.org
Wed Apr 1 23:16:32 PDT 2015
The modules including nir_opcodes.h can just add libmesa_glsl
to their LOCAL_STATIC_LIBRARIES.
Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
---
src/glsl/Android.gen.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/glsl/Android.gen.mk b/src/glsl/Android.gen.mk
index 82f2bf1..35d79f2 100644
--- a/src/glsl/Android.gen.mk
+++ b/src/glsl/Android.gen.mk
@@ -49,6 +49,8 @@ LOCAL_C_INCLUDES += \
$(MESA_TOP)/src/glsl/glcpp \
$(MESA_TOP)/src/glsl/nir
+LOCAL_EXPORT_C_INCLUDE_DIRS += $(intermediates)/nir
+
sources := $(addprefix $(intermediates)/, $(sources))
LOCAL_GENERATED_SOURCES += $(sources)
--
1.9.1
More information about the mesa-dev
mailing list