Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: base/base.gypi

Issue 6276002: Abstracts SHA256 context for NSS / OpenSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/base.gyp ('k') | base/crypto/secure_hash.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 'resource_util.cc', 517 'resource_util.cc',
518 'win_util.cc', 518 'win_util.cc',
519 ], 519 ],
520 },], 520 },],
521 [ 'use_openssl==1', { 521 [ 'use_openssl==1', {
522 # TODO(joth): Use a glob to match exclude patterns once the 522 # TODO(joth): Use a glob to match exclude patterns once the
523 # OpenSSL file set is complete. 523 # OpenSSL file set is complete.
524 'sources!': [ 524 'sources!': [
525 'crypto/encryptor_nss.cc', 525 'crypto/encryptor_nss.cc',
526 'crypto/rsa_private_key_nss.cc', 526 'crypto/rsa_private_key_nss.cc',
527 'crypto/secure_hash_nss.cc',
527 'crypto/signature_creator_nss.cc', 528 'crypto/signature_creator_nss.cc',
528 'crypto/signature_verifier_nss.cc', 529 'crypto/signature_verifier_nss.cc',
529 'crypto/symmetric_key_nss.cc', 530 'crypto/symmetric_key_nss.cc',
530 'hmac_nss.cc', 531 'hmac_nss.cc',
531 'nss_util.cc', 532 'nss_util.cc',
532 'nss_util.h', 533 'nss_util.h',
533 # Note that sha2.cc depends on the NSS files bundled into 534 # Note that sha2.cc depends on the NSS files bundled into
534 # chromium; it does not have the _nss postfix as it is required 535 # chromium; it does not have the _nss postfix as it is required
535 # on platforms besides linux and *bsd. 536 # on platforms besides linux and *bsd.
536 'sha2.cc', 537 'sha2.cc',
537 'third_party/nss/blapi.h', 538 'third_party/nss/blapi.h',
538 'third_party/nss/blapit.h', 539 'third_party/nss/blapit.h',
539 'third_party/nss/sha256.h', 540 'third_party/nss/sha256.h',
540 'third_party/nss/sha512.cc', 541 'third_party/nss/sha512.cc',
541 ], 542 ],
542 }, { 543 }, {
543 'sources!': [ 544 'sources!': [
544 'crypto/encryptor_openssl.cc', 545 'crypto/encryptor_openssl.cc',
545 'crypto/rsa_private_key_openssl.cc', 546 'crypto/rsa_private_key_openssl.cc',
547 'crypto/secure_hash_openssl.cc',
546 'crypto/signature_creator_openssl.cc', 548 'crypto/signature_creator_openssl.cc',
547 'crypto/signature_verifier_openssl.cc', 549 'crypto/signature_verifier_openssl.cc',
548 'crypto/symmetric_key_openssl.cc', 550 'crypto/symmetric_key_openssl.cc',
549 'hmac_openssl.cc', 551 'hmac_openssl.cc',
550 'openssl_util.cc', 552 'openssl_util.cc',
551 'openssl_util.h', 553 'openssl_util.h',
552 'sha2_openssl.cc', 554 'sha2_openssl.cc',
553 ], 555 ],
554 },], 556 },],
555 ], 557 ],
556 'sources': [ 558 'sources': [
557 'crypto/capi_util.cc', 559 'crypto/capi_util.cc',
558 'crypto/capi_util.h', 560 'crypto/capi_util.h',
559 'crypto/crypto_module_blocking_password_delegate.h', 561 'crypto/crypto_module_blocking_password_delegate.h',
560 'crypto/cssm_init.cc', 562 'crypto/cssm_init.cc',
561 'crypto/cssm_init.h', 563 'crypto/cssm_init.h',
562 'crypto/encryptor.h', 564 'crypto/encryptor.h',
563 'crypto/encryptor_mac.cc', 565 'crypto/encryptor_mac.cc',
564 'crypto/encryptor_nss.cc', 566 'crypto/encryptor_nss.cc',
565 'crypto/encryptor_openssl.cc', 567 'crypto/encryptor_openssl.cc',
566 'crypto/encryptor_win.cc', 568 'crypto/encryptor_win.cc',
567 'crypto/rsa_private_key.h', 569 'crypto/rsa_private_key.h',
568 'crypto/rsa_private_key.cc', 570 'crypto/rsa_private_key.cc',
569 'crypto/rsa_private_key_mac.cc', 571 'crypto/rsa_private_key_mac.cc',
570 'crypto/rsa_private_key_nss.cc', 572 'crypto/rsa_private_key_nss.cc',
571 'crypto/rsa_private_key_openssl.cc', 573 'crypto/rsa_private_key_openssl.cc',
572 'crypto/rsa_private_key_win.cc', 574 'crypto/rsa_private_key_win.cc',
575 'crypto/secure_hash.h',
576 'crypto/secure_hash_nss.cc',
577 'crypto/secure_hash_openssl.cc',
573 'crypto/signature_creator.h', 578 'crypto/signature_creator.h',
574 'crypto/signature_creator_mac.cc', 579 'crypto/signature_creator_mac.cc',
575 'crypto/signature_creator_nss.cc', 580 'crypto/signature_creator_nss.cc',
576 'crypto/signature_creator_openssl.cc', 581 'crypto/signature_creator_openssl.cc',
577 'crypto/signature_creator_win.cc', 582 'crypto/signature_creator_win.cc',
578 'crypto/signature_verifier.h', 583 'crypto/signature_verifier.h',
579 'crypto/signature_verifier_mac.cc', 584 'crypto/signature_verifier_mac.cc',
580 'crypto/signature_verifier_nss.cc', 585 'crypto/signature_verifier_nss.cc',
581 'crypto/signature_verifier_openssl.cc', 586 'crypto/signature_verifier_openssl.cc',
582 'crypto/signature_verifier_win.cc', 587 'crypto/signature_verifier_win.cc',
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 'third_party/xdg_mime/xdgmimemagic.c', 732 'third_party/xdg_mime/xdgmimemagic.c',
728 'third_party/xdg_mime/xdgmimemagic.h', 733 'third_party/xdg_mime/xdgmimemagic.h',
729 'third_party/xdg_mime/xdgmimeparent.c', 734 'third_party/xdg_mime/xdgmimeparent.c',
730 'third_party/xdg_mime/xdgmimeparent.h', 735 'third_party/xdg_mime/xdgmimeparent.h',
731 ], 736 ],
732 }, 737 },
733 ], 738 ],
734 }], 739 }],
735 ], 740 ],
736 } 741 }
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/crypto/secure_hash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698