summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_gl_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-ui_gl_BUILD.gn')
-rw-r--r--www/chromium/files/patch-ui_gl_BUILD.gn45
1 files changed, 19 insertions, 26 deletions
diff --git a/www/chromium/files/patch-ui_gl_BUILD.gn b/www/chromium/files/patch-ui_gl_BUILD.gn
index 05f72aeb5f9e..9ad258c4f7f2 100644
--- a/www/chromium/files/patch-ui_gl_BUILD.gn
+++ b/www/chromium/files/patch-ui_gl_BUILD.gn
@@ -1,28 +1,21 @@
---- ui/gl/BUILD.gn.orig 2017-09-05 21:05:48.000000000 +0200
-+++ ui/gl/BUILD.gn 2017-09-07 01:56:19.612744000 +0200
-@@ -15,7 +15,7 @@
- (target_cpu == "x86" || target_cpu == "x64")
- }
-
--use_egl = is_win || is_android || is_linux || is_fuchsia
-+use_egl = is_win || is_android || is_linux || is_fuchsia || is_bsd
- use_glx = use_x11 || ozone_platform_x11
-
- if (is_android) {
-@@ -181,14 +181,14 @@
- "gl_surface_egl.h",
+--- ui/gl/BUILD.gn.orig 2017-12-30 03:59:07.267974000 +0100
++++ ui/gl/BUILD.gn 2017-12-30 03:59:58.156283000 +0100
+@@ -261,7 +261,6 @@
+ data_deps += [
+ "//third_party/angle:libEGL",
+ "//third_party/angle:libGLESv2",
+- "//third_party/mesa:osmesa",
+ "//third_party/swiftshader",
]
-- if (is_linux) {
-+ if (is_linux || is_bsd) {
- sources += [
- "gl_image_native_pixmap.cc",
- "gl_image_native_pixmap.h",
- ]
- }
- }
-- if (is_android || is_linux) {
-+ if (is_android || is_linux || is_bsd) {
- sources += [
- "gl_implementation_osmesa.cc",
- "gl_implementation_osmesa.h",
+@@ -434,10 +433,6 @@
+ "//ui/gl/init",
+ "//ui/platform_window",
+ "//ui/platform_window:platform_impls",
+- ]
+-
+- data_deps = [
+- "//third_party/mesa:osmesa",
+ ]
+ }
+