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 'conditions': [ | 7 'conditions': [ |
8 ['OS=="linux"', { | 8 ['OS=="linux"', { |
9 'compile_suid_client': 1, | 9 'compile_suid_client': 1, |
10 'compile_credentials': 1, | 10 'compile_credentials': 1, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 '../base/base.gyp:base', | 184 '../base/base.gyp:base', |
185 'sandbox_services', | 185 'sandbox_services', |
186 'seccomp_bpf', | 186 'seccomp_bpf', |
187 ], | 187 ], |
188 'defines': [ | 188 'defines': [ |
189 'SANDBOX_IMPLEMENTATION', | 189 'SANDBOX_IMPLEMENTATION', |
190 ], | 190 ], |
191 'include_dirs': [ | 191 'include_dirs': [ |
192 '../..', | 192 '../..', |
193 ], | 193 ], |
| 194 'conditions': [ |
| 195 ['ozone_platform_gbm==1 and (target_arch=="ia32" or target_arch=="x64")'
, { |
| 196 'defines': [ |
| 197 'USE_OZONE_GBM_INTEL', |
| 198 ], |
| 199 'dependencies': [ |
| 200 '../build/linux/system.gyp:libdrm', |
| 201 ], |
| 202 }], |
| 203 ], |
194 }, | 204 }, |
195 { | 205 { |
196 # The setuid sandbox, for Linux | 206 # The setuid sandbox, for Linux |
197 'target_name': 'chrome_sandbox', | 207 'target_name': 'chrome_sandbox', |
198 'type': 'executable', | 208 'type': 'executable', |
199 'sources': [ | 209 'sources': [ |
200 'suid/common/sandbox.h', | 210 'suid/common/sandbox.h', |
201 'suid/common/suid_unsafe_environment_variables.h', | 211 'suid/common/suid_unsafe_environment_variables.h', |
202 'suid/process_util.h', | 212 'suid/process_util.h', |
203 'suid/process_util_linux.c', | 213 'suid/process_util_linux.c', |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 '../../build/isolate.gypi', | 406 '../../build/isolate.gypi', |
397 ], | 407 ], |
398 'sources': [ | 408 'sources': [ |
399 '../sandbox_linux_unittests.isolate', | 409 '../sandbox_linux_unittests.isolate', |
400 ], | 410 ], |
401 }, | 411 }, |
402 ], | 412 ], |
403 }], | 413 }], |
404 ], | 414 ], |
405 } | 415 } |
OLD | NEW |