aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_gpu_BUILD.gn
blob: f51961d30857b821b5bc012c24f2c485da0734eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- content/gpu/BUILD.gn.orig	2020-05-13 18:39:43 UTC
+++ content/gpu/BUILD.gn
@@ -96,7 +96,7 @@ target(link_target_type, "gpu_sources") {
     ]
   }
 
-  if (is_linux) {
+  if (is_linux && !is_bsd) {
     deps += [ "//services/service_manager/zygote" ]
   }
 
@@ -130,7 +130,7 @@ target(link_target_type, "gpu_sources") {
 
   # Use DRI on desktop Linux builds.
   if (current_cpu != "s390x" && current_cpu != "ppc64" && is_desktop_linux &&
-      (!is_chromecast || is_cast_desktop_build)) {
+      (!is_chromecast || is_cast_desktop_build) && !is_bsd) {
     configs += [ "//build/config/linux/dri" ]
   }
 }