OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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_system_libevent%': 0, | 7 'use_system_libevent%': 0, |
8 }, | 8 }, |
9 'conditions': [ | 9 'conditions': [ |
10 ['use_system_libevent==0', { | 10 ['use_system_libevent==0', { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 'include_dirs': [ 'solaris' ] | 59 'include_dirs': [ 'solaris' ] |
60 }], | 60 }], |
61 ], | 61 ], |
62 }, | 62 }, |
63 ], | 63 ], |
64 }, { # use_system_libevent != 0 | 64 }, { # use_system_libevent != 0 |
65 'targets': [ | 65 'targets': [ |
66 { | 66 { |
67 'target_name': 'libevent', | 67 'target_name': 'libevent', |
68 'type': 'settings', | 68 'type': 'settings', |
| 69 'toolsets': ['host', 'target'], |
69 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
70 'defines': [ | 71 'defines': [ |
71 'USE_SYSTEM_LIBEVENT', | 72 'USE_SYSTEM_LIBEVENT', |
72 ], | 73 ], |
73 }, | 74 }, |
74 'link_settings': { | 75 'link_settings': { |
75 'libraries': [ | 76 'libraries': [ |
76 '-levent', | 77 '-levent', |
77 ], | 78 ], |
78 }, | 79 }, |
79 } | 80 } |
80 ], | 81 ], |
81 }], | 82 }], |
82 ], | 83 ], |
83 } | 84 } |
OLD | NEW |