Module: Mesa
Branch: staging/19.1
Commit: 2c1e3692b8bb3376173a742a640dcbb51104d880
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c1e3692b8bb3376173a742a640dcbb51104d880

Author: Bas Nieuwenhuizen <[email protected]>
Date:   Mon Jul  8 12:47:14 2019 +0200

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 <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
(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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to