OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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 source_set("libevent") { | 5 static_library("libevent") { |
6 sources = [ | 6 sources = [ |
7 "buffer.c", | 7 "buffer.c", |
8 "evbuffer.c", | 8 "evbuffer.c", |
9 "evdns.c", | 9 "evdns.c", |
10 "event.c", | 10 "event.c", |
11 "event_tagging.c", | 11 "event_tagging.c", |
12 "evrpc.c", | 12 "evrpc.c", |
13 "evutil.c", | 13 "evutil.c", |
14 "http.c", | 14 "http.c", |
15 "log.c", | 15 "log.c", |
(...skipping 13 matching lines...) Expand all Loading... |
29 include_dirs = [ "linux" ] | 29 include_dirs = [ "linux" ] |
30 libs = [ "rt" ] | 30 libs = [ "rt" ] |
31 } else if (is_android) { | 31 } else if (is_android) { |
32 sources += [ "epoll.c" ] | 32 sources += [ "epoll.c" ] |
33 include_dirs = [ "android" ] | 33 include_dirs = [ "android" ] |
34 } | 34 } |
35 | 35 |
36 configs -= [ "//build/config/compiler:chromium_code" ] | 36 configs -= [ "//build/config/compiler:chromium_code" ] |
37 configs += [ "//build/config/compiler:no_chromium_code" ] | 37 configs += [ "//build/config/compiler:no_chromium_code" ] |
38 } | 38 } |
OLD | NEW |