aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_swiftshader_src_WSI_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_swiftshader_src_WSI_BUILD.gn')
-rw-r--r--www/chromium/files/patch-third__party_swiftshader_src_WSI_BUILD.gn25
1 files changed, 9 insertions, 16 deletions
diff --git a/www/chromium/files/patch-third__party_swiftshader_src_WSI_BUILD.gn b/www/chromium/files/patch-third__party_swiftshader_src_WSI_BUILD.gn
index c96728a728f3..ddde1f45eb4c 100644
--- a/www/chromium/files/patch-third__party_swiftshader_src_WSI_BUILD.gn
+++ b/www/chromium/files/patch-third__party_swiftshader_src_WSI_BUILD.gn
@@ -1,18 +1,11 @@
---- third_party/swiftshader/src/WSI/BUILD.gn.orig 2022-07-22 17:30:31 UTC
+--- third_party/swiftshader/src/WSI/BUILD.gn.orig 2022-08-31 12:19:35 UTC
+++ third_party/swiftshader/src/WSI/BUILD.gn
-@@ -53,6 +53,15 @@ swiftshader_source_set("WSI") {
- ]
- }
+@@ -84,7 +84,7 @@ swiftshader_source_set("WSI") {
+ "../Vulkan:swiftshader_libvulkan_headers",
+ ]
-+ if (is_openbsd) {
-+ sources -= [
-+ "WaylandSurfaceKHR.cpp",
-+ "WaylandSurfaceKHR.hpp",
-+ "libWaylandClient.cpp",
-+ "libWaylandClient.hpp",
-+ ]
-+ }
-+
- if (is_win) {
- sources += [
- "Win32SurfaceKHR.cpp",
+- if (is_linux && !use_system_libwayland) {
++ if (is_linux && !use_system_libwayland && !is_openbsd) {
+ # Use third-party targets
+ deps += [ "$wayland_gn_dir:wayland_client" ]
+ }