diff options
Diffstat (limited to 'dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0002-chromium-met-EGL-API-GetProcAddress-failures.patch')
-rw-r--r-- | dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0002-chromium-met-EGL-API-GetProcAddress-failures.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0002-chromium-met-EGL-API-GetProcAddress-failures.patch b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0002-chromium-met-EGL-API-GetProcAddress-failures.patch new file mode 100644 index 00000000..b85e3cfd --- /dev/null +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland/0002-chromium-met-EGL-API-GetProcAddress-failures.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From fc83501ff2105f99183b3f6ea240d6baacf3ea05 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wujian Sun <wujian.sun_1@nxp.com> | ||
3 | Date: Wed, 10 Nov 2021 17:28:22 +0800 | ||
4 | Subject: [PATCH] chromium met EGL API GetProcAddress failures | ||
5 | |||
6 | Wayland not use SwANGLE as below commit, so no need | ||
7 | build SwANGLE on wayland platform. | ||
8 | |||
9 | commit 97f919dd8b544b583b772664f0d7b8e6b6d8da2e | ||
10 | Reland "Use SwANGLE on all Ozone platforms, except Wayland" | ||
11 | |||
12 | Upstream-Status: Inappropriate [i.MX-specific] | ||
13 | |||
14 | Signed-off-by: Wujian Sun <wujian.sun_1@nxp.com> | ||
15 | --- | ||
16 | ui/gl/BUILD.gn | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn | ||
20 | index bb7d843c1f363..4b4b360758e1d 100644 | ||
21 | --- a/ui/gl/BUILD.gn | ||
22 | +++ b/ui/gl/BUILD.gn | ||
23 | @@ -252,7 +252,7 @@ component("gl") { | ||
24 | |||
25 | if (use_ozone) { | ||
26 | deps += [ "//ui/ozone:buildflags" ] | ||
27 | - if (use_egl && !is_fuchsia) { | ||
28 | + if (use_egl && !is_fuchsia && !ozone_platform_wayland) { | ||
29 | data_deps += [ | ||
30 | "//third_party/angle:libEGL", | ||
31 | "//third_party/angle:libGLESv2", | ||
32 | -- | ||
33 | 2.17.1 | ||
34 | |||