android: glsl: build shader cache sources
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 18 Feb 2017 21:23:18 +0000 (22:23 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 20 Feb 2017 16:30:37 +0000 (16:30 +0000)
commit9e3d66c1e58f14d9c5e8df2a5ba7fdcf04b3258e
tree8d6b3e641ed7b166515befe55b24758532ccb154
parent933988901ab14b3c950272b60a56cb48265076b0
android: glsl: build shader cache sources

Fixes the following building errors:

external/mesa/src/compiler/glsl/linker.cpp:4642: error: undefined reference
 to 'shader_cache_read_program_metadata(gl_context*, gl_shader_program*)'
external/mesa/src/mesa/program/ir_to_mesa.cpp:3135: error: undefined reference
 to 'shader_cache_write_program_metadata(gl_context*, gl_shader_program*)'
clang++: error: linker command failed with exit code 1
...
external/mesa/src/mesa/program/ir_to_mesa.cpp:3135: error: undefined reference
 to 'shader_cache_write_program_metadata(gl_context*, gl_shader_program*)'
external/mesa/src/compiler/glsl/linker.cpp:4642: error: undefined reference
 to 'shader_cache_read_program_metadata(gl_context*, gl_shader_program*)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

Fixes: 9f8dc3bf03e ("utils: build sha1/disk cache only with
Android/Autoconf")
Acked-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/Android.glsl.mk