38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
Patch-Source: https://github.com/archlinux/svntogit-packages/blob/a353833a5a731abfaa465b658f61894a516aa49b/trunk/angle-wayland-include-protocol.patch
|
|
--- a/src/3rdparty/chromium/third_party/angle/BUILD.gn
|
|
+++ b/src/3rdparty/chromium/third_party/angle/BUILD.gn
|
|
@@ -588,6 +588,12 @@ config("angle_vulkan_wayland_config") {
|
|
if (angle_enable_vulkan && angle_use_wayland &&
|
|
defined(vulkan_wayland_include_dirs)) {
|
|
include_dirs = vulkan_wayland_include_dirs
|
|
+ } else if (angle_enable_vulkan && angle_use_wayland) {
|
|
+ include_dirs = [
|
|
+ "$wayland_gn_dir/src/src",
|
|
+ "$wayland_gn_dir/include/src",
|
|
+ "$wayland_gn_dir/include/protocol",
|
|
+ ]
|
|
}
|
|
}
|
|
|
|
@@ -1176,6 +1182,7 @@ if (angle_use_wayland) {
|
|
include_dirs = [
|
|
"$wayland_dir/egl",
|
|
"$wayland_dir/src",
|
|
+ "$wayland_gn_dir/include/protocol",
|
|
]
|
|
}
|
|
|
|
--- a/src/3rdparty/chromium/third_party/angle/src/third_party/volk/BUILD.gn
|
|
+++ b/src/3rdparty/chromium/third_party/angle/src/third_party/volk/BUILD.gn
|
|
@@ -21,6 +21,9 @@ source_set("volk") {
|
|
configs += [ "$angle_root:angle_no_cfi_icall" ]
|
|
public_deps = [ "$angle_vulkan_headers_dir:vulkan_headers" ]
|
|
if (angle_use_wayland) {
|
|
- include_dirs = [ "$wayland_dir/src" ]
|
|
+ include_dirs = [
|
|
+ "$wayland_dir/src",
|
|
+ "$wayland_gn_dir/include/protocol",
|
|
+ ]
|
|
}
|
|
}
|