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 'use_vgem_map%': 0, |
7 'conditions': [ | 8 'conditions': [ |
8 ['OS=="linux"', { | 9 ['OS=="linux"', { |
9 'compile_suid_client': 1, | 10 'compile_suid_client': 1, |
10 'compile_credentials': 1, | 11 'compile_credentials': 1, |
11 'use_base_test_suite': 1, | 12 'use_base_test_suite': 1, |
12 }, { | 13 }, { |
13 'compile_suid_client': 0, | 14 'compile_suid_client': 0, |
14 'compile_credentials': 0, | 15 'compile_credentials': 0, |
15 'use_base_test_suite': 0, | 16 'use_base_test_suite': 0, |
16 }], | 17 }], |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 '../base/base.gyp:base', | 195 '../base/base.gyp:base', |
195 'sandbox_services', | 196 'sandbox_services', |
196 'seccomp_bpf', | 197 'seccomp_bpf', |
197 ], | 198 ], |
198 'defines': [ | 199 'defines': [ |
199 'SANDBOX_IMPLEMENTATION', | 200 'SANDBOX_IMPLEMENTATION', |
200 ], | 201 ], |
201 'include_dirs': [ | 202 'include_dirs': [ |
202 '../..', | 203 '../..', |
203 ], | 204 ], |
| 205 'conditions': [ |
| 206 ['use_vgem_map==1', { |
| 207 'defines': ['USE_VGEM_MAP'], |
| 208 }], |
| 209 ], |
204 }, | 210 }, |
205 { | 211 { |
206 # The setuid sandbox, for Linux | 212 # The setuid sandbox, for Linux |
207 'target_name': 'chrome_sandbox', | 213 'target_name': 'chrome_sandbox', |
208 'type': 'executable', | 214 'type': 'executable', |
209 'sources': [ | 215 'sources': [ |
210 'suid/common/sandbox.h', | 216 'suid/common/sandbox.h', |
211 'suid/common/suid_unsafe_environment_variables.h', | 217 'suid/common/suid_unsafe_environment_variables.h', |
212 'suid/process_util.h', | 218 'suid/process_util.h', |
213 'suid/process_util_linux.c', | 219 'suid/process_util_linux.c', |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 '../../build/isolate.gypi', | 414 '../../build/isolate.gypi', |
409 ], | 415 ], |
410 'sources': [ | 416 'sources': [ |
411 '../sandbox_linux_unittests.isolate', | 417 '../sandbox_linux_unittests.isolate', |
412 ], | 418 ], |
413 }, | 419 }, |
414 ], | 420 ], |
415 }], | 421 }], |
416 ], | 422 ], |
417 } | 423 } |
OLD | NEW |