dep_valgrind,
idep_nir_headers,
idep_vulkan_util_headers,
- idep_xmlconfig_headers,
]
anv_flags = [
no_override_init_args,
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
)
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'],