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

Unified Diff: crypto/crypto.gyp

Issue 10543146: Use NSS for symmetric key crypto operations on Windows and Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed DEPS; rebased Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | crypto/encryptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/crypto.gyp
diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp
index fdc0fa9c86ac49e84b893eefb148980d61ba6889..287b53cfb65d6b555f24c1585ead87412eccaa4a 100644
--- a/crypto/crypto.gyp
+++ b/crypto/crypto.gyp
@@ -53,10 +53,16 @@
['exclude', '_nss\.cc$'],
['include', 'ec_private_key_nss\.cc$'],
['include', 'ec_signature_creator_nss\.cc$'],
+ ['include', 'encryptor_nss\.cc$'],
+ ['include', 'hmac_nss\.cc$'],
['include', 'signature_verifier_nss\.cc$'],
+ ['include', 'symmetric_key_nss\.cc$'],
],
'sources!': [
+ 'hmac_win.cc',
'openpgp_symmetric_encryption.cc',
+ 'openpgp_symmetric_encryption.h',
+ 'symmetric_key_win.cc',
],
}],
[ 'OS == "android"', {
@@ -66,7 +72,10 @@
'sources/': [
['exclude', 'ec_private_key_nss\.cc$'],
['exclude', 'ec_signature_creator_nss\.cc$'],
+ ['exclude', 'encryptor_nss\.cc$'],
+ ['exclude', 'hmac_nss\.cc$'],
['exclude', 'signature_verifier_nss\.cc$'],
+ ['exclude', 'symmetric_key_nss\.cc$'],
],
}],
[ 'os_bsd==1', {
@@ -96,6 +105,10 @@
'../third_party/nss/nss.gyp:nspr',
'../third_party/nss/nss.gyp:nss',
],
+ 'export_dependent_settings': [
+ '../third_party/nss/nss.gyp:nspr',
+ '../third_party/nss/nss.gyp:nss',
+ ],
}],
[ 'OS != "win"', {
'sources!': [
@@ -163,11 +176,8 @@
'ec_signature_creator_openssl.cc',
'encryptor.cc',
'encryptor.h',
- 'encryptor_mac.cc',
'encryptor_nss.cc',
'encryptor_openssl.cc',
- 'encryptor_win.cc',
- 'hmac_mac.cc',
'hmac_nss.cc',
'hmac_openssl.cc',
'keychain_mac.cc',
@@ -208,7 +218,6 @@
'signature_verifier.h',
'signature_verifier_nss.cc',
'signature_verifier_openssl.cc',
- 'symmetric_key_mac.cc',
'symmetric_key_nss.cc',
'symmetric_key_openssl.cc',
'third_party/nss/chromium-blapi.h',
@@ -293,6 +302,9 @@
'targets': [
{
'target_name': 'crypto_nacl_win64',
+ # We do not want nacl_helper to depend on NSS because this would
+ # require including a 64-bit copy of NSS. Thus, use the native APIs
+ # for the helper.
'type': '<(component)',
'dependencies': [
'../base/base.gyp:base_nacl_win64',
@@ -303,6 +315,7 @@
],
'defines': [
'CRYPTO_IMPLEMENTATION',
+ '<@(nacl_win64_defines)',
],
'msvs_disabled_warnings': [
4018,
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | crypto/encryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698