OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../build/common.gypi', | 10 '../../build/common.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'libevent', | 14 'target_name': 'libevent', |
15 'product_name': 'event', | 15 'product_name': 'event', |
16 'type': 'static_library', | 16 'type': '<(library)', |
17 'sources': [ | 17 'sources': [ |
18 'buffer.c', | 18 'buffer.c', |
19 'evbuffer.c', | 19 'evbuffer.c', |
20 'evdns.c', | 20 'evdns.c', |
21 'event.c', | 21 'event.c', |
22 'event_tagging.c', | 22 'event_tagging.c', |
23 'evrpc.c', | 23 'evrpc.c', |
24 'evutil.c', | 24 'evutil.c', |
25 'http.c', | 25 'http.c', |
26 'log.c', | 26 'log.c', |
(...skipping 14 matching lines...) Expand all Loading... |
41 # native build uses autoconf, platform-specific config.h files are | 41 # native build uses autoconf, platform-specific config.h files are |
42 # provided and live in platform-specific directories. | 42 # provided and live in platform-specific directories. |
43 [ 'OS == "linux"', { 'sources': [ 'epoll.c', 'epoll_sub.c' ], | 43 [ 'OS == "linux"', { 'sources': [ 'epoll.c', 'epoll_sub.c' ], |
44 'include_dirs': [ 'linux' ] } ], | 44 'include_dirs': [ 'linux' ] } ], |
45 [ 'OS == "mac"', { 'sources': [ 'kqueue.c' ], | 45 [ 'OS == "mac"', { 'sources': [ 'kqueue.c' ], |
46 'include_dirs': [ 'mac' ] } ], | 46 'include_dirs': [ 'mac' ] } ], |
47 ], | 47 ], |
48 }, | 48 }, |
49 ], | 49 ], |
50 } | 50 } |
OLD | NEW |