Do not try to build a private copy of a DLL which is already available on every modern linux system. --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn @@ -1789,8 +1790,9 @@ deps = [ "//third_party/angle:libGLESv2" ] } } - if (!is_chromeos && angle_shared_libvulkan) { + source_set("angle_libvulkan_symbols") {} + if (false) { extract_symbols("angle_libvulkan_symbols") { binary = "$root_out_dir/libvulkan.so.1" if (current_cpu == "x86") { --- src/third_party/vulkan-loader/src/BUILD.gn.orig 2024-12-08 18:37:20.394677662 +0100 +++ src/third_party/vulkan-loader/src/BUILD.gn 2024-12-18 13:15:54.021404544 +0100 @@ -144,7 +144,18 @@ if (!is_android) { } } - target(library_type, "libvulkan") { +if (!angle_shared_libvulkan) { + import("//build/config/linux/pkg_config.gni") + pkg_config("system_libvulkan") { + packages = [ "vulkan" ] + } +} +source_set("libvulkan") { + if (!angle_shared_libvulkan) { + public_configs = [ ":system_libvulkan" ] + } +} + target(library_type, "xlibvulkan") { sources = [ "loader/adapters.h", "loader/allocation.c",