summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_gl_BUILD.gn
blob: d4258fc0e7a20d446a9bb947c684c47c5a2b4792 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- ui/gl/BUILD.gn.orig	2018-08-01 00:09:48.000000000 +0200
+++ ui/gl/BUILD.gn	2018-08-04 23:32:57.498139000 +0200
@@ -214,7 +214,7 @@
       }
     }
 
-    if (is_posix && !is_fuchsia && !is_mac) {
+    if (is_posix && !is_fuchsia && !is_mac && !is_bsd) {
       # Windows has USE_EGL but doesn't support base::FileDescriptor.
       # libsync isn't supported or needed on MacOSX.
       # Fuchsia is excluded due to a libsync dependency and because it's
@@ -311,7 +311,6 @@
     data_deps += [
       "//third_party/angle:libEGL",
       "//third_party/angle:libGLESv2",
-      "//third_party/mesa:osmesa",
       "//third_party/swiftshader",
     ]
   }
@@ -545,10 +544,6 @@
     "//ui/gl/init",
     "//ui/platform_window",
     "//ui/platform_window:platform_impls",
-  ]
-
-  data_deps = [
-    "//third_party/mesa:osmesa",
   ]
 
   if (use_x11) {