anv: Add android dependencies on android.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 8 Jul 2019 10:47:14 +0000 (12:47 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 15 Jul 2019 15:23:43 +0000 (15:23 +0000)
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: 755c633b8d9 "anv: Fix vulkan build in meson."
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/vulkan/meson.build

index 68695013c4c885af4d53fb266a15f02a30acd5aa..ac80b2649b779c19bb9dbef66ac47334326855e4 100644 (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