meson: add vk_enum_defines.h to idep_vulkan_util_headers

Adding vk_enum_defines.h to idep_vulkan_util_headers to help
ninja-to-soong generate correct rules for the Android build system.

Without it, ninja-to-soong is not able to figure out that this file is
needed by targets depending on idep_vulkan_util_headers, leading to
build errors with the file missing.

Ref #14072

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37789>
This commit is contained in:
Romaric Jodin
2025-10-09 14:53:08 +02:00
committed by Marge Bot
parent ee671cf4f7
commit c8b10b4512

View File

@@ -133,7 +133,7 @@ libvulkan_util = static_library(
)
idep_vulkan_util_headers = declare_dependency(
sources : [vk_dispatch_table[1], vk_enum_to_str[1],
sources : [vk_dispatch_table[1], vk_enum_to_str[1], vk_enum_to_str[2],
vk_struct_type_cast[0], vk_extensions[1]],
include_directories : include_directories('.')
)