aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_common_BUILD.gn
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
committerRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
commit9187a6460fc419eec4dc64a4569e306722a83427 (patch)
treeb3d680efe613bd39a30a50f60bcb0ce36a78eab2 /www/chromium/files/patch-content_common_BUILD.gn
parent856d6fcc598498ef2f8b9cac423158f32ccd5e6f (diff)
downloadports-9187a6460fc419eec4dc64a4569e306722a83427.tar.gz
ports-9187a6460fc419eec4dc64a4569e306722a83427.zip
www/chromium: update to 54.0.2840.100
Notes
Notes: svn path=/head/; revision=426855
Diffstat (limited to 'www/chromium/files/patch-content_common_BUILD.gn')
-rw-r--r--www/chromium/files/patch-content_common_BUILD.gn27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_common_BUILD.gn b/www/chromium/files/patch-content_common_BUILD.gn
new file mode 100644
index 000000000000..47214f449a01
--- /dev/null
+++ b/www/chromium/files/patch-content_common_BUILD.gn
@@ -0,0 +1,27 @@
+--- content/common/BUILD.gn.orig 2016-08-03 22:02:18.000000000 +0300
++++ content/common/BUILD.gn 2016-10-09 05:21:51.439131000 +0300
+@@ -179,7 +179,7 @@
+ if (use_seccomp_bpf) {
+ defines += [ "USE_SECCOMP_BPF" ]
+ } else {
+- 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",
+@@ -193,6 +193,15 @@
+ "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 -= [
++ "sandbox_linux/sandbox_linux.cc",
++ "sandbox_linux/sandbox_linux.h",
++ "sandbox_linux/sandbox_init_linux.cc",
+ ]
+ }
+ if (is_android) {