| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'use_system_libsrtp%': 0, | 7 'use_system_libsrtp%': 0, |
| 8 'use_openssl': 1, | 8 'use_openssl': 1, |
| 9 }, | 9 }, |
| 10 'target_defaults': { | 10 'target_defaults': { |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 'dependencies': [ | 193 'dependencies': [ |
| 194 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 194 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 195 ], | 195 ], |
| 196 'sources!': [ | 196 'sources!': [ |
| 197 'srtp/crypto/cipher/aes_cbc.c', | 197 'srtp/crypto/cipher/aes_cbc.c', |
| 198 'srtp/crypto/cipher/aes_icm.c', | 198 'srtp/crypto/cipher/aes_icm.c', |
| 199 'srtp/crypto/hash/hmac.c', | 199 'srtp/crypto/hash/hmac.c', |
| 200 'srtp/crypto/hash/sha1.c', | 200 'srtp/crypto/hash/sha1.c', |
| 201 'srtp/crypto/rng/ctr_prng.c', | 201 'srtp/crypto/rng/ctr_prng.c', |
| 202 'srtp/crypto/rng/prng.c', | 202 'srtp/crypto/rng/prng.c', |
| 203 'srtp/crypto/rng/rand_source.c', | |
| 204 ], | 203 ], |
| 205 'sources': [ | 204 'sources': [ |
| 206 'srtp/crypto/cipher/aes_gcm_ossl.c', | 205 'srtp/crypto/cipher/aes_gcm_ossl.c', |
| 207 'srtp/crypto/cipher/aes_icm_ossl.c', | 206 'srtp/crypto/cipher/aes_icm_ossl.c', |
| 208 'srtp/crypto/hash/hmac_ossl.c', | 207 'srtp/crypto/hash/hmac_ossl.c', |
| 209 'srtp/crypto/include/aes_gcm_ossl.h', | 208 'srtp/crypto/include/aes_gcm_ossl.h', |
| 210 'srtp/crypto/include/aes_icm_ossl.h', | 209 'srtp/crypto/include/aes_icm_ossl.h', |
| 211 'srtp/crypto/rng/rand_source_ossl.c', | |
| 212 ], | 210 ], |
| 213 }], | 211 }], |
| 214 ], | 212 ], |
| 215 }, # target libsrtp | 213 }, # target libsrtp |
| 216 { | 214 { |
| 217 'target_name': 'rdbx_driver', | 215 'target_name': 'rdbx_driver', |
| 218 'type': 'executable', | 216 'type': 'executable', |
| 219 'dependencies': [ | 217 'dependencies': [ |
| 220 'libsrtp', | 218 'libsrtp', |
| 221 ], | 219 ], |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 ], | 284 ], |
| 287 }, | 285 }, |
| 288 { | 286 { |
| 289 'target_name': 'srtp_test_cipher_driver', | 287 'target_name': 'srtp_test_cipher_driver', |
| 290 'type': 'executable', | 288 'type': 'executable', |
| 291 'dependencies': [ | 289 'dependencies': [ |
| 292 'libsrtp', | 290 'libsrtp', |
| 293 ], | 291 ], |
| 294 'sources': [ | 292 'sources': [ |
| 295 'srtp/crypto/test/cipher_driver.c', | 293 'srtp/crypto/test/cipher_driver.c', |
| 294 'srtp/include/getopt_s.h', |
| 295 'srtp/test/getopt_s.c', |
| 296 ], | 296 ], |
| 297 'conditions': [ | 297 'conditions': [ |
| 298 ['use_openssl==1', { | 298 ['use_openssl==1', { |
| 299 'dependencies': [ | 299 'dependencies': [ |
| 300 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 300 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 301 ], | 301 ], |
| 302 }], | 302 }], |
| 303 ], | 303 ], |
| 304 }, | 304 }, |
| 305 { | 305 { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 333 ], | 333 ], |
| 334 }, | 334 }, |
| 335 { | 335 { |
| 336 'target_name': 'srtp_test_kernel_driver', | 336 'target_name': 'srtp_test_kernel_driver', |
| 337 'type': 'executable', | 337 'type': 'executable', |
| 338 'dependencies': [ | 338 'dependencies': [ |
| 339 'libsrtp', | 339 'libsrtp', |
| 340 ], | 340 ], |
| 341 'sources': [ | 341 'sources': [ |
| 342 'srtp/crypto/test/kernel_driver.c', | 342 'srtp/crypto/test/kernel_driver.c', |
| 343 'srtp/include/getopt_s.h', |
| 344 'srtp/test/getopt_s.c', |
| 343 ], | 345 ], |
| 344 }, | 346 }, |
| 345 { | 347 { |
| 346 'target_name': 'srtp_test_aes_calc', | 348 'target_name': 'srtp_test_aes_calc', |
| 347 'type': 'executable', | 349 'type': 'executable', |
| 348 'dependencies': [ | 350 'dependencies': [ |
| 349 'libsrtp', | 351 'libsrtp', |
| 350 ], | 352 ], |
| 351 'sources': [ | 353 'sources': [ |
| 352 'srtp/crypto/test/aes_calc.c', | 354 'srtp/crypto/test/aes_calc.c', |
| 353 ], | 355 ], |
| 354 }, | 356 }, |
| 355 { | 357 { |
| 356 'target_name': 'srtp_test_rand_gen', | 358 'target_name': 'srtp_test_rand_gen', |
| 357 'type': 'executable', | 359 'type': 'executable', |
| 358 'dependencies': [ | 360 'dependencies': [ |
| 359 'libsrtp', | 361 'libsrtp', |
| 360 ], | 362 ], |
| 361 'sources': [ | 363 'sources': [ |
| 362 'srtp/crypto/test/rand_gen.c', | 364 'srtp/crypto/test/rand_gen.c', |
| 365 'srtp/include/getopt_s.h', |
| 366 'srtp/test/getopt_s.c', |
| 363 ], | 367 ], |
| 364 }, | 368 }, |
| 365 { | 369 { |
| 366 'target_name': 'srtp_test_rand_gen_soak', | 370 'target_name': 'srtp_test_rand_gen_soak', |
| 367 'type': 'executable', | 371 'type': 'executable', |
| 368 'dependencies': [ | 372 'dependencies': [ |
| 369 'libsrtp', | 373 'libsrtp', |
| 370 ], | 374 ], |
| 371 'sources': [ | 375 'sources': [ |
| 372 'srtp/crypto/test/rand_gen_soak.c', | 376 'srtp/crypto/test/rand_gen_soak.c', |
| 377 'srtp/include/getopt_s.h', |
| 378 'srtp/test/getopt_s.c', |
| 373 ], | 379 ], |
| 374 }, | 380 }, |
| 375 { | 381 { |
| 376 'target_name': 'srtp_test_env', | 382 'target_name': 'srtp_test_env', |
| 377 'type': 'executable', | 383 'type': 'executable', |
| 378 'dependencies': [ | 384 'dependencies': [ |
| 379 'libsrtp', | 385 'libsrtp', |
| 380 ], | 386 ], |
| 381 'sources': [ | 387 'sources': [ |
| 382 'srtp/crypto/test/env.c', | 388 'srtp/crypto/test/env.c', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 'link_settings': { | 425 'link_settings': { |
| 420 'libraries': [ | 426 'libraries': [ |
| 421 '-lsrtp', | 427 '-lsrtp', |
| 422 ], | 428 ], |
| 423 }, | 429 }, |
| 424 }, # target libsrtp | 430 }, # target libsrtp |
| 425 ], # targets | 431 ], # targets |
| 426 }], | 432 }], |
| 427 ], | 433 ], |
| 428 } | 434 } |
| OLD | NEW |