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

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

Issue 2533123002: Fix GN missing headers in //base (Closed)
Patch Set: remove dependency on check_gn_headers Created 3 years, 11 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
« no previous file with comments | « base/debug/stack_trace_posix.cc ('k') | chrome/browser/apps/app_url_redirector_browsertest.cc » ('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 import("//build/config/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 6
7 static_library("libevent") { 7 static_library("libevent") {
8 sources = [ 8 sources = [
9 "buffer.c", 9 "buffer.c",
10 "evbuffer.c", 10 "evbuffer.c",
11 "evdns.c", 11 "evdns.c",
12 "evdns.h",
13 "event-config.h",
14 "event-internal.h",
12 "event.c", 15 "event.c",
16 "event.h",
13 "event_tagging.c", 17 "event_tagging.c",
18 "evhttp.h",
19 "evrpc-internal.h",
14 "evrpc.c", 20 "evrpc.c",
21 "evrpc.h",
22 "evsignal.h",
15 "evutil.c", 23 "evutil.c",
24 "evutil.h",
25 "http-internal.h",
16 "http.c", 26 "http.c",
17 "log.c", 27 "log.c",
28 "log.h",
29 "min_heap.h",
18 "poll.c", 30 "poll.c",
19 "select.c", 31 "select.c",
20 "signal.c", 32 "signal.c",
33 "strlcpy-internal.h",
21 "strlcpy.c", 34 "strlcpy.c",
22 ] 35 ]
23 36
24 defines = [ "HAVE_CONFIG_H" ] 37 defines = [ "HAVE_CONFIG_H" ]
25 38
26 if (is_mac || is_ios) { 39 if (is_mac || is_ios) {
27 sources += [ "kqueue.c" ] 40 sources += [
41 "kqueue.c",
42 "mac/config.h",
43 "mac/event-config.h",
44 ]
28 include_dirs = [ "mac" ] 45 include_dirs = [ "mac" ]
29 } else if (is_linux) { 46 } else if (is_linux) {
30 sources += [ "epoll.c" ] 47 sources += [
48 "epoll.c",
49 "linux/config.h",
50 "linux/event-config.h",
51 ]
31 include_dirs = [ "linux" ] 52 include_dirs = [ "linux" ]
32 } else if (is_android) { 53 } else if (is_android) {
33 sources += [ "epoll.c" ] 54 sources += [
55 "android/config.h",
56 "android/event-config.h",
57 "epoll.c",
58 ]
34 include_dirs = [ "android" ] 59 include_dirs = [ "android" ]
35 } else if (is_nacl_nonsfi) { 60 } else if (is_nacl_nonsfi) {
36 sources -= [ 61 sources -= [
37 "evdns.c", 62 "evdns.c",
38 "event_tagging.c", 63 "event_tagging.c",
39 "evrpc.c", 64 "evrpc.c",
40 "http.c", 65 "http.c",
41 "select.c", 66 "select.c",
42 "signal.c", 67 "signal.c",
43 ] 68 ]
44 sources += [ 69 sources += [
45 "nacl_nonsfi/config.h", 70 "nacl_nonsfi/config.h",
46 "nacl_nonsfi/event-config.h", 71 "nacl_nonsfi/event-config.h",
47 "nacl_nonsfi/random.c", 72 "nacl_nonsfi/random.c",
48 "nacl_nonsfi/signal_stub.c", 73 "nacl_nonsfi/signal_stub.c",
49 ] 74 ]
50 include_dirs = [ "nacl_nonsfi" ] 75 include_dirs = [ "nacl_nonsfi" ]
51 } 76 }
52 77
53 configs -= [ "//build/config/compiler:chromium_code" ] 78 configs -= [ "//build/config/compiler:chromium_code" ]
54 configs += [ "//build/config/compiler:no_chromium_code" ] 79 configs += [ "//build/config/compiler:no_chromium_code" ]
55 } 80 }
OLDNEW
« no previous file with comments | « base/debug/stack_trace_posix.cc ('k') | chrome/browser/apps/app_url_redirector_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698