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-03-09 20:04:32 UTC
+++ content/common/BUILD.gn
@@ -498,7 +498,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",
@@ -512,6 +512,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) {
|