summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShahbaz Youssefi <shabbyx@gmail.com>2020-11-02 22:32:02 -0500
committerMike Schuchardt <mikes@lunarg.com>2020-11-13 11:11:08 -0800
commitbe6ccb9ecaf77dfef59246a1e8502e99c8e1a511 (patch)
tree399a15b4262f410ed088110e71d72f351841020f
parente2b55419a3708880026f84eef10a0ad601d2776b (diff)
downloadVulkan-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.gn10
1 files changed, 3 insertions, 7 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 671295fc..6cfeb30d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -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"
}
}
}