| 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': [ | |
| 7 '../../build/common.gypi', | |
| 8 ], | |
| 9 'targets': [ | 6 'targets': [ |
| 10 { | 7 { |
| 11 'target_name': 'libevent', | 8 'target_name': 'libevent', |
| 12 'product_name': 'event', | 9 'product_name': 'event', |
| 13 'type': '<(library)', | 10 'type': '<(library)', |
| 14 'sources': [ | 11 'sources': [ |
| 15 'buffer.c', | 12 'buffer.c', |
| 16 'evbuffer.c', | 13 'evbuffer.c', |
| 17 'evdns.c', | 14 'evdns.c', |
| 18 'event.c', | 15 'event.c', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 38 # native build uses autoconf, platform-specific config.h files are | 35 # native build uses autoconf, platform-specific config.h files are |
| 39 # provided and live in platform-specific directories. | 36 # provided and live in platform-specific directories. |
| 40 [ 'OS == "linux"', { 'sources': [ 'epoll.c', 'epoll_sub.c' ], | 37 [ 'OS == "linux"', { 'sources': [ 'epoll.c', 'epoll_sub.c' ], |
| 41 'include_dirs': [ 'linux' ] } ], | 38 'include_dirs': [ 'linux' ] } ], |
| 42 [ 'OS == "mac" or OS == "freebsd"', { 'sources': [ 'kqueue.c' ], | 39 [ 'OS == "mac" or OS == "freebsd"', { 'sources': [ 'kqueue.c' ], |
| 43 'include_dirs': [ 'mac' ] } ], | 40 'include_dirs': [ 'mac' ] } ], |
| 44 ], | 41 ], |
| 45 }, | 42 }, |
| 46 ], | 43 ], |
| 47 } | 44 } |
| OLD | NEW |