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

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

Issue 227673008: Checkpoint work to get GN builds working on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge forward to 263376 Created 6 years, 8 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
« no previous file with comments | « tools/gn/secondary/testing/gtest/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 sources = [ 6 sources = [
7 "buffer.c", 7 "buffer.c",
8 "epoll.c", 8 "epoll.c",
9 "epoll_sub.c", 9 "epoll_sub.c",
10 "evbuffer.c", 10 "evbuffer.c",
(...skipping 17 matching lines...) Expand all
28 libs = [ "rt" ] 28 libs = [ "rt" ]
29 } else { 29 } else {
30 sources -= [ "epoll.c", "epoll_sub.c" ] 30 sources -= [ "epoll.c", "epoll_sub.c" ]
31 } 31 }
32 32
33 if (is_mac) { 33 if (is_mac) {
34 include_dirs = [ "mac" ] 34 include_dirs = [ "mac" ]
35 } else if (is_linux) { 35 } else if (is_linux) {
36 include_dirs = [ "linux" ] 36 include_dirs = [ "linux" ]
37 sources -= [ "kqueue.c" ] 37 sources -= [ "kqueue.c" ]
38 } else if (is_android) {
39 include_dirs = [ "android" ]
40 sources -= [ "kqueue.c" ]
38 } 41 }
39 42
40 configs -= [ "//build/config/compiler:chromium_code" ] 43 configs -= [ "//build/config/compiler:chromium_code" ]
41 configs += [ "//build/config/compiler:no_chromium_code" ] 44 configs += [ "//build/config/compiler:no_chromium_code" ]
42 } 45 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/testing/gtest/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698