• Rob Herring's avatar
    Android: glsl: add rules to generate ir_expression*.h header files · 244f0aba
    Rob Herring authored
    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's avatarRob Herring <robh@kernel.org>
    Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Android.mk 1.72 KB