| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 6 'includes': [ |
| 7 '../build/common.gypi', | 7 '../build/common.gypi', |
| 8 ], | 8 ], |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 [ 'OS=="linux"', { | 10 [ 'OS=="linux"', { |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'chrome_sandbox', | 13 'target_name': 'chrome_sandbox', |
| 14 'type': 'executable', | 14 'type': 'executable', |
| 15 'conditions': [ | |
| 16 ['linux_suid_sandbox_restrictions=="User"', | |
| 17 { | |
| 18 'defines': [ 'CHROME_DEVEL_SANDBOX' ], | |
| 19 }, | |
| 20 ], | |
| 21 ], | |
| 22 'defines': [ | |
| 23 'LINUX_SANDBOX_CHROME_PATH="<(linux_sandbox_chrome_path)"', | |
| 24 ], | |
| 25 'sources': [ | 15 'sources': [ |
| 26 'linux/suid/sandbox.c', | 16 'linux/suid/sandbox.c', |
| 27 ], | 17 ], |
| 28 'include_dirs': [ | 18 'include_dirs': [ |
| 29 '..', | 19 '..', |
| 30 ], | 20 ], |
| 31 }, | 21 }, |
| 32 { | 22 { |
| 33 'target_name': 'sandbox', | 23 'target_name': 'sandbox', |
| 34 'type': '<(library)', | 24 'type': '<(library)', |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 'Debug': { | 386 'Debug': { |
| 397 'msvs_precompiled_header': 'sandbox_poc/pocdll/stdafx.h', | 387 'msvs_precompiled_header': 'sandbox_poc/pocdll/stdafx.h', |
| 398 'msvs_precompiled_source': 'sandbox_poc/pocdll/stdafx.cc', | 388 'msvs_precompiled_source': 'sandbox_poc/pocdll/stdafx.cc', |
| 399 }, | 389 }, |
| 400 }, | 390 }, |
| 401 }, | 391 }, |
| 402 ], | 392 ], |
| 403 }], | 393 }], |
| 404 ], | 394 ], |
| 405 } | 395 } |
| OLD | NEW |