Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 2550375642fbd4635c697b565b42abfc1fc124ca..907f9bc48eb7c783ee8008e08eae74333fc27a07 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1917,6 +1917,17 @@ |
}], |
], |
}], |
+ # The seccomp-bpf sandbox is only supported on three architectures |
+ # currently. |
+ # Do not disable seccomp_bpf anywhere without talking to |
+ # security@chromium.org! |
+ ['((OS=="linux" or OS=="android") and ' |
+ '(target_arch=="ia32" or target_arch=="x64" or ' |
+ 'target_arch=="arm"))', { |
+ 'use_seccomp_bpf%': 1, |
+ }, { |
+ 'use_seccomp_bpf%': 0, |
+ }], |
], |
# The path to the ANGLE library. |