meson: Add mising git_sha1.h dependency.
[mesa.git] / src / vulkan / meson.build
index e1e8f753b504c53a7969fdb631aa42674f060116..ae84e0d739d664fac4a882b982c8a898b1a90d17 100644 (file)
@@ -45,7 +45,7 @@ if with_platform_wayland
   vulkan_wsi_deps += dep_wayland_client
   vulkan_wsi_list += ['wayland']
 endif
-if with_platform_drm
+if system_has_kms_drm and not with_platform_android
   vulkan_wsi_args += '-DVK_USE_PLATFORM_DISPLAY_KHR'
   vulkan_wsi_deps += [dep_libdrm]
   vulkan_wsi_list += ['drm']
@@ -62,3 +62,6 @@ subdir('wsi')
 if with_vulkan_overlay_layer
   subdir('overlay-layer')
 endif
+if get_option('vulkan-device-select-layer')
+  subdir('device-select-layer')
+endif