summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-content_common_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-content_common_BUILD.gn')
-rw-r--r--www/iridium/files/patch-content_common_BUILD.gn28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/iridium/files/patch-content_common_BUILD.gn b/www/iridium/files/patch-content_common_BUILD.gn
new file mode 100644
index 000000000000..8ff43c05c1a2
--- /dev/null
+++ b/www/iridium/files/patch-content_common_BUILD.gn
@@ -0,0 +1,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) {