[Mesa-dev] [PATCH] android: gallium/auxiliary: add include to get u_debug.h header
Dylan Baker
dylan at pnwbakers.com
Wed Oct 31 19:03:26 UTC 2018
Quoting Mauro Rossi (2018-10-31 10:34:53)
> To avoid build error in u_debug_stack_android.cpp
> due to now missing u_debug.h header:
>
> external/mesa/src/gallium/auxiliary/util/u_debug_stack_android.cpp:26:10:
> fatal error: 'u_debug.h' file not found
> #include "u_debug.h"
> ^
> 1 error generated.
>
> Fixes: 37db383abb ("util: Move u_debug to utils")
> Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
> ---
> src/gallium/auxiliary/Android.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk
> index acd243b834..7618c6fcd9 100644
> --- a/src/gallium/auxiliary/Android.mk
> +++ b/src/gallium/auxiliary/Android.mk
> @@ -36,7 +36,8 @@ LOCAL_SRC_FILES := \
> util/u_debug_stack_android.cpp
>
> LOCAL_C_INCLUDES := \
> - $(GALLIUM_TOP)/auxiliary/util
> + $(GALLIUM_TOP)/auxiliary/util \
> + $(MESA_TOP)/src/util
>
> ifeq ($(MESA_ENABLE_LLVM),true)
> LOCAL_SRC_FILES += \
> --
> 2.19.1
>
Oops, sorry about that!
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181031/bc3419d1/attachment.sig>
More information about the mesa-dev
mailing list