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'], | |
17 'sources': [ | 16 'sources': [ |
18 'buffer.c', | 17 'buffer.c', |
19 'evbuffer.c', | 18 'evbuffer.c', |
20 'evdns.c', | 19 'evdns.c', |
21 'event.c', | 20 'event.c', |
22 'event_tagging.c', | 21 'event_tagging.c', |
23 'evrpc.c', | 22 'evrpc.c', |
24 'evutil.c', | 23 'evutil.c', |
25 'http.c', | 24 'http.c', |
26 'log.c', | 25 'log.c', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 'link_settings': { | 75 'link_settings': { |
77 'libraries': [ | 76 'libraries': [ |
78 '-levent', | 77 '-levent', |
79 ], | 78 ], |
80 }, | 79 }, |
81 } | 80 } |
82 ], | 81 ], |
83 }], | 82 }], |
84 ], | 83 ], |
85 } | 84 } |
OLD | NEW |