| 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': [ | 15 'conditions': [ |
| 16 ['linux_suid_sandbox_restrictions=="User"', | 16 ['linux_suid_sandbox_restrictions=="User"', |
| 17 { | 17 { |
| 18 'defines': [ 'CHROME_DEVEL_SANDBOX' ], | 18 'defines': [ 'CHROME_DEVEL_SANDBOX' ], |
| 19 }, | 19 }, |
| 20 ], | 20 ], |
| 21 ], | 21 ], |
| 22 'defines': [ | 22 'defines': [ |
| 23 'LINUX_SANDBOX_CHROME_PATH="<(linux_sandbox_chrome_path)"', | 23 'LINUX_SANDBOX_CHROME_PATH="<(linux_sandbox_chrome_path)"', |
| 24 ], | 24 ], |
| 25 'sources': [ | 25 'sources': [ |
| 26 'linux/suid/sandbox.cc', | 26 'linux/suid/sandbox.cc', |
| 27 ], | 27 ], |
| 28 'include_dirs': [ |
| 29 '..', |
| 30 ], |
| 28 } | 31 } |
| 29 ], | 32 ], |
| 30 }], | 33 }], |
| 31 [ 'OS=="win"', { | 34 [ 'OS=="win"', { |
| 32 'targets': [ | 35 'targets': [ |
| 33 { | 36 { |
| 34 'target_name': 'sandbox', | 37 'target_name': 'sandbox', |
| 35 'type': '<(library)', | 38 'type': '<(library)', |
| 36 'dependencies': [ | 39 'dependencies': [ |
| 37 '../testing/gtest.gyp:gtest', | 40 '../testing/gtest.gyp:gtest', |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 'Debug': { | 348 'Debug': { |
| 346 'msvs_precompiled_header': 'sandbox_poc/pocdll/stdafx.h', | 349 'msvs_precompiled_header': 'sandbox_poc/pocdll/stdafx.h', |
| 347 'msvs_precompiled_source': 'sandbox_poc/pocdll/stdafx.cc', | 350 'msvs_precompiled_source': 'sandbox_poc/pocdll/stdafx.cc', |
| 348 }, | 351 }, |
| 349 }, | 352 }, |
| 350 }, | 353 }, |
| 351 ], | 354 ], |
| 352 }], | 355 }], |
| 353 ], | 356 ], |
| 354 } | 357 } |
| OLD | NEW |