| 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', { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 ], | 47 ], |
| 48 }, | 48 }, |
| 49 }], | 49 }], |
| 50 [ 'OS == "android"', { | 50 [ 'OS == "android"', { |
| 51 # On android, epoll_create(), epoll_ctl(), epoll_wait() and | 51 # On android, epoll_create(), epoll_ctl(), epoll_wait() and |
| 52 # clock_gettime() are all in libc.so, so no need to add | 52 # clock_gettime() are all in libc.so, so no need to add |
| 53 # epoll_sub.c and link librt. | 53 # epoll_sub.c and link librt. |
| 54 'sources': [ 'epoll.c' ], | 54 'sources': [ 'epoll.c' ], |
| 55 'include_dirs': [ 'android' ], | 55 'include_dirs': [ 'android' ], |
| 56 }], | 56 }], |
| 57 [ 'OS == "mac" or OS == "freebsd" or OS == "openbsd"', { | 57 [ 'OS == "mac" or os_bsd==1', { |
| 58 'sources': [ 'kqueue.c' ], | 58 'sources': [ 'kqueue.c' ], |
| 59 'include_dirs': [ 'mac' ] | 59 'include_dirs': [ 'mac' ] |
| 60 }], | 60 }], |
| 61 [ 'OS == "solaris"', { | 61 [ 'OS == "solaris"', { |
| 62 'sources': [ 'devpoll.c', 'evport.c' ], | 62 'sources': [ 'devpoll.c', 'evport.c' ], |
| 63 'include_dirs': [ 'solaris' ] | 63 'include_dirs': [ 'solaris' ] |
| 64 }], | 64 }], |
| 65 ], | 65 ], |
| 66 }, | 66 }, |
| 67 ], | 67 ], |
| (...skipping 11 matching lines...) Expand all Loading... |
| 79 'link_settings': { | 79 'link_settings': { |
| 80 'libraries': [ | 80 'libraries': [ |
| 81 '-levent', | 81 '-levent', |
| 82 ], | 82 ], |
| 83 }, | 83 }, |
| 84 } | 84 } |
| 85 ], | 85 ], |
| 86 }], | 86 }], |
| 87 ], | 87 ], |
| 88 } | 88 } |
| OLD | NEW |