| 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. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 ], | 48 ], |
| 49 'include_dirs': [ | 49 'include_dirs': [ |
| 50 '../..', | 50 '../..', |
| 51 ], | 51 ], |
| 52 'conditions': [ | 52 'conditions': [ |
| 53 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64" ' | 53 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64" ' |
| 54 'or target_arch=="arm")', { | 54 'or target_arch=="arm")', { |
| 55 'sources': [ | 55 'sources': [ |
| 56 'seccomp-bpf/bpf_tests.cc', | 56 'seccomp-bpf/bpf_tests.cc', |
| 57 'seccomp-bpf/bpf_tests.h', | 57 'seccomp-bpf/bpf_tests.h', |
| 58 'seccomp-bpf/errorcode_unittest.cc', |
| 58 'seccomp-bpf/sandbox_bpf_unittest.cc', | 59 'seccomp-bpf/sandbox_bpf_unittest.cc', |
| 59 ], | 60 ], |
| 60 }], | 61 }], |
| 61 ], | 62 ], |
| 62 }, | 63 }, |
| 63 { | 64 { |
| 64 'target_name': 'seccomp_bpf', | 65 'target_name': 'seccomp_bpf', |
| 65 'type': 'static_library', | 66 'type': 'static_library', |
| 66 'sources': [ | 67 'sources': [ |
| 67 'seccomp-bpf/die.cc', | 68 'seccomp-bpf/die.cc', |
| 68 'seccomp-bpf/die.h', | 69 'seccomp-bpf/die.h', |
| 70 'seccomp-bpf/errorcode.cc', |
| 71 'seccomp-bpf/errorcode.h', |
| 69 'seccomp-bpf/sandbox_bpf.cc', | 72 'seccomp-bpf/sandbox_bpf.cc', |
| 70 'seccomp-bpf/sandbox_bpf.h', | 73 'seccomp-bpf/sandbox_bpf.h', |
| 71 'seccomp-bpf/verifier.cc', | 74 'seccomp-bpf/verifier.cc', |
| 72 'seccomp-bpf/verifier.h', | 75 'seccomp-bpf/verifier.h', |
| 73 ], | 76 ], |
| 74 'dependencies': [ | 77 'dependencies': [ |
| 75 '../base/base.gyp:base', | 78 '../base/base.gyp:base', |
| 76 ], | 79 ], |
| 77 'include_dirs': [ | 80 'include_dirs': [ |
| 78 '../..', | 81 '../..', |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 'dependencies': [ | 128 'dependencies': [ |
| 126 '../base/base.gyp:base', | 129 '../base/base.gyp:base', |
| 127 ], | 130 ], |
| 128 'include_dirs': [ | 131 'include_dirs': [ |
| 129 '..', | 132 '..', |
| 130 ], | 133 ], |
| 131 }, | 134 }, |
| 132 | 135 |
| 133 ], | 136 ], |
| 134 } | 137 } |
| OLD | NEW |