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

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

Issue 172032: First cut for a FreeBSD port - much still not working (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 months 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 | Annotate | Revision Log
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 '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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698