From: Bas Nieuwenhuizen Date: Wed, 19 Jun 2019 13:03:43 +0000 (+0200) Subject: radv: Fix vulkan build in meson. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c300bd328138949659892447e7e68028cc950cb;p=mesa.git radv: Fix vulkan build in meson. Apparently the android part was never ported to meson. CC: Acked-by: Samuel Pitoiset --- diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build index faa5f32eba3..2ff2fb34465 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -129,6 +129,13 @@ if with_xlib_lease radv_flags += '-DVK_USE_PLATFORM_XLIB_XRANDR_EXT' endif +if with_platform_android + radv_flags += [ + '-DVK_USE_PLATFORM_ANDROID_KHR' + ] + libradv_files += files('radv_android.c') +endif + libvulkan_radeon = shared_library( 'vulkan_radeon', [libradv_files, radv_entrypoints, radv_extensions_c, amd_vk_format_table_c, sha1_h, xmlpool_options_h],