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 | 6 external = true |
7 sources = [ | 7 sources = [ |
8 "buffer.c", | 8 "buffer.c", |
9 "epoll.c", | 9 "epoll.c", |
10 "epoll_sub.c", | 10 "epoll_sub.c", |
(...skipping 20 matching lines...) Expand all Loading... |
31 sources -= [ "epoll.c", "epoll_sub.c" ] | 31 sources -= [ "epoll.c", "epoll_sub.c" ] |
32 } | 32 } |
33 | 33 |
34 if (is_mac) { | 34 if (is_mac) { |
35 include_dirs = [ "mac" ] | 35 include_dirs = [ "mac" ] |
36 } else if (is_linux) { | 36 } else if (is_linux) { |
37 include_dirs = [ "linux" ] | 37 include_dirs = [ "linux" ] |
38 sources -= [ "kqueue.c" ] | 38 sources -= [ "kqueue.c" ] |
39 } | 39 } |
40 | 40 |
41 configs -= "//build/config/compiler:chromium_code" | 41 configs -= [ "//build/config/compiler:chromium_code" ] |
42 configs += "//build/config/compiler:no_chromium_code" | 42 configs += [ "//build/config/compiler:no_chromium_code" ] |
43 } | 43 } |
OLD | NEW |