meson: fix android vulkan build
[mesa.git] / src / amd / vulkan / meson.build
index aa27b82c98a072d5583ca85eed68faf1e43906f7..e5fba9de21bc4ae65edfe04063a20b1decd49173 100644 (file)
@@ -131,7 +131,7 @@ if with_platform_wayland
   libradv_files += files('radv_wsi_wayland.c')
 endif
 
-if system_has_kms_drm
+if system_has_kms_drm and not with_platform_android
   radv_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR'
   libradv_files += files('radv_wsi_display.c')
 endif