| 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 static_library("libevent") { | 5 static_library("libevent") { |
| 6 external = true | |
| 7 sources = [ | 6 sources = [ |
| 8 "buffer.c", | 7 "buffer.c", |
| 9 "epoll.c", | 8 "epoll.c", |
| 10 "epoll_sub.c", | 9 "epoll_sub.c", |
| 11 "evbuffer.c", | 10 "evbuffer.c", |
| 12 "evdns.c", | 11 "evdns.c", |
| 13 "event.c", | 12 "event.c", |
| 14 "event_tagging.c", | 13 "event_tagging.c", |
| 15 "evrpc.c", | 14 "evrpc.c", |
| 16 "evutil.c", | 15 "evutil.c", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 if (is_mac) { | 33 if (is_mac) { |
| 35 include_dirs = [ "mac" ] | 34 include_dirs = [ "mac" ] |
| 36 } else if (is_linux) { | 35 } else if (is_linux) { |
| 37 include_dirs = [ "linux" ] | 36 include_dirs = [ "linux" ] |
| 38 sources -= [ "kqueue.c" ] | 37 sources -= [ "kqueue.c" ] |
| 39 } | 38 } |
| 40 | 39 |
| 41 configs -= [ "//build/config/compiler:chromium_code" ] | 40 configs -= [ "//build/config/compiler:chromium_code" ] |
| 42 configs += [ "//build/config/compiler:no_chromium_code" ] | 41 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 43 } | 42 } |
| OLD | NEW |