Commit 5dfdd9b9 authored by maurossi's avatar maurossi Committed by Eric Engestrom
Browse files

radv: fix build on Android 7 (v2)

Fixes the following building error:

external/mesa/src/amd/vulkan/radv_android.c:28:10: fatal error:
'vndk/hardware_buffer.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~

(v2) use the existing preprocessor condition #if ANDROID_API_LEVEL >= 26

Fixes: f36b5274

 "radv/android: Add android hardware buffer queries."
Reported-and-tested-by: youling 257's avataryouling 257 <youling257@gmail.com>
Signed-off-by: maurossi's avatarMauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <!6051>
(cherry picked from commit 80c135e6)
parent a9895eaf
Pipeline #184394 failed with stages
in 42 minutes and 32 seconds