| 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'variables': { | 10 'variables': { |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', | 152 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', |
| 153 ], | 153 ], |
| 154 }], | 154 }], |
| 155 # This does not include Android. | 155 # This does not include Android. |
| 156 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { | 156 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { |
| 157 'type': 'static_library', | 157 'type': 'static_library', |
| 158 # Compile seccomp mode 2 code on Linux | 158 # Compile seccomp mode 2 code on Linux |
| 159 'sources': [ | 159 'sources': [ |
| 160 'linux/seccomp-bpf/sandbox_bpf.cc', | 160 'linux/seccomp-bpf/sandbox_bpf.cc', |
| 161 'linux/seccomp-bpf/sandbox_bpf.h', | 161 'linux/seccomp-bpf/sandbox_bpf.h', |
| 162 'linux/seccomp-bpf/verifier.cc', |
| 163 'linux/seccomp-bpf/verifier.h', |
| 162 ], | 164 ], |
| 163 'dependencies': [ | 165 'dependencies': [ |
| 164 '../base/base.gyp:base', | 166 '../base/base.gyp:base', |
| 165 ], | 167 ], |
| 166 'include_dirs': [ | 168 'include_dirs': [ |
| 167 '..', | 169 '..', |
| 168 ], | 170 ], |
| 169 }], | 171 }], |
| 170 ], | 172 ], |
| 171 }, | 173 }, |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 'POCDLL_EXPORTS', | 398 'POCDLL_EXPORTS', |
| 397 ], | 399 ], |
| 398 'include_dirs': [ | 400 'include_dirs': [ |
| 399 '..', | 401 '..', |
| 400 ], | 402 ], |
| 401 }, | 403 }, |
| 402 ], | 404 ], |
| 403 }], | 405 }], |
| 404 ], | 406 ], |
| 405 } | 407 } |
| OLD | NEW |