| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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.h', | 56 'seccomp-bpf/bpf_tests.h', |
| 57 'seccomp-bpf/codegen_unittest.cc', | 57 'seccomp-bpf/codegen_unittest.cc', |
| 58 'seccomp-bpf/errorcode_unittest.cc', | 58 'seccomp-bpf/errorcode_unittest.cc', |
| 59 'seccomp-bpf/sandbox_bpf_unittest.cc', | 59 'seccomp-bpf/sandbox_bpf_unittest.cc', |
| 60 'seccomp-bpf/syscall_iterator_unittest.cc', | 60 'seccomp-bpf/syscall_iterator_unittest.cc', |
| 61 'seccomp-bpf/syscall_unittest.cc', |
| 61 ], | 62 ], |
| 62 }], | 63 }], |
| 63 ], | 64 ], |
| 64 }, | 65 }, |
| 65 { | 66 { |
| 66 'target_name': 'seccomp_bpf', | 67 'target_name': 'seccomp_bpf', |
| 67 'type': 'static_library', | 68 'type': 'static_library', |
| 68 'sources': [ | 69 'sources': [ |
| 69 'seccomp-bpf/basicblock.cc', | 70 'seccomp-bpf/basicblock.cc', |
| 70 'seccomp-bpf/basicblock.h', | 71 'seccomp-bpf/basicblock.h', |
| 71 'seccomp-bpf/codegen.cc', | 72 'seccomp-bpf/codegen.cc', |
| 72 'seccomp-bpf/codegen.h', | 73 'seccomp-bpf/codegen.h', |
| 73 'seccomp-bpf/die.cc', | 74 'seccomp-bpf/die.cc', |
| 74 'seccomp-bpf/die.h', | 75 'seccomp-bpf/die.h', |
| 75 'seccomp-bpf/errorcode.cc', | 76 'seccomp-bpf/errorcode.cc', |
| 76 'seccomp-bpf/errorcode.h', | 77 'seccomp-bpf/errorcode.h', |
| 77 'seccomp-bpf/instruction.h', | 78 'seccomp-bpf/instruction.h', |
| 78 'seccomp-bpf/sandbox_bpf.cc', | 79 'seccomp-bpf/sandbox_bpf.cc', |
| 79 'seccomp-bpf/sandbox_bpf.h', | 80 'seccomp-bpf/sandbox_bpf.h', |
| 81 'seccomp-bpf/syscall.cc', |
| 82 'seccomp-bpf/syscall.h', |
| 80 'seccomp-bpf/syscall_iterator.cc', | 83 'seccomp-bpf/syscall_iterator.cc', |
| 81 'seccomp-bpf/syscall_iterator.h', | 84 'seccomp-bpf/syscall_iterator.h', |
| 82 'seccomp-bpf/verifier.cc', | 85 'seccomp-bpf/verifier.cc', |
| 83 'seccomp-bpf/verifier.h', | 86 'seccomp-bpf/verifier.h', |
| 84 ], | 87 ], |
| 85 'dependencies': [ | 88 'dependencies': [ |
| 86 '../base/base.gyp:base', | 89 '../base/base.gyp:base', |
| 87 ], | 90 ], |
| 88 'include_dirs': [ | 91 'include_dirs': [ |
| 89 '../..', | 92 '../..', |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 'dependencies': [ | 139 'dependencies': [ |
| 137 '../base/base.gyp:base', | 140 '../base/base.gyp:base', |
| 138 ], | 141 ], |
| 139 'include_dirs': [ | 142 'include_dirs': [ |
| 140 '..', | 143 '..', |
| 141 ], | 144 ], |
| 142 }, | 145 }, |
| 143 | 146 |
| 144 ], | 147 ], |
| 145 } | 148 } |
| OLD | NEW |