android: util/disk_cache: fix building errors in gallium drivers
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 21 Jul 2018 08:40:32 +0000 (10:40 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 21 Jul 2018 10:06:38 +0000 (12:06 +0200)
commit6cbbd5b4f8c0fac468476ae19c5a02b42800f816
tree0e6ef2524b10496e025cc12d4ec97ff31cdeb298
parente7ffd3fb0899a897019a8968e5f976c310fc3e7c
android: util/disk_cache: fix building errors in gallium drivers

This patch applies the necessary changes in Android.common.mk
as per automake rules, to avoid following building error:

external/mesa/src/gallium/drivers/nouveau/nouveau_screen.c:159:8:
error: implicit declaration of function 'disk_cache_get_function_timestamp'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
   if (disk_cache_get_function_timestamp(nouveau_disk_cache_create,
       ^
1 error generated.

(v2) -DENABLE_SHADER_CACHE Android cflag is kept, to leave the AS-IS capability enabled

Fixes: cc10b34 ("util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache.")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Android.common.mk