OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # This file is created by generate_build_files.py. Do not edit manually. |
| 6 |
| 7 _test_support_sources = [ |
| 8 "src/crypto/test/file_test.cc", |
| 9 "src/crypto/test/file_test.h", |
| 10 "src/crypto/test/malloc.cc", |
| 11 "src/crypto/test/scoped_types.h", |
| 12 "src/crypto/test/test_util.cc", |
| 13 "src/crypto/test/test_util.h", |
| 14 "src/ssl/test/async_bio.h", |
| 15 "src/ssl/test/packeted_bio.h", |
| 16 "src/ssl/test/scoped_types.h", |
| 17 "src/ssl/test/test_config.h", |
| 18 ] |
| 19 |
| 20 template("create_tests") { |
| 21 executable("boringssl_aes_test") { |
| 22 sources = [ |
| 23 "src/crypto/aes/aes_test.cc", |
| 24 ] |
| 25 sources += _test_support_sources |
| 26 if (defined(invoker.configs_exclude)) { |
| 27 configs -= invoker.configs_exclude |
| 28 } |
| 29 configs += invoker.configs |
| 30 deps = invoker.deps |
| 31 } |
| 32 |
| 33 executable("boringssl_asn1_test") { |
| 34 sources = [ |
| 35 "src/crypto/asn1/asn1_test.cc", |
| 36 ] |
| 37 sources += _test_support_sources |
| 38 if (defined(invoker.configs_exclude)) { |
| 39 configs -= invoker.configs_exclude |
| 40 } |
| 41 configs += invoker.configs |
| 42 deps = invoker.deps |
| 43 } |
| 44 |
| 45 executable("boringssl_base64_test") { |
| 46 sources = [ |
| 47 "src/crypto/base64/base64_test.cc", |
| 48 ] |
| 49 sources += _test_support_sources |
| 50 if (defined(invoker.configs_exclude)) { |
| 51 configs -= invoker.configs_exclude |
| 52 } |
| 53 configs += invoker.configs |
| 54 deps = invoker.deps |
| 55 } |
| 56 |
| 57 executable("boringssl_bio_test") { |
| 58 sources = [ |
| 59 "src/crypto/bio/bio_test.cc", |
| 60 ] |
| 61 sources += _test_support_sources |
| 62 if (defined(invoker.configs_exclude)) { |
| 63 configs -= invoker.configs_exclude |
| 64 } |
| 65 configs += invoker.configs |
| 66 deps = invoker.deps |
| 67 } |
| 68 |
| 69 executable("boringssl_bn_test") { |
| 70 sources = [ |
| 71 "src/crypto/bn/bn_test.cc", |
| 72 ] |
| 73 sources += _test_support_sources |
| 74 if (defined(invoker.configs_exclude)) { |
| 75 configs -= invoker.configs_exclude |
| 76 } |
| 77 configs += invoker.configs |
| 78 deps = invoker.deps |
| 79 } |
| 80 |
| 81 executable("boringssl_bytestring_test") { |
| 82 sources = [ |
| 83 "src/crypto/bytestring/bytestring_test.cc", |
| 84 ] |
| 85 sources += _test_support_sources |
| 86 if (defined(invoker.configs_exclude)) { |
| 87 configs -= invoker.configs_exclude |
| 88 } |
| 89 configs += invoker.configs |
| 90 deps = invoker.deps |
| 91 } |
| 92 |
| 93 executable("boringssl_chacha_test") { |
| 94 sources = [ |
| 95 "src/crypto/chacha/chacha_test.cc", |
| 96 ] |
| 97 sources += _test_support_sources |
| 98 if (defined(invoker.configs_exclude)) { |
| 99 configs -= invoker.configs_exclude |
| 100 } |
| 101 configs += invoker.configs |
| 102 deps = invoker.deps |
| 103 } |
| 104 |
| 105 executable("boringssl_aead_test") { |
| 106 sources = [ |
| 107 "src/crypto/cipher/aead_test.cc", |
| 108 ] |
| 109 sources += _test_support_sources |
| 110 if (defined(invoker.configs_exclude)) { |
| 111 configs -= invoker.configs_exclude |
| 112 } |
| 113 configs += invoker.configs |
| 114 deps = invoker.deps |
| 115 } |
| 116 |
| 117 executable("boringssl_cipher_test") { |
| 118 sources = [ |
| 119 "src/crypto/cipher/cipher_test.cc", |
| 120 ] |
| 121 sources += _test_support_sources |
| 122 if (defined(invoker.configs_exclude)) { |
| 123 configs -= invoker.configs_exclude |
| 124 } |
| 125 configs += invoker.configs |
| 126 deps = invoker.deps |
| 127 } |
| 128 |
| 129 executable("boringssl_cmac_test") { |
| 130 sources = [ |
| 131 "src/crypto/cmac/cmac_test.cc", |
| 132 ] |
| 133 sources += _test_support_sources |
| 134 if (defined(invoker.configs_exclude)) { |
| 135 configs -= invoker.configs_exclude |
| 136 } |
| 137 configs += invoker.configs |
| 138 deps = invoker.deps |
| 139 } |
| 140 |
| 141 executable("boringssl_constant_time_test") { |
| 142 sources = [ |
| 143 "src/crypto/constant_time_test.c", |
| 144 ] |
| 145 sources += _test_support_sources |
| 146 if (defined(invoker.configs_exclude)) { |
| 147 configs -= invoker.configs_exclude |
| 148 } |
| 149 configs += invoker.configs |
| 150 deps = invoker.deps |
| 151 } |
| 152 |
| 153 executable("boringssl_ed25519_test") { |
| 154 sources = [ |
| 155 "src/crypto/curve25519/ed25519_test.cc", |
| 156 ] |
| 157 sources += _test_support_sources |
| 158 if (defined(invoker.configs_exclude)) { |
| 159 configs -= invoker.configs_exclude |
| 160 } |
| 161 configs += invoker.configs |
| 162 deps = invoker.deps |
| 163 } |
| 164 |
| 165 executable("boringssl_spake25519_test") { |
| 166 sources = [ |
| 167 "src/crypto/curve25519/spake25519_test.cc", |
| 168 ] |
| 169 sources += _test_support_sources |
| 170 if (defined(invoker.configs_exclude)) { |
| 171 configs -= invoker.configs_exclude |
| 172 } |
| 173 configs += invoker.configs |
| 174 deps = invoker.deps |
| 175 } |
| 176 |
| 177 executable("boringssl_x25519_test") { |
| 178 sources = [ |
| 179 "src/crypto/curve25519/x25519_test.cc", |
| 180 ] |
| 181 sources += _test_support_sources |
| 182 if (defined(invoker.configs_exclude)) { |
| 183 configs -= invoker.configs_exclude |
| 184 } |
| 185 configs += invoker.configs |
| 186 deps = invoker.deps |
| 187 } |
| 188 |
| 189 executable("boringssl_dh_test") { |
| 190 sources = [ |
| 191 "src/crypto/dh/dh_test.cc", |
| 192 ] |
| 193 sources += _test_support_sources |
| 194 if (defined(invoker.configs_exclude)) { |
| 195 configs -= invoker.configs_exclude |
| 196 } |
| 197 configs += invoker.configs |
| 198 deps = invoker.deps |
| 199 } |
| 200 |
| 201 executable("boringssl_digest_test") { |
| 202 sources = [ |
| 203 "src/crypto/digest/digest_test.cc", |
| 204 ] |
| 205 sources += _test_support_sources |
| 206 if (defined(invoker.configs_exclude)) { |
| 207 configs -= invoker.configs_exclude |
| 208 } |
| 209 configs += invoker.configs |
| 210 deps = invoker.deps |
| 211 } |
| 212 |
| 213 executable("boringssl_dsa_test") { |
| 214 sources = [ |
| 215 "src/crypto/dsa/dsa_test.c", |
| 216 ] |
| 217 sources += _test_support_sources |
| 218 if (defined(invoker.configs_exclude)) { |
| 219 configs -= invoker.configs_exclude |
| 220 } |
| 221 configs += invoker.configs |
| 222 deps = invoker.deps |
| 223 } |
| 224 |
| 225 executable("boringssl_ec_test") { |
| 226 sources = [ |
| 227 "src/crypto/ec/ec_test.cc", |
| 228 ] |
| 229 sources += _test_support_sources |
| 230 if (defined(invoker.configs_exclude)) { |
| 231 configs -= invoker.configs_exclude |
| 232 } |
| 233 configs += invoker.configs |
| 234 deps = invoker.deps |
| 235 } |
| 236 |
| 237 executable("boringssl_example_mul") { |
| 238 sources = [ |
| 239 "src/crypto/ec/example_mul.c", |
| 240 ] |
| 241 sources += _test_support_sources |
| 242 if (defined(invoker.configs_exclude)) { |
| 243 configs -= invoker.configs_exclude |
| 244 } |
| 245 configs += invoker.configs |
| 246 deps = invoker.deps |
| 247 } |
| 248 |
| 249 executable("boringssl_ecdsa_test") { |
| 250 sources = [ |
| 251 "src/crypto/ecdsa/ecdsa_test.cc", |
| 252 ] |
| 253 sources += _test_support_sources |
| 254 if (defined(invoker.configs_exclude)) { |
| 255 configs -= invoker.configs_exclude |
| 256 } |
| 257 configs += invoker.configs |
| 258 deps = invoker.deps |
| 259 } |
| 260 |
| 261 executable("boringssl_err_test") { |
| 262 sources = [ |
| 263 "src/crypto/err/err_test.cc", |
| 264 ] |
| 265 sources += _test_support_sources |
| 266 if (defined(invoker.configs_exclude)) { |
| 267 configs -= invoker.configs_exclude |
| 268 } |
| 269 configs += invoker.configs |
| 270 deps = invoker.deps |
| 271 } |
| 272 |
| 273 executable("boringssl_evp_extra_test") { |
| 274 sources = [ |
| 275 "src/crypto/evp/evp_extra_test.cc", |
| 276 ] |
| 277 sources += _test_support_sources |
| 278 if (defined(invoker.configs_exclude)) { |
| 279 configs -= invoker.configs_exclude |
| 280 } |
| 281 configs += invoker.configs |
| 282 deps = invoker.deps |
| 283 } |
| 284 |
| 285 executable("boringssl_evp_test") { |
| 286 sources = [ |
| 287 "src/crypto/evp/evp_test.cc", |
| 288 ] |
| 289 sources += _test_support_sources |
| 290 if (defined(invoker.configs_exclude)) { |
| 291 configs -= invoker.configs_exclude |
| 292 } |
| 293 configs += invoker.configs |
| 294 deps = invoker.deps |
| 295 } |
| 296 |
| 297 executable("boringssl_pbkdf_test") { |
| 298 sources = [ |
| 299 "src/crypto/evp/pbkdf_test.cc", |
| 300 ] |
| 301 sources += _test_support_sources |
| 302 if (defined(invoker.configs_exclude)) { |
| 303 configs -= invoker.configs_exclude |
| 304 } |
| 305 configs += invoker.configs |
| 306 deps = invoker.deps |
| 307 } |
| 308 |
| 309 executable("boringssl_hkdf_test") { |
| 310 sources = [ |
| 311 "src/crypto/hkdf/hkdf_test.c", |
| 312 ] |
| 313 sources += _test_support_sources |
| 314 if (defined(invoker.configs_exclude)) { |
| 315 configs -= invoker.configs_exclude |
| 316 } |
| 317 configs += invoker.configs |
| 318 deps = invoker.deps |
| 319 } |
| 320 |
| 321 executable("boringssl_hmac_test") { |
| 322 sources = [ |
| 323 "src/crypto/hmac/hmac_test.cc", |
| 324 ] |
| 325 sources += _test_support_sources |
| 326 if (defined(invoker.configs_exclude)) { |
| 327 configs -= invoker.configs_exclude |
| 328 } |
| 329 configs += invoker.configs |
| 330 deps = invoker.deps |
| 331 } |
| 332 |
| 333 executable("boringssl_lhash_test") { |
| 334 sources = [ |
| 335 "src/crypto/lhash/lhash_test.c", |
| 336 ] |
| 337 sources += _test_support_sources |
| 338 if (defined(invoker.configs_exclude)) { |
| 339 configs -= invoker.configs_exclude |
| 340 } |
| 341 configs += invoker.configs |
| 342 deps = invoker.deps |
| 343 } |
| 344 |
| 345 executable("boringssl_gcm_test") { |
| 346 sources = [ |
| 347 "src/crypto/modes/gcm_test.c", |
| 348 ] |
| 349 sources += _test_support_sources |
| 350 if (defined(invoker.configs_exclude)) { |
| 351 configs -= invoker.configs_exclude |
| 352 } |
| 353 configs += invoker.configs |
| 354 deps = invoker.deps |
| 355 } |
| 356 |
| 357 executable("boringssl_newhope_statistical_test") { |
| 358 sources = [ |
| 359 "src/crypto/newhope/newhope_statistical_test.cc", |
| 360 ] |
| 361 sources += _test_support_sources |
| 362 if (defined(invoker.configs_exclude)) { |
| 363 configs -= invoker.configs_exclude |
| 364 } |
| 365 configs += invoker.configs |
| 366 deps = invoker.deps |
| 367 } |
| 368 |
| 369 executable("boringssl_newhope_test") { |
| 370 sources = [ |
| 371 "src/crypto/newhope/newhope_test.cc", |
| 372 ] |
| 373 sources += _test_support_sources |
| 374 if (defined(invoker.configs_exclude)) { |
| 375 configs -= invoker.configs_exclude |
| 376 } |
| 377 configs += invoker.configs |
| 378 deps = invoker.deps |
| 379 } |
| 380 |
| 381 executable("boringssl_newhope_vectors_test") { |
| 382 sources = [ |
| 383 "src/crypto/newhope/newhope_vectors_test.cc", |
| 384 ] |
| 385 sources += _test_support_sources |
| 386 if (defined(invoker.configs_exclude)) { |
| 387 configs -= invoker.configs_exclude |
| 388 } |
| 389 configs += invoker.configs |
| 390 deps = invoker.deps |
| 391 } |
| 392 |
| 393 executable("boringssl_obj_test") { |
| 394 sources = [ |
| 395 "src/crypto/obj/obj_test.cc", |
| 396 ] |
| 397 sources += _test_support_sources |
| 398 if (defined(invoker.configs_exclude)) { |
| 399 configs -= invoker.configs_exclude |
| 400 } |
| 401 configs += invoker.configs |
| 402 deps = invoker.deps |
| 403 } |
| 404 |
| 405 executable("boringssl_pkcs12_test") { |
| 406 sources = [ |
| 407 "src/crypto/pkcs8/pkcs12_test.cc", |
| 408 ] |
| 409 sources += _test_support_sources |
| 410 if (defined(invoker.configs_exclude)) { |
| 411 configs -= invoker.configs_exclude |
| 412 } |
| 413 configs += invoker.configs |
| 414 deps = invoker.deps |
| 415 } |
| 416 |
| 417 executable("boringssl_pkcs8_test") { |
| 418 sources = [ |
| 419 "src/crypto/pkcs8/pkcs8_test.cc", |
| 420 ] |
| 421 sources += _test_support_sources |
| 422 if (defined(invoker.configs_exclude)) { |
| 423 configs -= invoker.configs_exclude |
| 424 } |
| 425 configs += invoker.configs |
| 426 deps = invoker.deps |
| 427 } |
| 428 |
| 429 executable("boringssl_poly1305_test") { |
| 430 sources = [ |
| 431 "src/crypto/poly1305/poly1305_test.cc", |
| 432 ] |
| 433 sources += _test_support_sources |
| 434 if (defined(invoker.configs_exclude)) { |
| 435 configs -= invoker.configs_exclude |
| 436 } |
| 437 configs += invoker.configs |
| 438 deps = invoker.deps |
| 439 } |
| 440 |
| 441 executable("boringssl_refcount_test") { |
| 442 sources = [ |
| 443 "src/crypto/refcount_test.c", |
| 444 ] |
| 445 sources += _test_support_sources |
| 446 if (defined(invoker.configs_exclude)) { |
| 447 configs -= invoker.configs_exclude |
| 448 } |
| 449 configs += invoker.configs |
| 450 deps = invoker.deps |
| 451 } |
| 452 |
| 453 executable("boringssl_rsa_test") { |
| 454 sources = [ |
| 455 "src/crypto/rsa/rsa_test.cc", |
| 456 ] |
| 457 sources += _test_support_sources |
| 458 if (defined(invoker.configs_exclude)) { |
| 459 configs -= invoker.configs_exclude |
| 460 } |
| 461 configs += invoker.configs |
| 462 deps = invoker.deps |
| 463 } |
| 464 |
| 465 executable("boringssl_thread_test") { |
| 466 sources = [ |
| 467 "src/crypto/thread_test.c", |
| 468 ] |
| 469 sources += _test_support_sources |
| 470 if (defined(invoker.configs_exclude)) { |
| 471 configs -= invoker.configs_exclude |
| 472 } |
| 473 configs += invoker.configs |
| 474 deps = invoker.deps |
| 475 } |
| 476 |
| 477 executable("boringssl_pkcs7_test") { |
| 478 sources = [ |
| 479 "src/crypto/x509/pkcs7_test.c", |
| 480 ] |
| 481 sources += _test_support_sources |
| 482 if (defined(invoker.configs_exclude)) { |
| 483 configs -= invoker.configs_exclude |
| 484 } |
| 485 configs += invoker.configs |
| 486 deps = invoker.deps |
| 487 } |
| 488 |
| 489 executable("boringssl_x509_test") { |
| 490 sources = [ |
| 491 "src/crypto/x509/x509_test.cc", |
| 492 ] |
| 493 sources += _test_support_sources |
| 494 if (defined(invoker.configs_exclude)) { |
| 495 configs -= invoker.configs_exclude |
| 496 } |
| 497 configs += invoker.configs |
| 498 deps = invoker.deps |
| 499 } |
| 500 |
| 501 executable("boringssl_tab_test") { |
| 502 sources = [ |
| 503 "src/crypto/x509v3/tab_test.c", |
| 504 ] |
| 505 sources += _test_support_sources |
| 506 if (defined(invoker.configs_exclude)) { |
| 507 configs -= invoker.configs_exclude |
| 508 } |
| 509 configs += invoker.configs |
| 510 deps = invoker.deps |
| 511 } |
| 512 |
| 513 executable("boringssl_v3name_test") { |
| 514 sources = [ |
| 515 "src/crypto/x509v3/v3name_test.c", |
| 516 ] |
| 517 sources += _test_support_sources |
| 518 if (defined(invoker.configs_exclude)) { |
| 519 configs -= invoker.configs_exclude |
| 520 } |
| 521 configs += invoker.configs |
| 522 deps = invoker.deps |
| 523 } |
| 524 |
| 525 executable("boringssl_ssl_test") { |
| 526 sources = [ |
| 527 "src/ssl/ssl_test.cc", |
| 528 ] |
| 529 sources += _test_support_sources |
| 530 if (defined(invoker.configs_exclude)) { |
| 531 configs -= invoker.configs_exclude |
| 532 } |
| 533 configs += invoker.configs |
| 534 deps = invoker.deps |
| 535 } |
| 536 |
| 537 group(target_name) { |
| 538 deps = [ |
| 539 ":boringssl_aead_test", |
| 540 ":boringssl_aes_test", |
| 541 ":boringssl_asn1_test", |
| 542 ":boringssl_base64_test", |
| 543 ":boringssl_bio_test", |
| 544 ":boringssl_bn_test", |
| 545 ":boringssl_bytestring_test", |
| 546 ":boringssl_chacha_test", |
| 547 ":boringssl_cipher_test", |
| 548 ":boringssl_cmac_test", |
| 549 ":boringssl_constant_time_test", |
| 550 ":boringssl_dh_test", |
| 551 ":boringssl_digest_test", |
| 552 ":boringssl_dsa_test", |
| 553 ":boringssl_ec_test", |
| 554 ":boringssl_ecdsa_test", |
| 555 ":boringssl_ed25519_test", |
| 556 ":boringssl_err_test", |
| 557 ":boringssl_evp_extra_test", |
| 558 ":boringssl_evp_test", |
| 559 ":boringssl_example_mul", |
| 560 ":boringssl_gcm_test", |
| 561 ":boringssl_hkdf_test", |
| 562 ":boringssl_hmac_test", |
| 563 ":boringssl_lhash_test", |
| 564 ":boringssl_newhope_statistical_test", |
| 565 ":boringssl_newhope_test", |
| 566 ":boringssl_newhope_vectors_test", |
| 567 ":boringssl_obj_test", |
| 568 ":boringssl_pbkdf_test", |
| 569 ":boringssl_pkcs12_test", |
| 570 ":boringssl_pkcs7_test", |
| 571 ":boringssl_pkcs8_test", |
| 572 ":boringssl_poly1305_test", |
| 573 ":boringssl_refcount_test", |
| 574 ":boringssl_rsa_test", |
| 575 ":boringssl_spake25519_test", |
| 576 ":boringssl_ssl_test", |
| 577 ":boringssl_tab_test", |
| 578 ":boringssl_thread_test", |
| 579 ":boringssl_v3name_test", |
| 580 ":boringssl_x25519_test", |
| 581 ":boringssl_x509_test", |
| 582 ] |
| 583 } |
| 584 } |
OLD | NEW |