summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-content_common_BUILD.gn
blob: 985198742dc7c6555c88d51e4f3f3ec525fc41cc (plain)
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-06-05 19:03:07 UTC
+++ content/common/BUILD.gn
@@ -508,7 +508,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",
@@ -522,6 +522,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) {
OpenPOWER on IntegriCloud