aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_BUILD.gn
blob: 8ff43c05c1a255f6309a1bb5f2fcc2e9faeaaf35 (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
--- content/common/BUILD.gn.orig	2017-04-19 19:06:33 UTC
+++ content/common/BUILD.gn
@@ -503,7 +503,7 @@ source_set("common") {
   }
 
   if (!use_seccomp_bpf) {
-    if (is_linux) {
+    if (is_linux || is_bsd) {
       sources -= [
         "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc",
         "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h",
@@ -517,6 +517,16 @@ source_set("common") {
         "sandbox_linux/bpf_utility_policy_linux.h",
         "sandbox_linux/sandbox_bpf_base_policy_linux.cc",
         "sandbox_linux/sandbox_bpf_base_policy_linux.h",
+        "sandbox_linux/sandbox_seccomp_bpf_linux.cc",
+        "sandbox_linux/sandbox_seccomp_bpf_linux.h",
+      ]
+    }
+    if (is_bsd) {
+      sources -= [
+        "quarantine/quarantine_linux.cc",
+        "sandbox_linux/sandbox_linux.cc",
+        "sandbox_linux/sandbox_linux.h",
+        "sandbox_linux/sandbox_init_linux.cc",
       ]
     }
     if (is_android) {