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', { |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'libevent', | 13 'target_name': 'libevent', |
14 'product_name': 'event', | 14 'product_name': 'event', |
15 'type': 'static_library', | 15 'type': 'static_library', |
| 16 'toolsets': ['host', 'target'], |
16 'sources': [ | 17 'sources': [ |
17 'buffer.c', | 18 'buffer.c', |
18 'evbuffer.c', | 19 'evbuffer.c', |
19 'evdns.c', | 20 'evdns.c', |
20 'event.c', | 21 'event.c', |
21 'event_tagging.c', | 22 'event_tagging.c', |
22 'evrpc.c', | 23 'evrpc.c', |
23 'evutil.c', | 24 'evutil.c', |
24 'http.c', | 25 'http.c', |
25 'log.c', | 26 'log.c', |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 'link_settings': { | 83 'link_settings': { |
83 'libraries': [ | 84 'libraries': [ |
84 '-levent', | 85 '-levent', |
85 ], | 86 ], |
86 }, | 87 }, |
87 } | 88 } |
88 ], | 89 ], |
89 }], | 90 }], |
90 ], | 91 ], |
91 } | 92 } |
OLD | NEW |