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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 'sources': [ 'devpoll.c', 'evport.c' ], | 62 'sources': [ 'devpoll.c', 'evport.c' ], |
63 'include_dirs': [ 'solaris' ] | 63 'include_dirs': [ 'solaris' ] |
64 }], | 64 }], |
65 ], | 65 ], |
66 }, | 66 }, |
67 ], | 67 ], |
68 }, { # use_system_libevent != 0 | 68 }, { # use_system_libevent != 0 |
69 'targets': [ | 69 'targets': [ |
70 { | 70 { |
71 'target_name': 'libevent', | 71 'target_name': 'libevent', |
72 'type': 'settings', | 72 'type': 'none', |
73 'toolsets': ['host', 'target'], | 73 'toolsets': ['host', 'target'], |
74 'direct_dependent_settings': { | 74 'direct_dependent_settings': { |
75 'defines': [ | 75 'defines': [ |
76 'USE_SYSTEM_LIBEVENT', | 76 'USE_SYSTEM_LIBEVENT', |
77 ], | 77 ], |
78 }, | 78 }, |
79 'link_settings': { | 79 'link_settings': { |
80 'libraries': [ | 80 'libraries': [ |
81 '-levent', | 81 '-levent', |
82 ], | 82 ], |
83 }, | 83 }, |
84 } | 84 } |
85 ], | 85 ], |
86 }], | 86 }], |
87 ], | 87 ], |
88 } | 88 } |
OLD | NEW |