summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_common_BUILD.gn')
-rw-r--r--www/chromium/files/patch-content_common_BUILD.gn38
1 files changed, 15 insertions, 23 deletions
diff --git a/www/chromium/files/patch-content_common_BUILD.gn b/www/chromium/files/patch-content_common_BUILD.gn
index 985198742dc7..8757f3e25044 100644
--- a/www/chromium/files/patch-content_common_BUILD.gn
+++ b/www/chromium/files/patch-content_common_BUILD.gn
@@ -1,28 +1,20 @@
---- 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",
+--- content/common/BUILD.gn.orig 2018-01-04 21:05:50.000000000 +0100
++++ content/common/BUILD.gn 2018-01-21 00:08:52.884724000 +0100
+@@ -564,6 +564,17 @@
"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/bpf_cdm_policy_linux.cc",
++ "sandbox_linux/bpf_pdf_compositor_policy_linux.cc",
+ "sandbox_linux/sandbox_init_linux.cc",
- ]
- }
- if (is_android) {
++ "sandbox_linux/sandbox_linux.cc",
++ "sandbox_linux/sandbox_seccomp_bpf_linux.cc",
++ "sandbox_linux/sandbox_debug_handling_linux.cc",
++ ]
++ }
+ }
+
+ if (is_mac) {