aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_network_BUILD.gn
blob: ef9fe8ceb7d134bdb8929ec10fd9fbef145a3403 (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-04-14 18:41:08 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",
     ]
   }