anv: Add android dependencies on android.

Specifically needed for nativewindow for some VK_EXT_external_memory_android_hardware_buffers
functions, where we call into some AHardwareBuffer functions.

The legacy Android ext did not have us call into any Android function
at all and hence it was not noticed.

Fixes: 755c633b8d "anv: Fix vulkan build in meson."
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
This commit is contained in:
Bas Nieuwenhuizen 2019-07-08 12:47:14 +02:00
parent 0b83005807
commit d4f0f1a6e2

View file

@ -177,6 +177,7 @@ if with_xlib_lease
endif
if with_platform_android
anv_deps += dep_android
anv_flags += '-DVK_USE_PLATFORM_ANDROID_KHR'
libanv_files += files('anv_android.c')
else