Chromium Code Reviews| 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, | |
| 8 'use_openssl%': 1, | 7 'use_openssl%': 1, |
| 9 }, | 8 }, |
| 10 'target_defaults': { | 9 'target_defaults': { |
| 11 'defines': [ | 10 'defines': [ |
| 12 'HAVE_CONFIG_H', | 11 'HAVE_CONFIG_H', |
| 13 'HAVE_STDLIB_H', | 12 'HAVE_STDLIB_H', |
| 14 'HAVE_STRING_H', | 13 'HAVE_STRING_H', |
| 15 'TESTAPP_SOURCE', | 14 'TESTAPP_SOURCE', |
| 16 ], | 15 ], |
| 17 'include_dirs': [ | 16 'include_dirs': [ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 ], | 108 ], |
| 110 }], | 109 }], |
| 111 ['target_arch=="x64" or target_arch=="ia32"', { | 110 ['target_arch=="x64" or target_arch=="ia32"', { |
| 112 'defines': [ | 111 'defines': [ |
| 113 'CPU_CISC', | 112 'CPU_CISC', |
| 114 ], | 113 ], |
| 115 }], | 114 }], |
| 116 ], | 115 ], |
| 117 }, | 116 }, |
| 118 }, | 117 }, |
| 119 'conditions': [ | 118 'targets': [ |
|
davidben
2016/02/04 19:37:11
Ditto about unindenting
| |
| 120 ['use_system_libsrtp==0', { | 119 { |
| 121 'targets': [ | 120 'target_name': 'libsrtp', |
| 122 { | 121 'type': 'static_library', |
| 123 'target_name': 'libsrtp', | 122 'sources': [ |
| 124 'type': 'static_library', | 123 # includes |
| 125 'sources': [ | 124 'srtp/include/ekt.h', |
| 126 # includes | 125 'srtp/include/getopt_s.h', |
| 127 'srtp/include/ekt.h', | 126 'srtp/include/rtp.h', |
| 128 'srtp/include/getopt_s.h', | 127 'srtp/include/rtp_priv.h', |
| 129 'srtp/include/rtp.h', | 128 'srtp/include/srtp.h', |
| 130 'srtp/include/rtp_priv.h', | 129 'srtp/include/srtp_priv.h', |
| 131 'srtp/include/srtp.h', | 130 'srtp/include/ut_sim.h', |
| 132 'srtp/include/srtp_priv.h', | |
| 133 'srtp/include/ut_sim.h', | |
| 134 | 131 |
| 135 # headers | 132 # headers |
| 136 'srtp/crypto/include/aes_cbc.h', | 133 'srtp/crypto/include/aes_cbc.h', |
| 137 'srtp/crypto/include/aes.h', | 134 'srtp/crypto/include/aes.h', |
| 138 'srtp/crypto/include/aes_icm.h', | 135 'srtp/crypto/include/aes_icm.h', |
| 139 'srtp/crypto/include/alloc.h', | 136 'srtp/crypto/include/alloc.h', |
| 140 'srtp/crypto/include/auth.h', | 137 'srtp/crypto/include/auth.h', |
| 141 'srtp/crypto/include/cipher.h', | 138 'srtp/crypto/include/cipher.h', |
| 142 'srtp/crypto/include/cryptoalg.h', | 139 'srtp/crypto/include/cryptoalg.h', |
| 143 'srtp/crypto/include/crypto.h', | 140 'srtp/crypto/include/crypto.h', |
| 144 'srtp/crypto/include/crypto_kernel.h', | 141 'srtp/crypto/include/crypto_kernel.h', |
| 145 'srtp/crypto/include/crypto_math.h', | 142 'srtp/crypto/include/crypto_math.h', |
| 146 'srtp/crypto/include/crypto_types.h', | 143 'srtp/crypto/include/crypto_types.h', |
| 147 'srtp/crypto/include/datatypes.h', | 144 'srtp/crypto/include/datatypes.h', |
| 148 'srtp/crypto/include/err.h', | 145 'srtp/crypto/include/err.h', |
| 149 'srtp/crypto/include/gf2_8.h', | 146 'srtp/crypto/include/gf2_8.h', |
| 150 'srtp/crypto/include/hmac.h', | 147 'srtp/crypto/include/hmac.h', |
| 151 'srtp/crypto/include/integers.h', | 148 'srtp/crypto/include/integers.h', |
| 152 'srtp/crypto/include/kernel_compat.h', | 149 'srtp/crypto/include/kernel_compat.h', |
| 153 'srtp/crypto/include/key.h', | 150 'srtp/crypto/include/key.h', |
| 154 'srtp/crypto/include/null_auth.h', | 151 'srtp/crypto/include/null_auth.h', |
| 155 'srtp/crypto/include/null_cipher.h', | 152 'srtp/crypto/include/null_cipher.h', |
| 156 'srtp/crypto/include/prng.h', | 153 'srtp/crypto/include/prng.h', |
| 157 'srtp/crypto/include/rand_source.h', | 154 'srtp/crypto/include/rand_source.h', |
| 158 'srtp/crypto/include/rdb.h', | 155 'srtp/crypto/include/rdb.h', |
| 159 'srtp/crypto/include/rdbx.h', | 156 'srtp/crypto/include/rdbx.h', |
| 160 'srtp/crypto/include/sha1.h', | 157 'srtp/crypto/include/sha1.h', |
| 161 'srtp/crypto/include/stat.h', | 158 'srtp/crypto/include/stat.h', |
| 162 'srtp/crypto/include/xfm.h', | 159 'srtp/crypto/include/xfm.h', |
| 163 | 160 |
| 164 # sources | 161 # sources |
| 165 'srtp/srtp/ekt.c', | 162 'srtp/srtp/ekt.c', |
| 166 'srtp/srtp/srtp.c', | 163 'srtp/srtp/srtp.c', |
| 167 | 164 |
| 168 'srtp/crypto/cipher/aes.c', | 165 'srtp/crypto/cipher/aes.c', |
| 166 'srtp/crypto/cipher/aes_cbc.c', | |
| 167 'srtp/crypto/cipher/aes_icm.c', | |
| 168 'srtp/crypto/cipher/cipher.c', | |
| 169 'srtp/crypto/cipher/null_cipher.c', | |
| 170 'srtp/crypto/hash/auth.c', | |
| 171 'srtp/crypto/hash/hmac.c', | |
| 172 'srtp/crypto/hash/null_auth.c', | |
| 173 'srtp/crypto/hash/sha1.c', | |
| 174 'srtp/crypto/kernel/alloc.c', | |
| 175 'srtp/crypto/kernel/crypto_kernel.c', | |
| 176 'srtp/crypto/kernel/err.c', | |
| 177 'srtp/crypto/kernel/key.c', | |
| 178 'srtp/crypto/math/datatypes.c', | |
| 179 'srtp/crypto/math/gf2_8.c', | |
| 180 'srtp/crypto/math/stat.c', | |
| 181 'srtp/crypto/replay/rdb.c', | |
| 182 'srtp/crypto/replay/rdbx.c', | |
| 183 'srtp/crypto/replay/ut_sim.c', | |
| 184 'srtp/crypto/rng/ctr_prng.c', | |
| 185 'srtp/crypto/rng/prng.c', | |
| 186 'srtp/crypto/rng/rand_source.c', | |
| 187 ], | |
| 188 'conditions': [ | |
| 189 ['use_openssl==1', { | |
| 190 'dependencies': [ | |
| 191 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | |
| 192 ], | |
| 193 'sources!': [ | |
| 169 'srtp/crypto/cipher/aes_cbc.c', | 194 'srtp/crypto/cipher/aes_cbc.c', |
| 170 'srtp/crypto/cipher/aes_icm.c', | 195 'srtp/crypto/cipher/aes_icm.c', |
| 171 'srtp/crypto/cipher/cipher.c', | |
| 172 'srtp/crypto/cipher/null_cipher.c', | |
| 173 'srtp/crypto/hash/auth.c', | |
| 174 'srtp/crypto/hash/hmac.c', | 196 'srtp/crypto/hash/hmac.c', |
| 175 'srtp/crypto/hash/null_auth.c', | |
| 176 'srtp/crypto/hash/sha1.c', | 197 'srtp/crypto/hash/sha1.c', |
| 177 'srtp/crypto/kernel/alloc.c', | |
| 178 'srtp/crypto/kernel/crypto_kernel.c', | |
| 179 'srtp/crypto/kernel/err.c', | |
| 180 'srtp/crypto/kernel/key.c', | |
| 181 'srtp/crypto/math/datatypes.c', | |
| 182 'srtp/crypto/math/gf2_8.c', | |
| 183 'srtp/crypto/math/stat.c', | |
| 184 'srtp/crypto/replay/rdb.c', | |
| 185 'srtp/crypto/replay/rdbx.c', | |
| 186 'srtp/crypto/replay/ut_sim.c', | |
| 187 'srtp/crypto/rng/ctr_prng.c', | 198 'srtp/crypto/rng/ctr_prng.c', |
| 188 'srtp/crypto/rng/prng.c', | 199 'srtp/crypto/rng/prng.c', |
| 189 'srtp/crypto/rng/rand_source.c', | 200 'srtp/crypto/rng/rand_source.c', |
| 190 ], | 201 ], |
| 191 'conditions': [ | 202 'sources': [ |
| 192 ['use_openssl==1', { | 203 'srtp/crypto/cipher/aes_gcm_ossl.c', |
| 193 'dependencies': [ | 204 'srtp/crypto/cipher/aes_icm_ossl.c', |
| 194 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 205 'srtp/crypto/hash/hmac_ossl.c', |
| 195 ], | 206 'srtp/crypto/include/aes_gcm_ossl.h', |
| 196 'sources!': [ | 207 'srtp/crypto/include/aes_icm_ossl.h', |
| 197 'srtp/crypto/cipher/aes_cbc.c', | 208 'srtp/crypto/rng/rand_source_ossl.c', |
| 198 'srtp/crypto/cipher/aes_icm.c', | 209 ], |
| 199 'srtp/crypto/hash/hmac.c', | 210 }], |
| 200 'srtp/crypto/hash/sha1.c', | 211 ], |
| 201 'srtp/crypto/rng/ctr_prng.c', | 212 }, # target libsrtp |
| 202 'srtp/crypto/rng/prng.c', | 213 { |
| 203 'srtp/crypto/rng/rand_source.c', | 214 'target_name': 'rdbx_driver', |
| 204 ], | 215 'type': 'executable', |
| 205 'sources': [ | 216 'dependencies': [ |
| 206 'srtp/crypto/cipher/aes_gcm_ossl.c', | 217 'libsrtp', |
| 207 'srtp/crypto/cipher/aes_icm_ossl.c', | 218 ], |
| 208 'srtp/crypto/hash/hmac_ossl.c', | 219 'sources': [ |
| 209 'srtp/crypto/include/aes_gcm_ossl.h', | 220 'srtp/include/getopt_s.h', |
| 210 'srtp/crypto/include/aes_icm_ossl.h', | 221 'srtp/test/getopt_s.c', |
| 211 'srtp/crypto/rng/rand_source_ossl.c', | 222 'srtp/test/rdbx_driver.c', |
| 212 ], | 223 ], |
| 213 }], | 224 }, |
| 214 ], | 225 { |
| 215 }, # target libsrtp | 226 'target_name': 'srtp_driver', |
| 216 { | 227 'type': 'executable', |
| 217 'target_name': 'rdbx_driver', | 228 'dependencies': [ |
| 218 'type': 'executable', | 229 'libsrtp', |
| 230 ], | |
| 231 'sources': [ | |
| 232 'srtp/include/getopt_s.h', | |
| 233 'srtp/include/srtp_priv.h', | |
| 234 'srtp/test/getopt_s.c', | |
| 235 'srtp/test/srtp_driver.c', | |
| 236 ], | |
| 237 }, | |
| 238 { | |
| 239 'target_name': 'roc_driver', | |
| 240 'type': 'executable', | |
| 241 'dependencies': [ | |
| 242 'libsrtp', | |
| 243 ], | |
| 244 'sources': [ | |
| 245 'srtp/crypto/include/rdbx.h', | |
| 246 'srtp/include/ut_sim.h', | |
| 247 'srtp/test/roc_driver.c', | |
| 248 ], | |
| 249 }, | |
| 250 { | |
| 251 'target_name': 'replay_driver', | |
| 252 'type': 'executable', | |
| 253 'dependencies': [ | |
| 254 'libsrtp', | |
| 255 ], | |
| 256 'sources': [ | |
| 257 'srtp/crypto/include/rdbx.h', | |
| 258 'srtp/include/ut_sim.h', | |
| 259 'srtp/test/replay_driver.c', | |
| 260 ], | |
| 261 }, | |
| 262 { | |
| 263 'target_name': 'rtpw', | |
| 264 'type': 'executable', | |
| 265 'dependencies': [ | |
| 266 'libsrtp', | |
| 267 ], | |
| 268 'sources': [ | |
| 269 'srtp/include/getopt_s.h', | |
| 270 'srtp/include/rtp.h', | |
| 271 'srtp/include/srtp.h', | |
| 272 'srtp/crypto/include/datatypes.h', | |
| 273 'srtp/test/getopt_s.c', | |
| 274 'srtp/test/rtp.c', | |
| 275 'srtp/test/rtpw.c', | |
| 276 ], | |
| 277 'conditions': [ | |
| 278 ['OS=="android"', { | |
| 279 'defines': [ | |
| 280 'HAVE_SYS_SOCKET_H', | |
| 281 ], | |
| 282 }], | |
| 283 ], | |
| 284 }, | |
| 285 { | |
| 286 'target_name': 'srtp_test_cipher_driver', | |
| 287 'type': 'executable', | |
| 288 'dependencies': [ | |
| 289 'libsrtp', | |
| 290 ], | |
| 291 'sources': [ | |
| 292 'srtp/crypto/test/cipher_driver.c', | |
| 293 'srtp/include/getopt_s.h', | |
| 294 'srtp/test/getopt_s.c', | |
| 295 ], | |
| 296 'conditions': [ | |
| 297 ['use_openssl==1', { | |
| 219 'dependencies': [ | 298 'dependencies': [ |
| 220 'libsrtp', | 299 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 221 ], | 300 ], |
| 222 'sources': [ | 301 }], |
| 223 'srtp/include/getopt_s.h', | 302 ], |
| 224 'srtp/test/getopt_s.c', | 303 }, |
| 225 'srtp/test/rdbx_driver.c', | 304 { |
| 226 ], | 305 'target_name': 'srtp_test_datatypes_driver', |
| 227 }, | 306 'type': 'executable', |
| 228 { | 307 'dependencies': [ |
| 229 'target_name': 'srtp_driver', | 308 'libsrtp', |
| 230 'type': 'executable', | 309 ], |
| 231 'dependencies': [ | 310 'sources': [ |
| 232 'libsrtp', | 311 'srtp/crypto/test/datatypes_driver.c', |
| 233 ], | 312 ], |
| 234 'sources': [ | 313 }, |
| 235 'srtp/include/getopt_s.h', | 314 { |
| 236 'srtp/include/srtp_priv.h', | 315 'target_name': 'srtp_test_stat_driver', |
| 237 'srtp/test/getopt_s.c', | 316 'type': 'executable', |
| 238 'srtp/test/srtp_driver.c', | 317 'dependencies': [ |
| 239 ], | 318 'libsrtp', |
| 240 }, | 319 ], |
| 241 { | 320 'sources': [ |
| 242 'target_name': 'roc_driver', | 321 'srtp/crypto/test/stat_driver.c', |
| 243 'type': 'executable', | 322 ], |
| 244 'dependencies': [ | 323 }, |
| 245 'libsrtp', | 324 { |
| 246 ], | 325 'target_name': 'srtp_test_sha1_driver', |
| 247 'sources': [ | 326 'type': 'executable', |
| 248 'srtp/crypto/include/rdbx.h', | 327 'dependencies': [ |
| 249 'srtp/include/ut_sim.h', | 328 'libsrtp', |
| 250 'srtp/test/roc_driver.c', | 329 ], |
| 251 ], | 330 'sources': [ |
| 252 }, | 331 'srtp/crypto/test/sha1_driver.c', |
| 253 { | 332 ], |
| 254 'target_name': 'replay_driver', | 333 }, |
| 255 'type': 'executable', | 334 { |
| 256 'dependencies': [ | 335 'target_name': 'srtp_test_kernel_driver', |
| 257 'libsrtp', | 336 'type': 'executable', |
| 258 ], | 337 'dependencies': [ |
| 259 'sources': [ | 338 'libsrtp', |
| 260 'srtp/crypto/include/rdbx.h', | 339 ], |
| 261 'srtp/include/ut_sim.h', | 340 'sources': [ |
| 262 'srtp/test/replay_driver.c', | 341 'srtp/crypto/test/kernel_driver.c', |
| 263 ], | 342 'srtp/include/getopt_s.h', |
| 264 }, | 343 'srtp/test/getopt_s.c', |
| 265 { | 344 ], |
| 266 'target_name': 'rtpw', | 345 }, |
| 267 'type': 'executable', | 346 { |
| 268 'dependencies': [ | 347 'target_name': 'srtp_test_aes_calc', |
| 269 'libsrtp', | 348 'type': 'executable', |
| 270 ], | 349 'dependencies': [ |
| 271 'sources': [ | 350 'libsrtp', |
| 272 'srtp/include/getopt_s.h', | 351 ], |
| 273 'srtp/include/rtp.h', | 352 'sources': [ |
| 274 'srtp/include/srtp.h', | 353 'srtp/crypto/test/aes_calc.c', |
| 275 'srtp/crypto/include/datatypes.h', | 354 ], |
| 276 'srtp/test/getopt_s.c', | 355 }, |
| 277 'srtp/test/rtp.c', | 356 { |
| 278 'srtp/test/rtpw.c', | 357 'target_name': 'srtp_test_rand_gen', |
| 279 ], | 358 'type': 'executable', |
| 280 'conditions': [ | 359 'dependencies': [ |
| 281 ['OS=="android"', { | 360 'libsrtp', |
| 282 'defines': [ | 361 ], |
| 283 'HAVE_SYS_SOCKET_H', | 362 'sources': [ |
| 284 ], | 363 'srtp/crypto/test/rand_gen.c', |
| 285 }], | 364 'srtp/include/getopt_s.h', |
| 286 ], | 365 'srtp/test/getopt_s.c', |
| 287 }, | 366 ], |
| 288 { | 367 }, |
| 289 'target_name': 'srtp_test_cipher_driver', | 368 { |
| 290 'type': 'executable', | 369 'target_name': 'srtp_test_rand_gen_soak', |
| 291 'dependencies': [ | 370 'type': 'executable', |
| 292 'libsrtp', | 371 'dependencies': [ |
| 293 ], | 372 'libsrtp', |
| 294 'sources': [ | 373 ], |
| 295 'srtp/crypto/test/cipher_driver.c', | 374 'sources': [ |
| 296 'srtp/include/getopt_s.h', | 375 'srtp/crypto/test/rand_gen_soak.c', |
| 297 'srtp/test/getopt_s.c', | 376 'srtp/include/getopt_s.h', |
| 298 ], | 377 'srtp/test/getopt_s.c', |
| 299 'conditions': [ | 378 ], |
| 300 ['use_openssl==1', { | 379 }, |
| 301 'dependencies': [ | 380 { |
| 302 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 381 'target_name': 'srtp_test_env', |
| 303 ], | 382 'type': 'executable', |
| 304 }], | 383 'dependencies': [ |
| 305 ], | 384 'libsrtp', |
| 306 }, | 385 ], |
| 307 { | 386 'sources': [ |
| 308 'target_name': 'srtp_test_datatypes_driver', | 387 'srtp/crypto/test/env.c', |
| 309 'type': 'executable', | 388 ], |
| 310 'dependencies': [ | 389 }, |
| 311 'libsrtp', | 390 { |
| 312 ], | 391 'target_name': 'srtp_runtest', |
| 313 'sources': [ | 392 'type': 'none', |
| 314 'srtp/crypto/test/datatypes_driver.c', | 393 'dependencies': [ |
| 315 ], | 394 'rdbx_driver', |
| 316 }, | 395 'srtp_driver', |
| 317 { | 396 'roc_driver', |
| 318 'target_name': 'srtp_test_stat_driver', | 397 'replay_driver', |
| 319 'type': 'executable', | 398 'rtpw', |
| 320 'dependencies': [ | 399 'srtp_test_cipher_driver', |
| 321 'libsrtp', | 400 'srtp_test_datatypes_driver', |
| 322 ], | 401 'srtp_test_stat_driver', |
| 323 'sources': [ | 402 'srtp_test_sha1_driver', |
| 324 'srtp/crypto/test/stat_driver.c', | 403 'srtp_test_kernel_driver', |
| 325 ], | 404 'srtp_test_aes_calc', |
| 326 }, | 405 'srtp_test_rand_gen', |
| 327 { | 406 'srtp_test_rand_gen_soak', |
| 328 'target_name': 'srtp_test_sha1_driver', | 407 'srtp_test_env', |
| 329 'type': 'executable', | 408 ], |
| 330 'dependencies': [ | 409 }, |
| 331 'libsrtp', | 410 ], # targets |
| 332 ], | |
| 333 'sources': [ | |
| 334 'srtp/crypto/test/sha1_driver.c', | |
| 335 ], | |
| 336 }, | |
| 337 { | |
| 338 'target_name': 'srtp_test_kernel_driver', | |
| 339 'type': 'executable', | |
| 340 'dependencies': [ | |
| 341 'libsrtp', | |
| 342 ], | |
| 343 'sources': [ | |
| 344 'srtp/crypto/test/kernel_driver.c', | |
| 345 'srtp/include/getopt_s.h', | |
| 346 'srtp/test/getopt_s.c', | |
| 347 ], | |
| 348 }, | |
| 349 { | |
| 350 'target_name': 'srtp_test_aes_calc', | |
| 351 'type': 'executable', | |
| 352 'dependencies': [ | |
| 353 'libsrtp', | |
| 354 ], | |
| 355 'sources': [ | |
| 356 'srtp/crypto/test/aes_calc.c', | |
| 357 ], | |
| 358 }, | |
| 359 { | |
| 360 'target_name': 'srtp_test_rand_gen', | |
| 361 'type': 'executable', | |
| 362 'dependencies': [ | |
| 363 'libsrtp', | |
| 364 ], | |
| 365 'sources': [ | |
| 366 'srtp/crypto/test/rand_gen.c', | |
| 367 'srtp/include/getopt_s.h', | |
| 368 'srtp/test/getopt_s.c', | |
| 369 ], | |
| 370 }, | |
| 371 { | |
| 372 'target_name': 'srtp_test_rand_gen_soak', | |
| 373 'type': 'executable', | |
| 374 'dependencies': [ | |
| 375 'libsrtp', | |
| 376 ], | |
| 377 'sources': [ | |
| 378 'srtp/crypto/test/rand_gen_soak.c', | |
| 379 'srtp/include/getopt_s.h', | |
| 380 'srtp/test/getopt_s.c', | |
| 381 ], | |
| 382 }, | |
| 383 { | |
| 384 'target_name': 'srtp_test_env', | |
| 385 'type': 'executable', | |
| 386 'dependencies': [ | |
| 387 'libsrtp', | |
| 388 ], | |
| 389 'sources': [ | |
| 390 'srtp/crypto/test/env.c', | |
| 391 ], | |
| 392 }, | |
| 393 { | |
| 394 'target_name': 'srtp_runtest', | |
| 395 'type': 'none', | |
| 396 'dependencies': [ | |
| 397 'rdbx_driver', | |
| 398 'srtp_driver', | |
| 399 'roc_driver', | |
| 400 'replay_driver', | |
| 401 'rtpw', | |
| 402 'srtp_test_cipher_driver', | |
| 403 'srtp_test_datatypes_driver', | |
| 404 'srtp_test_stat_driver', | |
| 405 'srtp_test_sha1_driver', | |
| 406 'srtp_test_kernel_driver', | |
| 407 'srtp_test_aes_calc', | |
| 408 'srtp_test_rand_gen', | |
| 409 'srtp_test_rand_gen_soak', | |
| 410 'srtp_test_env', | |
| 411 ], | |
| 412 }, | |
| 413 ], # targets | |
| 414 }, { # use_system_libsrtp==1 | |
| 415 'targets': [ | |
| 416 { | |
| 417 'target_name': 'libsrtp', | |
| 418 'type': 'none', | |
| 419 'direct_dependent_settings': { | |
| 420 'defines': [ | |
| 421 'USE_SYSTEM_LIBSRTP', | |
| 422 ], | |
| 423 'include_dirs': [ | |
| 424 '/usr/include/srtp', | |
| 425 ], | |
| 426 }, | |
| 427 'link_settings': { | |
| 428 'libraries': [ | |
| 429 '-lsrtp', | |
| 430 ], | |
| 431 }, | |
| 432 }, # target libsrtp | |
| 433 ], # targets | |
| 434 }], | |
| 435 ], | |
| 436 } | 411 } |
| OLD | NEW |