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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |