| 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 '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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 'sources': [ 'epoll.c', 'epoll_sub.c' ], | 43 'sources': [ 'epoll.c', 'epoll_sub.c' ], |
| 44 'include_dirs': [ 'linux' ], | 44 'include_dirs': [ 'linux' ], |
| 45 'link_settings': { | 45 'link_settings': { |
| 46 'libraries': [ | 46 'libraries': [ |
| 47 # We need rt for clock_gettime(). | 47 # We need rt for clock_gettime(). |
| 48 # TODO(port) Maybe on FreeBSD as well? | 48 # TODO(port) Maybe on FreeBSD as well? |
| 49 '-lrt', | 49 '-lrt', |
| 50 ], | 50 ], |
| 51 }, | 51 }, |
| 52 }], | 52 }], |
| 53 [ 'OS == "mac" or OS == "freebsd"', { | 53 [ 'OS == "mac" or OS == "freebsd" or OS == "openbsd"', { |
| 54 'sources': [ 'kqueue.c' ], | 54 'sources': [ 'kqueue.c' ], |
| 55 'include_dirs': [ 'mac' ] | 55 'include_dirs': [ 'mac' ] |
| 56 }], | 56 }], |
| 57 ], | 57 ], |
| 58 }, | 58 }, |
| 59 ], | 59 ], |
| 60 }, { # use_system_libevent != 0 | 60 }, { # use_system_libevent != 0 |
| 61 'targets': [ | 61 'targets': [ |
| 62 { | 62 { |
| 63 'target_name': 'libevent', | 63 'target_name': 'libevent', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 76 ], | 76 ], |
| 77 }], | 77 }], |
| 78 ], | 78 ], |
| 79 } | 79 } |
| 80 | 80 |
| 81 # Local Variables: | 81 # Local Variables: |
| 82 # tab-width:2 | 82 # tab-width:2 |
| 83 # indent-tabs-mode:nil | 83 # indent-tabs-mode:nil |
| 84 # End: | 84 # End: |
| 85 # vim: set expandtab tabstop=2 shiftwidth=2: | 85 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |