summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_network_BUILD.gn
blob: dc1e918e280cdfe7c499c9ba3fc5378c0802f184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- services/network/BUILD.gn.orig	2021-03-12 23:57:28 UTC
+++ services/network/BUILD.gn
@@ -273,9 +273,15 @@ component("network_service") {
     ]
   }
 
-  if (is_linux || is_chromeos) {
+  if ((is_linux && !is_bsd) || is_chromeos) {
     deps += [
       "//sandbox/linux:sandbox_services",
+      "//sandbox/policy",
+    ]
+  }
+
+  if (is_bsd) {
+    deps += [
       "//sandbox/policy",
     ]
   }