Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: third_party/libevent/libevent.gyp

Issue 412006: posix: upgrade libevent from 1.4.7 to 1.4.13 (Closed)
Patch Set: better readme Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libevent', 8 'target_name': 'libevent',
9 'product_name': 'event', 9 'product_name': 'event',
10 'type': '<(library)', 10 'type': '<(library)',
(...skipping 19 matching lines...) Expand all
30 '.', # libevent includes some of its own headers with #include <...> 30 '.', # libevent includes some of its own headers with #include <...>
31 # instead of #include "..." 31 # instead of #include "..."
32 ], 32 ],
33 'conditions': [ 33 'conditions': [
34 # libevent has platform-specific implementation files. Since its 34 # libevent has platform-specific implementation files. Since its
35 # native build uses autoconf, platform-specific config.h files are 35 # native build uses autoconf, platform-specific config.h files are
36 # provided and live in platform-specific directories. 36 # provided and live in platform-specific directories.
37 [ 'OS == "linux"', { 37 [ 'OS == "linux"', {
38 'sources': [ 'epoll.c', 'epoll_sub.c' ], 38 'sources': [ 'epoll.c', 'epoll_sub.c' ],
39 'include_dirs': [ 'linux' ], 39 'include_dirs': [ 'linux' ],
40 'link_settings': 40 'link_settings': {
41 { 'libraries': [ 41 'libraries': [
42 # We need rt for clock_gettime(). 42 # We need rt for clock_gettime().
43 # TODO(port) Maybe on FreeBSD as well? 43 # TODO(port) Maybe on FreeBSD as well?
44 '-lrt', 44 '-lrt',
45 ], 45 ],
46 }, 46 },
47 } 47 }],
48 ], 48 [ 'OS == "mac" or OS == "freebsd"', {
49 [ 'OS == "mac" or OS == "freebsd"', { 'sources': [ 'kqueue.c' ], 49 'sources': [ 'kqueue.c' ],
50 'include_dirs': [ 'mac' ] } ], 50 'include_dirs': [ 'mac' ]
51 }],
51 ], 52 ],
52 }, 53 },
53 ], 54 ],
54 } 55 }
55 56
56 # Local Variables: 57 # Local Variables:
57 # tab-width:2 58 # tab-width:2
58 # indent-tabs-mode:nil 59 # indent-tabs-mode:nil
59 # End: 60 # End:
60 # vim: set expandtab tabstop=2 shiftwidth=2: 61 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698