diff options
author | Shahbaz Youssefi <shabbyx@gmail.com> | 2020-11-02 22:32:02 -0500 |
---|---|---|
committer | Mike Schuchardt <mikes@lunarg.com> | 2020-11-13 11:11:08 -0800 |
commit | be6ccb9ecaf77dfef59246a1e8502e99c8e1a511 (patch) | |
tree | 399a15b4262f410ed088110e71d72f351841020f | |
parent | e2b55419a3708880026f84eef10a0ad601d2776b (diff) | |
download | Vulkan-Loader-be6ccb9ecaf77dfef59246a1e8502e99c8e1a511.tar.gz Vulkan-Loader-be6ccb9ecaf77dfef59246a1e8502e99c8e1a511.tar.bz2 Vulkan-Loader-be6ccb9ecaf77dfef59246a1e8502e99c8e1a511.zip |
Reland "Generate libvulkan.so.1 on Linux instead of libvulkan.so"
Chromium now uses VK_KHR_xcb_surface instead of VK_KHR_xlib_surface, so
it's able to use the gn build of Vulkan-Loader.
-rw-r--r-- | BUILD.gn | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -173,14 +173,10 @@ if (!is_android) { runtime_deps = [ "//sdk/lib/fdio:fdio_sdk" ] } - } - - if (is_linux && vulkan_loader_shared) { - copy("libvulkan-abi1") { - sources = [ "${root_out_dir}/libvulkan.so" ] - outputs = [ "${root_out_dir}/libvulkan.so.1" ] - deps = [ ":libvulkan" ] + # Create libvulkan.so.1 on Linux instead of libvulkan.so + if (is_linux && vulkan_loader_shared) { + output_extension = "so.1" } } } |