From 2c1e3692b8bb3376173a742a640dcbb51104d880 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 8 Jul 2019 12:47:14 +0200 Subject: [PATCH] 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: 755c633b8d9 "anv: Fix vulkan build in meson." Reviewed-by: Eric Engestrom Reviewed-by: Chad Versace (cherry picked from commit d4f0f1a6e21953a9bedc91f1de4366afdc51bb58) --- src/intel/vulkan/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build index 4acc31c526f..d0120d8026c 100644 --- a/src/intel/vulkan/meson.build +++ b/src/intel/vulkan/meson.build @@ -178,6 +178,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