anv: implement shareable timeline semaphores
[mesa.git] / src / intel / vulkan / meson.build
index 1990e0c4e8fd085c3b2718774094473c2e4d2edf..65ab362c33bceafcc6cbdd97a8a2cdc303d53017 100644 (file)
@@ -134,7 +134,6 @@ anv_deps = [
   dep_valgrind,
   idep_nir_headers,
   idep_vulkan_util_headers,
-  idep_xmlconfig_headers,
 ]
 anv_flags = [
   no_override_init_args,
@@ -156,7 +155,7 @@ if with_platform_wayland
   libanv_files += files('anv_wsi_wayland.c')
 endif
 
-if with_platform_drm
+if system_has_kms_drm and not with_platform_android
   anv_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR'
   libanv_files += files('anv_wsi_display.c')
 endif
@@ -210,12 +209,22 @@ libvulkan_intel = shared_library(
 )
 
 if with_symbols_check
+  if get_option('buildtype') == 'debug'  # Same rule as `-DDEBUG` in /meson.build
+    _extra_args = [
+      '--ignore-symbol', 'anv_dump_start',
+      '--ignore-symbol', 'anv_dump_finish',
+    ]
+  else
+    _extra_args = []
+  endif
+
   test(
     'anv symbols check',
     symbols_check,
     args : [
       '--lib', libvulkan_intel,
       '--symbols-file', vulkan_icd_symbols,
+      _extra_args,
       symbols_check_args,
     ],
     suite : ['intel'],