1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 source_set("libevent") {
22 defines = [ "HAVE_CONFIG_H" ]
24 if (is_mac || is_ios) {
25 sources += [ "kqueue.c" ]
26 include_dirs = [ "mac" ]
27 } else if (is_linux) {
28 sources += [ "epoll.c" ]
29 include_dirs = [ "linux" ]
31 } else if (is_android) {
32 sources += [ "epoll.c" ]
33 include_dirs = [ "android" ]
36 configs -= [ "//build/config/compiler:chromium_code" ]
37 configs += [ "//build/config/compiler:no_chromium_code" ]