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 declare_args() { | 5 declare_args() { |
6 use_system_libsrtp = false | 6 use_system_libsrtp = false |
7 } | 7 } |
8 | 8 |
9 config("libsrtp_config") { | 9 config("libsrtp_config") { |
10 defines = [ | 10 defines = [ |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 "srtp/include/rtp.h", | 205 "srtp/include/rtp.h", |
206 "srtp/include/srtp.h", | 206 "srtp/include/srtp.h", |
207 "srtp/crypto/include/datatypes.h", | 207 "srtp/crypto/include/datatypes.h", |
208 "srtp/test/getopt_s.c", | 208 "srtp/test/getopt_s.c", |
209 "srtp/test/rtp.c", | 209 "srtp/test/rtp.c", |
210 "srtp/test/rtpw.c", | 210 "srtp/test/rtpw.c", |
211 ] | 211 ] |
212 if (is_android) { | 212 if (is_android) { |
213 defines = [ "HAVE_SYS_SOCKET_H" ] | 213 defines = [ "HAVE_SYS_SOCKET_H" ] |
214 } | 214 } |
| 215 if (is_clang) { |
| 216 cflags = [ "-Wno-implicit-function-declaration" ] |
| 217 } |
215 } | 218 } |
216 | 219 |
217 executable("srtp_test_cipher_driver") { | 220 executable("srtp_test_cipher_driver") { |
218 configs -= [ "//build/config/compiler:chromium_code" ] | 221 configs -= [ "//build/config/compiler:chromium_code" ] |
219 configs += [ "//build/config/compiler:no_chromium_code" ] | 222 configs += [ "//build/config/compiler:no_chromium_code" ] |
220 deps = [ ":libsrtp" ] | 223 deps = [ ":libsrtp" ] |
221 sources = [ | 224 sources = [ |
222 "srtp/crypto/test/cipher_driver.c", | 225 "srtp/crypto/test/cipher_driver.c", |
223 ] | 226 ] |
224 } | 227 } |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 ":srtp_test_stat_driver", | 301 ":srtp_test_stat_driver", |
299 ":srtp_test_sha1_driver", | 302 ":srtp_test_sha1_driver", |
300 ":srtp_test_kernel_driver", | 303 ":srtp_test_kernel_driver", |
301 ":srtp_test_aes_calc", | 304 ":srtp_test_aes_calc", |
302 ":srtp_test_rand_gen", | 305 ":srtp_test_rand_gen", |
303 ":srtp_test_env", | 306 ":srtp_test_env", |
304 ] | 307 ] |
305 } | 308 } |
306 } | 309 } |
307 } | 310 } |
OLD | NEW |