OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'base_target': 0, | 8 'base_target': 0, |
9 'base_extra_target': 0, | 9 'base_extra_target': 0, |
10 }, | 10 }, |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 }], | 386 }], |
387 ['base_extra_target==1', { | 387 ['base_extra_target==1', { |
388 'sources': [ | 388 'sources': [ |
389 'crypto/capi_util.cc', | 389 'crypto/capi_util.cc', |
390 'crypto/capi_util.h', | 390 'crypto/capi_util.h', |
391 'crypto/cssm_init.cc', | 391 'crypto/cssm_init.cc', |
392 'crypto/cssm_init.h', | 392 'crypto/cssm_init.h', |
393 'crypto/encryptor.h', | 393 'crypto/encryptor.h', |
394 'crypto/encryptor_mac.cc', | 394 'crypto/encryptor_mac.cc', |
395 'crypto/encryptor_nss.cc', | 395 'crypto/encryptor_nss.cc', |
| 396 'crypto/encryptor_openssl.cc', |
396 'crypto/encryptor_win.cc', | 397 'crypto/encryptor_win.cc', |
397 'crypto/rsa_private_key.h', | 398 'crypto/rsa_private_key.h', |
398 'crypto/rsa_private_key.cc', | 399 'crypto/rsa_private_key.cc', |
399 'crypto/rsa_private_key_mac.cc', | 400 'crypto/rsa_private_key_mac.cc', |
400 'crypto/rsa_private_key_nss.cc', | 401 'crypto/rsa_private_key_nss.cc', |
| 402 'crypto/rsa_private_key_openssl.cc', |
401 'crypto/rsa_private_key_win.cc', | 403 'crypto/rsa_private_key_win.cc', |
402 'crypto/signature_creator.h', | 404 'crypto/signature_creator.h', |
403 'crypto/signature_creator_mac.cc', | 405 'crypto/signature_creator_mac.cc', |
404 'crypto/signature_creator_nss.cc', | 406 'crypto/signature_creator_nss.cc', |
| 407 'crypto/signature_creator_openssl.cc', |
405 'crypto/signature_creator_win.cc', | 408 'crypto/signature_creator_win.cc', |
406 'crypto/signature_verifier.h', | 409 'crypto/signature_verifier.h', |
407 'crypto/signature_verifier_mac.cc', | 410 'crypto/signature_verifier_mac.cc', |
408 'crypto/signature_verifier_nss.cc', | 411 'crypto/signature_verifier_nss.cc', |
| 412 'crypto/signature_verifier_openssl.cc', |
409 'crypto/signature_verifier_win.cc', | 413 'crypto/signature_verifier_win.cc', |
410 'crypto/symmetric_key.h', | 414 'crypto/symmetric_key.h', |
411 'crypto/symmetric_key_mac.cc', | 415 'crypto/symmetric_key_mac.cc', |
412 'crypto/symmetric_key_nss.cc', | 416 'crypto/symmetric_key_nss.cc', |
| 417 'crypto/symmetric_key_openssl.cc', |
413 'crypto/symmetric_key_win.cc', | 418 'crypto/symmetric_key_win.cc', |
414 'third_party/nspr/prcpucfg.h', | 419 'third_party/nspr/prcpucfg.h', |
415 'third_party/nspr/prcpucfg_win.h', | 420 'third_party/nspr/prcpucfg_win.h', |
416 'third_party/nspr/prtypes.h', | 421 'third_party/nspr/prtypes.h', |
417 'third_party/nss/blapi.h', | 422 'third_party/nss/blapi.h', |
418 'third_party/nss/blapit.h', | 423 'third_party/nss/blapit.h', |
419 'third_party/nss/sha256.h', | 424 'third_party/nss/sha256.h', |
420 'third_party/nss/sha512.cc', | 425 'third_party/nss/sha512.cc', |
421 'third_party/purify/pure.h', | 426 'third_party/purify/pure.h', |
422 'third_party/purify/pure_api.c', | 427 'third_party/purify/pure_api.c', |
423 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', | 428 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
424 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', | 429 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', |
425 'auto_reset.h', | 430 'auto_reset.h', |
426 'base64.cc', | 431 'base64.cc', |
427 'base64.h', | 432 'base64.h', |
428 'data_pack.cc', | 433 'data_pack.cc', |
429 'event_recorder.cc', | 434 'event_recorder.cc', |
430 'event_recorder.h', | 435 'event_recorder.h', |
431 'event_recorder_stubs.cc', | 436 'event_recorder_stubs.cc', |
432 'file_descriptor_shuffle.cc', | 437 'file_descriptor_shuffle.cc', |
433 'file_descriptor_shuffle.h', | 438 'file_descriptor_shuffle.h', |
434 'hmac.h', | 439 'hmac.h', |
435 'hmac_mac.cc', | 440 'hmac_mac.cc', |
436 'hmac_nss.cc', | 441 'hmac_nss.cc', |
| 442 'hmac_openssl.cc', |
437 'hmac_win.cc', | 443 'hmac_win.cc', |
438 'image_util.cc', | 444 'image_util.cc', |
439 'image_util.h', | 445 'image_util.h', |
440 'linux_util.cc', | 446 'linux_util.cc', |
441 'linux_util.h', | 447 'linux_util.h', |
442 'md5.cc', | 448 'md5.cc', |
443 'md5.h', | 449 'md5.h', |
444 'message_pump_glib.cc', | 450 'message_pump_glib.cc', |
445 'message_pump_glib.h', | 451 'message_pump_glib.h', |
446 'message_pump_libevent.cc', | 452 'message_pump_libevent.cc', |
447 'message_pump_libevent.h', | 453 'message_pump_libevent.h', |
448 'message_pump_mac.h', | 454 'message_pump_mac.h', |
449 'message_pump_mac.mm', | 455 'message_pump_mac.mm', |
450 'metrics/field_trial.cc', | 456 'metrics/field_trial.cc', |
451 'metrics/field_trial.h', | 457 'metrics/field_trial.h', |
452 'nsimage_cache_mac.h', | 458 'nsimage_cache_mac.h', |
453 'nsimage_cache_mac.mm', | 459 'nsimage_cache_mac.mm', |
454 'nss_util.cc', | 460 'nss_util.cc', |
455 'nss_util.h', | 461 'nss_util.h', |
456 'setproctitle_linux.c', | 462 'setproctitle_linux.c', |
457 'setproctitle_linux.h', | 463 'setproctitle_linux.h', |
458 'sha2.cc', | 464 'sha2.cc', |
459 'sha2.h', | 465 'sha2.h', |
| 466 'sha2_openssl.cc', |
460 'string16.cc', | 467 'string16.cc', |
461 'string16.h', | 468 'string16.h', |
462 'sync_socket.h', | 469 'sync_socket.h', |
463 'sync_socket_win.cc', | 470 'sync_socket_win.cc', |
464 'sync_socket_posix.cc', | 471 'sync_socket_posix.cc', |
465 'time_mac.cc', | 472 'time_mac.cc', |
466 'time_posix.cc', | 473 'time_posix.cc', |
467 'version.cc', | 474 'version.cc', |
468 'version.h', | 475 'version.h', |
469 ], | 476 ], |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 'event_recorder.cc', | 512 'event_recorder.cc', |
506 'file_version_info.cc', | 513 'file_version_info.cc', |
507 'image_util.cc', | 514 'image_util.cc', |
508 'object_watcher.cc', | 515 'object_watcher.cc', |
509 'pe_image.cc', | 516 'pe_image.cc', |
510 'registry.cc', | 517 'registry.cc', |
511 'resource_util.cc', | 518 'resource_util.cc', |
512 'win_util.cc', | 519 'win_util.cc', |
513 ], | 520 ], |
514 },], | 521 },], |
| 522 [ 'use_openssl==1', { |
| 523 # TODO(joth): Use a glob to match exclude patterns once the |
| 524 # OpenSSL file set is complete. |
| 525 'sources!': [ |
| 526 'crypto/encryptor_nss.cc', |
| 527 'crypto/rsa_private_key_nss.cc', |
| 528 'crypto/signature_creator_nss.cc', |
| 529 'crypto/signature_verifier_nss.cc', |
| 530 'crypto/symmetric_key_nss.cc', |
| 531 'hmac_nss.cc', |
| 532 'nss_util.cc', |
| 533 'nss_util.h', |
| 534 # Note that sha2.cc depends on the NSS files bundled into |
| 535 # chromium; it does not have the _nss postfix as it is required |
| 536 # on platforms besides linux and *bsd. |
| 537 'sha2.cc', |
| 538 'third_party/nss/blapi.h', |
| 539 'third_party/nss/blapit.h', |
| 540 'third_party/nss/sha256.h', |
| 541 'third_party/nss/sha512.cc', |
| 542 ], |
| 543 }, { |
| 544 'sources!': [ |
| 545 'crypto/encryptor_openssl.cc', |
| 546 'crypto/rsa_private_key_openssl.cc', |
| 547 'crypto/signature_creator_openssl.cc', |
| 548 'crypto/signature_verifier_openssl.cc', |
| 549 'crypto/symmetric_key_openssl.cc', |
| 550 'hmac_openssl.cc', |
| 551 'sha2_openssl.cc', |
| 552 ], |
| 553 },], |
515 ], | 554 ], |
516 }], | 555 }], |
517 ], | 556 ], |
518 }, | 557 }, |
519 'targets': [ | 558 'targets': [ |
520 { | 559 { |
521 'target_name': 'base', | 560 'target_name': 'base', |
522 'type': '<(library)', | 561 'type': '<(library)', |
523 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', | 562 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', |
524 'variables': { | 563 'variables': { |
(...skipping 24 matching lines...) Expand all Loading... |
549 ], | 588 ], |
550 }, | 589 }, |
551 }, | 590 }, |
552 ], | 591 ], |
553 [ 'linux_use_tcmalloc==1', { | 592 [ 'linux_use_tcmalloc==1', { |
554 'dependencies': [ | 593 'dependencies': [ |
555 'allocator/allocator.gyp:allocator', | 594 'allocator/allocator.gyp:allocator', |
556 ], | 595 ], |
557 }, | 596 }, |
558 ], | 597 ], |
| 598 [ 'use_openssl==1', { |
| 599 'dependencies': [ |
| 600 '../build/linux/system.gyp:openssl', |
| 601 ], |
| 602 }, { # use_openssl==0 |
| 603 'dependencies': [ |
| 604 '../build/linux/system.gyp:nss', |
| 605 ], |
| 606 } |
| 607 ], |
559 ], | 608 ], |
560 'dependencies': [ | 609 'dependencies': [ |
561 'symbolize', | 610 'symbolize', |
562 '../build/util/build_util.gyp:lastchange', | 611 '../build/util/build_util.gyp:lastchange', |
563 '../build/linux/system.gyp:gtk', | 612 '../build/linux/system.gyp:gtk', |
564 '../build/linux/system.gyp:nss', | |
565 'xdg_mime', | 613 'xdg_mime', |
566 ], | 614 ], |
567 'export_dependent_settings': [ | 615 'export_dependent_settings': [ |
568 '../build/linux/system.gyp:gtk', | 616 '../build/linux/system.gyp:gtk', |
569 ], | 617 ], |
570 },], | 618 },], |
571 [ 'OS == "freebsd" or OS == "openbsd"', { | 619 [ 'OS == "freebsd" or OS == "openbsd"', { |
572 'link_settings': { | 620 'link_settings': { |
573 'libraries': [ | 621 'libraries': [ |
574 '-L/usr/local/lib -lexecinfo', | 622 '-L/usr/local/lib -lexecinfo', |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 'third_party/xdg_mime/xdgmimemagic.c', | 794 'third_party/xdg_mime/xdgmimemagic.c', |
747 'third_party/xdg_mime/xdgmimemagic.h', | 795 'third_party/xdg_mime/xdgmimemagic.h', |
748 'third_party/xdg_mime/xdgmimeparent.c', | 796 'third_party/xdg_mime/xdgmimeparent.c', |
749 'third_party/xdg_mime/xdgmimeparent.h', | 797 'third_party/xdg_mime/xdgmimeparent.h', |
750 ], | 798 ], |
751 }, | 799 }, |
752 ], | 800 ], |
753 }], | 801 }], |
754 ], | 802 ], |
755 } | 803 } |
OLD | NEW |