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 'includes': [ | 6 'includes': [ |
7 '../../build/common.gypi', | 7 '../../build/common.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 21 matching lines...) Expand all Loading... |
32 'include_dirs': [ | 32 'include_dirs': [ |
33 '.', # libevent includes some of its own headers with #include <...> | 33 '.', # libevent includes some of its own headers with #include <...> |
34 # instead of #include "..." | 34 # instead of #include "..." |
35 ], | 35 ], |
36 'conditions': [ | 36 'conditions': [ |
37 # libevent has platform-specific implementation files. Since its | 37 # libevent has platform-specific implementation files. Since its |
38 # native build uses autoconf, platform-specific config.h files are | 38 # native build uses autoconf, platform-specific config.h files are |
39 # provided and live in platform-specific directories. | 39 # provided and live in platform-specific directories. |
40 [ 'OS == "linux"', { 'sources': [ 'epoll.c', 'epoll_sub.c' ], | 40 [ 'OS == "linux"', { 'sources': [ 'epoll.c', 'epoll_sub.c' ], |
41 'include_dirs': [ 'linux' ] } ], | 41 'include_dirs': [ 'linux' ] } ], |
42 [ 'OS == "mac"', { 'sources': [ 'kqueue.c' ], | 42 [ 'OS == "mac" or OS == "freebsd"', { 'sources': [ 'kqueue.c' ], |
43 'include_dirs': [ 'mac' ] } ], | 43 'include_dirs': [ 'mac' ] } ], |
44 ], | 44 ], |
45 }, | 45 }, |
46 ], | 46 ], |
47 } | 47 } |
OLD | NEW |