diff options
author | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-08 00:23:05 +0000 |
---|---|---|
committer | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-08 00:23:05 +0000 |
commit | 1603004a6e709ab8d4213a3d1563b41a754cc972 (patch) | |
tree | 1aefe31ef304f23d61666fdbd62feccd02426ee4 /sandbox | |
parent | 2b910313ba4e43e3da5b3598efec90fa4b004dfa (diff) | |
download | chromium_src-1603004a6e709ab8d4213a3d1563b41a754cc972.zip chromium_src-1603004a6e709ab8d4213a3d1563b41a754cc972.tar.gz chromium_src-1603004a6e709ab8d4213a3d1563b41a754cc972.tar.bz2 |
Build seccomp 1 for supported architecture only
Instead of blacklisting ARM, we whitelist IA32 and X86_64
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10533055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/sandbox.gyp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp index 9c801c5..613e6e3 100644 --- a/sandbox/sandbox.gyp +++ b/sandbox/sandbox.gyp @@ -146,7 +146,8 @@ 'conditions': [ # Only compile in the seccomp mode 1 code for the flag combination # where we support it. - [ 'OS=="linux" and target_arch!="arm" and toolkit_views==0 and selinux==0', { + [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64") ' + 'and toolkit_views==0 and selinux==0', { 'dependencies': [ '../seccompsandbox/seccomp.gyp:seccomp_sandbox', ], |