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

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

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« content/BUILD.gn ('K') | « sandbox/linux/BUILD.gn ('k') | no next file » | 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 source_set("libevent") { 5 source_set("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",
(...skipping 13 matching lines...) Expand all
24 if (is_mac || is_ios) { 24 if (is_mac || is_ios) {
25 sources += [ "kqueue.c" ] 25 sources += [ "kqueue.c" ]
26 include_dirs = [ "mac" ] 26 include_dirs = [ "mac" ]
27 } else if (is_linux) { 27 } else if (is_linux) {
28 sources += [ "epoll.c" ] 28 sources += [ "epoll.c" ]
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 } else if (is_nacl_nonsfi) {
Dirk Pranke 2015/10/21 20:03:52 you probably need to import //build/config/nacl/co
Petr Hosek 2015/10/22 18:32:13 Done.
35 sources -= [
36 "evdns.c",
37 "event_tagging.c",
38 "evrpc.c",
39 "http.c",
40 "select.c",
41 "signal.c",
42 ]
43 sources += [
44 "nacl_nonsfi/config.h",
45 "nacl_nonsfi/event-config.h",
46 "nacl_nonsfi/random.c",
47 "nacl_nonsfi/signal_stub.c",
48 ]
49 include_dirs = [ "nacl_nonsfi" ]
34 } 50 }
35 51
36 configs -= [ "//build/config/compiler:chromium_code" ] 52 configs -= [ "//build/config/compiler:chromium_code" ]
37 configs += [ "//build/config/compiler:no_chromium_code" ] 53 configs += [ "//build/config/compiler:no_chromium_code" ]
38 } 54 }
OLDNEW
« content/BUILD.gn ('K') | « sandbox/linux/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698