| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 'src/window.h', | 129 'src/window.h', |
| 130 ], | 130 ], |
| 131 }], | 131 }], |
| 132 ], | 132 ], |
| 133 }, | 133 }, |
| 134 'conditions': [ | 134 'conditions': [ |
| 135 [ 'OS!="win" and OS!="mac"', { | 135 [ 'OS!="win" and OS!="mac"', { |
| 136 'targets': [ | 136 'targets': [ |
| 137 { | 137 { |
| 138 'target_name': 'sandbox', | 138 'target_name': 'sandbox', |
| 139 'type': 'static_library', | 139 'type': 'settings', |
| 140 'conditions': [ | 140 'conditions': [ |
| 141 # Only compile in the seccomp code for the flag combination | 141 # Only compile in the seccomp code for the flag combination |
| 142 # where we support it. | 142 # where we support it. |
| 143 [ 'OS=="linux" and target_arch!="arm" and toolkit_views==0 and selin
ux==0', { | 143 [ 'OS=="linux" and target_arch!="arm" and toolkit_views==0 and selin
ux==0', { |
| 144 'dependencies': [ | 144 'dependencies': [ |
| 145 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', | 145 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', |
| 146 ], | 146 ], |
| 147 }], | 147 }], |
| 148 ], | 148 ], |
| 149 }, | 149 }, |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 'POCDLL_EXPORTS', | 373 'POCDLL_EXPORTS', |
| 374 ], | 374 ], |
| 375 'include_dirs': [ | 375 'include_dirs': [ |
| 376 '..', | 376 '..', |
| 377 ], | 377 ], |
| 378 }, | 378 }, |
| 379 ], | 379 ], |
| 380 }], | 380 }], |
| 381 ], | 381 ], |
| 382 } | 382 } |
| OLD | NEW |