Search for system libvulkan on CrOS

Currently, ANGLE searches in the "module" directory for libvulkan
during init on CrOS. The library doesn't exist at this location
(/opt/google/chrome/libvulkan.so), and we should instead just call
dlopen(libvulkan.so) to search the system library paths.

Bug: b/292249282
Change-Id: I7ab4803fe294e69f0ab8533ebc2fa43e25f189eb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4716242
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Brian Ho <hob@chromium.org>
This commit is contained in:
Brian Ho
2023-07-25 12:53:49 -04:00
committed by Angle LUCI CQ
parent 7ea61cb3a1
commit b0b71d5939

View File

@@ -10,7 +10,8 @@ if (angle_use_wayland) {
}
declare_args() {
angle_use_custom_libvulkan = !is_android && !is_fuchsia && !is_ggp
angle_use_custom_libvulkan =
!is_android && !is_fuchsia && !is_ggp && !is_chromeos
}
config("angle_libvulkan_config") {