| 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 24 matching lines...) Expand all Loading... |
| 35 }, | 35 }, |
| 36 { | 36 { |
| 37 'target_name': 'sandbox_linux_unittests', | 37 'target_name': 'sandbox_linux_unittests', |
| 38 'type': 'executable', | 38 'type': 'executable', |
| 39 'dependencies': [ | 39 'dependencies': [ |
| 40 'sandbox', | 40 'sandbox', |
| 41 '../testing/gtest.gyp:gtest', | 41 '../testing/gtest.gyp:gtest', |
| 42 ], | 42 ], |
| 43 'sources': [ | 43 'sources': [ |
| 44 'tests/unit_tests.cc', | 44 'tests/unit_tests.cc', |
| 45 'tests/unit_tests.h', |
| 45 'suid/client/setuid_sandbox_client_unittest.cc', | 46 'suid/client/setuid_sandbox_client_unittest.cc', |
| 46 ], | 47 ], |
| 47 'include_dirs': [ | 48 'include_dirs': [ |
| 48 '../..', | 49 '../..', |
| 49 ], | 50 ], |
| 50 'conditions': [ | 51 'conditions': [ |
| 51 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64" ' | 52 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64" ' |
| 52 'or target_arch=="arm")', { | 53 'or target_arch=="arm")', { |
| 53 'sources': [ | 54 'sources': [ |
| 55 'seccomp-bpf/errorcode_unittest.cc', |
| 54 'seccomp-bpf/sandbox_bpf_unittest.cc', | 56 'seccomp-bpf/sandbox_bpf_unittest.cc', |
| 55 ], | 57 ], |
| 56 }], | 58 }], |
| 57 ], | 59 ], |
| 58 }, | 60 }, |
| 59 { | 61 { |
| 60 'target_name': 'seccomp_bpf', | 62 'target_name': 'seccomp_bpf', |
| 61 'type': 'static_library', | 63 'type': 'static_library', |
| 62 'sources': [ | 64 'sources': [ |
| 65 'seccomp-bpf/die.cc', |
| 66 'seccomp-bpf/die.h', |
| 67 'seccomp-bpf/errorcode.cc', |
| 68 'seccomp-bpf/errorcode.h', |
| 63 'seccomp-bpf/sandbox_bpf.cc', | 69 'seccomp-bpf/sandbox_bpf.cc', |
| 64 'seccomp-bpf/sandbox_bpf.h', | 70 'seccomp-bpf/sandbox_bpf.h', |
| 65 'seccomp-bpf/verifier.cc', | 71 'seccomp-bpf/verifier.cc', |
| 66 'seccomp-bpf/verifier.h', | 72 'seccomp-bpf/verifier.h', |
| 67 ], | 73 ], |
| 68 'dependencies': [ | 74 'dependencies': [ |
| 69 '../base/base.gyp:base', | 75 '../base/base.gyp:base', |
| 70 ], | 76 ], |
| 71 'include_dirs': [ | 77 'include_dirs': [ |
| 72 '../..', | 78 '../..', |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 'dependencies': [ | 125 'dependencies': [ |
| 120 '../base/base.gyp:base', | 126 '../base/base.gyp:base', |
| 121 ], | 127 ], |
| 122 'include_dirs': [ | 128 'include_dirs': [ |
| 123 '..', | 129 '..', |
| 124 ], | 130 ], |
| 125 }, | 131 }, |
| 126 | 132 |
| 127 ], | 133 ], |
| 128 } | 134 } |
| OLD | NEW |