summaryrefslogtreecommitdiffstats
path: root/third_party/libevent/libevent.gyp
diff options
context:
space:
mode:
authorearthdok@chromium.org <earthdok@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 17:45:22 +0000
committerearthdok@chromium.org <earthdok@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 17:45:22 +0000
commit9080aa1134163ca362f936ebbc46b227d4628768 (patch)
tree9c7e33a54e60208ce010c2f009a398845d5d5e20 /third_party/libevent/libevent.gyp
parentb14251a7035d3f06d21b6648c42769c35b3dd531 (diff)
downloadchromium_src-9080aa1134163ca362f936ebbc46b227d4628768.zip
chromium_src-9080aa1134163ca362f936ebbc46b227d4628768.tar.gz
chromium_src-9080aa1134163ca362f936ebbc46b227d4628768.tar.bz2
Drop dependency on epoll_sub.c in libevent.
This file only adds wrappers for epoll_create, epoll_ctl and epoll_wait syscalls, which are provided by glibc since 2.3.2. I'm removing it from build rules because it's complicating MemorySanitizer deployment. BUG=178409 TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/71443003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libevent/libevent.gyp')
-rw-r--r--third_party/libevent/libevent.gyp6
1 files changed, 2 insertions, 4 deletions
diff --git a/third_party/libevent/libevent.gyp b/third_party/libevent/libevent.gyp
index 27ac1f9..a785d34 100644
--- a/third_party/libevent/libevent.gyp
+++ b/third_party/libevent/libevent.gyp
@@ -32,7 +32,7 @@
# native build uses autoconf, platform-specific config.h files are
# provided and live in platform-specific directories.
[ 'OS == "linux" or (OS == "android" and _toolset == "host")', {
- 'sources': [ 'epoll.c', 'epoll_sub.c' ],
+ 'sources': [ 'epoll.c' ],
'include_dirs': [ 'linux' ],
'link_settings': {
'libraries': [
@@ -43,9 +43,7 @@
},
}],
[ 'OS == "android" and _toolset == "target"', {
- # On android, epoll_create(), epoll_ctl(), epoll_wait() and
- # clock_gettime() are all in libc.so, so no need to add
- # epoll_sub.c and link librt.
+ # On android, clock_gettime() is in libc.so, so no need to link librt.
'sources': [ 'epoll.c' ],
'include_dirs': [ 'android' ],
}],