summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_gl_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-ui_gl_BUILD.gn')
-rw-r--r--www/iridium/files/patch-ui_gl_BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-ui_gl_BUILD.gn b/www/iridium/files/patch-ui_gl_BUILD.gn
new file mode 100644
index 000000000000..3edb9fec8900
--- /dev/null
+++ b/www/iridium/files/patch-ui_gl_BUILD.gn
@@ -0,0 +1,20 @@
+--- ui/gl/BUILD.gn.orig 2017-04-19 19:06:54 UTC
++++ ui/gl/BUILD.gn
+@@ -13,7 +13,7 @@ declare_args() {
+ enable_swiftshader = is_chrome_branded && is_win
+ }
+
+-use_egl = is_win || is_android || is_linux
++use_egl = is_win || is_android || is_linux || is_bsd
+ use_glx = use_x11 || ozone_platform_x11
+
+ if (is_android) {
+@@ -170,7 +170,7 @@ component("gl") {
+ "gl_surface_egl.h",
+ ]
+ }
+- if (is_android || is_linux) {
++ if (is_android || is_linux || is_bsd) {
+ sources += [
+ "gl_implementation_osmesa.cc",
+ "gl_implementation_osmesa.h",