| 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" and selinux==0', { |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'chrome_sandbox', | 13 'target_name': 'chrome_sandbox', |
| 14 'type': 'executable', | 14 'type': 'executable', |
| 15 'sources': [ | 15 'sources': [ |
| 16 'linux/suid/sandbox.c', | 16 'linux/suid/sandbox.c', |
| 17 ], | 17 ], |
| 18 'include_dirs': [ | 18 'include_dirs': [ |
| 19 '..', | 19 '..', |
| 20 ], | 20 ], |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 'linux/seccomp/trusted_process.cc', | 62 'linux/seccomp/trusted_process.cc', |
| 63 'linux/seccomp/trusted_thread.cc', | 63 'linux/seccomp/trusted_thread.cc', |
| 64 'linux/seccomp/x86_decode.cc', | 64 'linux/seccomp/x86_decode.cc', |
| 65 'linux/seccomp/x86_decode.h', | 65 'linux/seccomp/x86_decode.h', |
| 66 ], | 66 ], |
| 67 }, | 67 }, |
| 68 ], | 68 ], |
| 69 ]}, | 69 ]}, |
| 70 ], | 70 ], |
| 71 }], | 71 }], |
| 72 [ 'OS=="linux" and selinux==1', { |
| 73 # GYP requires that each file have at least one target defined. |
| 74 'targets': [ |
| 75 { |
| 76 'target_name': 'sandbox', |
| 77 'type': 'settings', |
| 78 }, |
| 79 ], |
| 80 }], |
| 72 [ 'OS=="win"', { | 81 [ 'OS=="win"', { |
| 73 'targets': [ | 82 'targets': [ |
| 74 { | 83 { |
| 75 'target_name': 'sandbox', | 84 'target_name': 'sandbox', |
| 76 'type': '<(library)', | 85 'type': '<(library)', |
| 77 'dependencies': [ | 86 'dependencies': [ |
| 78 '../testing/gtest.gyp:gtest', | 87 '../testing/gtest.gyp:gtest', |
| 79 '../base/base.gyp:base', | 88 '../base/base.gyp:base', |
| 80 ], | 89 ], |
| 81 'msvs_guid': '881F6A97-D539-4C48-B401-DF04385B2343', | 90 'msvs_guid': '881F6A97-D539-4C48-B401-DF04385B2343', |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 'POCDLL_EXPORTS', | 332 'POCDLL_EXPORTS', |
| 324 ], | 333 ], |
| 325 'include_dirs': [ | 334 'include_dirs': [ |
| 326 '..', | 335 '..', |
| 327 ], | 336 ], |
| 328 }, | 337 }, |
| 329 ], | 338 ], |
| 330 }], | 339 }], |
| 331 ], | 340 ], |
| 332 } | 341 } |
| OLD | NEW |