From: Stefan Schake Date: Sun, 15 Apr 2018 22:45:16 +0000 (+0200) Subject: gallium/util: Don't stub u_debug_stack on Android X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2abd4f4b497d8a37c01df5d1466703186579afec;p=mesa.git gallium/util: Don't stub u_debug_stack on Android The fallback path for no libunwind ends up being stubs for Android. Don't compile them in so we can provide our own implementation. Signed-off-by: Stefan Schake Reviewed-by: Eric Engestrom Reviewed-by: Tapani Pälli --- diff --git a/src/gallium/auxiliary/util/u_debug_stack.c b/src/gallium/auxiliary/util/u_debug_stack.c index 846f6484311..b1d4cfea6c1 100644 --- a/src/gallium/auxiliary/util/u_debug_stack.c +++ b/src/gallium/auxiliary/util/u_debug_stack.c @@ -193,7 +193,8 @@ debug_backtrace_print(FILE *f, frame_ip(&backtrace[i])); } } - +#elif defined(ANDROID) + /* Not implemented here; see u_debug_stack_android.cpp */ #else /* ! HAVE_LIBUNWIND */ #if defined(PIPE_OS_WINDOWS)