summaryrefslogtreecommitdiffstats
path: root/src/compiler/Android.glsl.mk
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-09-01 14:06:23 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2016-09-06 15:58:55 +0100
commit244f0aba16a7e197ed30e118a9978e200aee2c64 (patch)
tree45216f18124de9ea0d07f9694a43e35f34e6ee18 /src/compiler/Android.glsl.mk
parent2593354643b4bad26cd23b72a5e7073b4cad8cd0 (diff)
downloadexternal_mesa3d-244f0aba16a7e197ed30e118a9978e200aee2c64.zip
external_mesa3d-244f0aba16a7e197ed30e118a9978e200aee2c64.tar.gz
external_mesa3d-244f0aba16a7e197ed30e118a9978e200aee2c64.tar.bz2
Android: glsl: add rules to generate ir_expression*.h header files
Recent changes to generate ir_expression*.h header files broke Android builds. This adds the generation rules. This change is complicated due to creating a circular dependency between libmesa_glsl, libmesa_nir, and libmesa_compiler. Normally, we add static libraries so that include paths are added even if there's no linking dependency. That is the case here. Instead, we explicitly add the include path using $(MESA_GEN_GLSL_H) to libmesa_compiler. This in turn requires shuffling the order of make includes. It also uncovered missing dependency tracking of glsl_parser.h. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/compiler/Android.glsl.mk')
-rw-r--r--src/compiler/Android.glsl.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/Android.glsl.mk b/src/compiler/Android.glsl.mk
index 21c1065..dcc356f 100644
--- a/src/compiler/Android.glsl.mk
+++ b/src/compiler/Android.glsl.mk
@@ -44,7 +44,6 @@ LOCAL_C_INCLUDES := \
$(MESA_TOP)/src/gallium/auxiliary
LOCAL_STATIC_LIBRARIES := \
- libmesa_compiler \
libmesa_nir
LOCAL_MODULE := libmesa_glsl