OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 | 6 |
7 config("usrsctp_config") { | 7 config("usrsctp_config") { |
8 include_dirs = [ | 8 include_dirs = [ |
9 "usrsctplib", | 9 "usrsctplib", |
10 "usrsctplib/netinet", | 10 "usrsctplib/netinet", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 "usrsctplib/user_inpcb.h", | 63 "usrsctplib/user_inpcb.h", |
64 "usrsctplib/user_ip6_var.h", | 64 "usrsctplib/user_ip6_var.h", |
65 "usrsctplib/user_ip_icmp.h", | 65 "usrsctplib/user_ip_icmp.h", |
66 "usrsctplib/user_malloc.h", | 66 "usrsctplib/user_malloc.h", |
67 "usrsctplib/user_mbuf.c", | 67 "usrsctplib/user_mbuf.c", |
68 "usrsctplib/user_mbuf.h", | 68 "usrsctplib/user_mbuf.h", |
69 "usrsctplib/user_queue.h", | 69 "usrsctplib/user_queue.h", |
70 "usrsctplib/user_recv_thread.c", | 70 "usrsctplib/user_recv_thread.c", |
71 "usrsctplib/user_recv_thread.h", | 71 "usrsctplib/user_recv_thread.h", |
72 "usrsctplib/user_route.h", | 72 "usrsctplib/user_route.h", |
73 "usrsctplib/user_sctp_timer_iterate.c", | |
74 "usrsctplib/user_socket.c", | 73 "usrsctplib/user_socket.c", |
75 "usrsctplib/user_socketvar.h", | 74 "usrsctplib/user_socketvar.h", |
76 "usrsctplib/user_uma.h", | 75 "usrsctplib/user_uma.h", |
77 "usrsctplib/usrsctp.h" | 76 "usrsctplib/usrsctp.h" |
78 ] | 77 ] |
79 | 78 |
80 defines = [ | 79 defines = [ |
81 "SCTP_PROCESS_LEVEL_LOCKS", | 80 "SCTP_PROCESS_LEVEL_LOCKS", |
82 "SCTP_SIMPLE_ALLOCATOR", | 81 "SCTP_SIMPLE_ALLOCATOR", |
83 "__Userspace__", | 82 "__Userspace__", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 119 } |
121 | 120 |
122 if (is_clang) { | 121 if (is_clang) { |
123 cflags = [ "-Wno-incompatible-pointer-types" ] | 122 cflags = [ "-Wno-incompatible-pointer-types" ] |
124 } | 123 } |
125 | 124 |
126 deps = [ | 125 deps = [ |
127 "//crypto:platform", | 126 "//crypto:platform", |
128 ] | 127 ] |
129 } | 128 } |
OLD | NEW |