OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
6 'libsctp_target_type%': 'static_library', | 6 'libsctp_target_type%': 'static_library', |
7 }, | 7 }, |
8 'target_defaults': { | 8 'target_defaults': { |
9 'defines': [ | 9 'defines': [ |
10 'SCTP_PROCESS_LEVEL_LOCKS', | 10 'SCTP_PROCESS_LEVEL_LOCKS', |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 'usrsctplib/user_mbuf.h', | 113 'usrsctplib/user_mbuf.h', |
114 'usrsctplib/user_queue.h', | 114 'usrsctplib/user_queue.h', |
115 'usrsctplib/user_recv_thread.c', | 115 'usrsctplib/user_recv_thread.c', |
116 'usrsctplib/user_recv_thread.h', | 116 'usrsctplib/user_recv_thread.h', |
117 'usrsctplib/user_route.h', | 117 'usrsctplib/user_route.h', |
118 'usrsctplib/user_socket.c', | 118 'usrsctplib/user_socket.c', |
119 'usrsctplib/user_socketvar.h', | 119 'usrsctplib/user_socketvar.h', |
120 'usrsctplib/user_uma.h', | 120 'usrsctplib/user_uma.h', |
121 'usrsctplib/usrsctp.h' | 121 'usrsctplib/usrsctp.h' |
122 ], # sources | 122 ], # sources |
| 123 'variables': { |
| 124 'clang_warning_flags': [ |
| 125 # atomic_init in user_atomic.h is a static function in a header. |
| 126 '-Wno-unused-function', |
| 127 ], |
| 128 }, |
123 'conditions': [ | 129 'conditions': [ |
124 ['OS=="linux" or OS=="android"', { | 130 ['OS=="linux" or OS=="android"', { |
125 'defines': [ | 131 'defines': [ |
126 '__Userspace_os_Linux', | 132 '__Userspace_os_Linux', |
127 ], | 133 ], |
128 'cflags!': [ '-Werror', '-Wall' ], | 134 'cflags!': [ '-Werror', '-Wall' ], |
129 'cflags': [ '-w' ], | 135 'cflags': [ '-w' ], |
130 }], | 136 }], |
131 ['OS=="mac" or OS=="ios"', { | 137 ['OS=="mac" or OS=="ios"', { |
132 'defines': [ | 138 'defines': [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 'msvs_disabled_warnings': [ 4002, 4013, 4133, 4267, 4313, 4700 ], | 171 'msvs_disabled_warnings': [ 4002, 4013, 4133, 4267, 4313, 4700 ], |
166 }, { # OS != "win", | 172 }, { # OS != "win", |
167 'defines': [ | 173 'defines': [ |
168 'NON_WINDOWS_DEFINE', | 174 'NON_WINDOWS_DEFINE', |
169 ], | 175 ], |
170 }], | 176 }], |
171 ], # conditions | 177 ], # conditions |
172 }, # target usrsctp | 178 }, # target usrsctp |
173 ], # targets | 179 ], # targets |
174 } | 180 } |
OLD | NEW |