| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 # We have two principal targets: sandbox and sandbox_linux_unittests | 7 # We have two principal targets: sandbox and sandbox_linux_unittests |
| 8 # All other targets are listed as dependencies. | 8 # All other targets are listed as dependencies. |
| 9 # FIXME(jln): for historial reasons, sandbox_linux is the setuid sandbox | 9 # FIXME(jln): for historial reasons, sandbox_linux is the setuid sandbox |
| 10 # and is its own target. | 10 # and is its own target. |
| 11 { | 11 { |
| 12 'target_name': 'sandbox', | 12 'target_name': 'sandbox', |
| 13 'type': 'none', | 13 'type': 'none', |
| 14 'conditions': [ | 14 'conditions': [ |
| 15 # Only compile in the seccomp mode 1 code for the flag combination | 15 # Only compile in the seccomp mode 1 code for the flag combination |
| 16 # where we support it. | 16 # where we support it. |
| 17 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64") ' | 17 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64") ' |
| 18 'and toolkit_views==0 and selinux==0', { | 18 'and toolkit_views==0 and selinux==0', { |
| 19 'dependencies': [ | 19 'dependencies': [ |
| 20 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', | 20 'linux/seccomp-legacy/seccomp.gyp:seccomp_sandbox', |
| 21 ], | 21 ], |
| 22 }], | 22 }], |
| 23 # Similarly, compile seccomp BPF when we support it | 23 # Similarly, compile seccomp BPF when we support it |
| 24 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { | 24 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { |
| 25 'type': 'static_library', | 25 'type': 'static_library', |
| 26 'dependencies': [ | 26 'dependencies': [ |
| 27 'seccomp_bpf', | 27 'seccomp_bpf', |
| 28 ], | 28 ], |
| 29 }], | 29 }], |
| 30 ], | 30 ], |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 ], | 95 ], |
| 96 'dependencies': [ | 96 'dependencies': [ |
| 97 '../base/base.gyp:base', | 97 '../base/base.gyp:base', |
| 98 ], | 98 ], |
| 99 'include_dirs': [ | 99 'include_dirs': [ |
| 100 '..', | 100 '..', |
| 101 ], | 101 ], |
| 102 }, | 102 }, |
| 103 ], | 103 ], |
| 104 } | 104 } |
| OLD | NEW |