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

Side by Side Diff: tools/gn/secondary/third_party/libevent/BUILD.gn

Issue 21983003: Make the Mac build work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dunnow Created 7 years, 4 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
(Empty)
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.
4
5 static_library("libevent") {
6 sources = [
7 "buffer.c",
8 "epoll.c",
9 "epoll_sub.c",
10 "evbuffer.c",
11 "evdns.c",
12 "event.c",
13 "event_tagging.c",
14 "evrpc.c",
15 "evutil.c",
16 "http.c",
17 "kqueue.c",
18 "log.c",
19 "poll.c",
20 "select.c",
21 "signal.c",
22 "strlcpy.c",
23 ]
24
25 defines = [ "HAVE_CONFIG_H" ]
26
27 if (is_linux) {
28 ldflags = [ "-lrt" ]
29 } else {
30 sources -= [ "epoll.c", "epoll_sub.c" ]
31 }
32
33 if (is_mac) {
34 includes = [ "mac" ]
35 } else {
36 sources -= [ "kqueue.c" ]
37 }
38
39 configs -= "//build/config/compiler:chromium_code"
40 configs += "//build/config/compiler:no_chromium_code"
41 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/build/config/mac/BUILD.gn ('k') | tools/gn/secondary/third_party/mach_override/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698