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

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: Use !defined(USE_OPENSSL) or #else instead of defined(USING_NSS) 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 | « no previous file | crypto/encryptor.h » ('j') | crypto/encryptor.h » ('J')
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..3f611a32dc4ca07e0cd646b62bd39b3189e4f862 100644
--- a/crypto/crypto.gyp
+++ b/crypto/crypto.gyp
@@ -53,10 +53,21 @@
['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',
+ # TODO(ddorwin): Delete all of these files and remove them from here.
+ 'encryptor_mac.cc',
+ 'encryptor_win.cc',
+ 'hmac_mac.cc',
+ 'symmetric_key_mac.cc',
Ryan Sleevi 2012/06/13 20:39:51 nit: sorting nit: line wrapping issue: You alread
ddorwin 2012/06/13 21:53:23 Done. I misunderstood and thought *_win.* were aut
],
}],
[ 'OS == "android"', {
@@ -96,6 +107,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',
Ryan Sleevi 2012/06/13 20:39:51 Just to confirm this is absolutely necessary. It s
ddorwin 2012/06/13 21:53:23 I got this from Matt. I'll try building without it
ddorwin 2012/06/13 22:43:42 Removing them caused the following error on Mac:
+ ],
}],
[ 'OS != "win"', {
'sources!': [
@@ -163,11 +178,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 +220,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',
@@ -303,6 +314,7 @@
],
'defines': [
'CRYPTO_IMPLEMENTATION',
+ 'NACL_WIN64',
Ryan Sleevi 2012/06/13 20:39:51 This should be '<@(nacl_win64_defines)'
ddorwin 2012/06/13 21:53:23 Done.
],
'msvs_disabled_warnings': [
4018,
« no previous file with comments | « no previous file | crypto/encryptor.h » ('j') | crypto/encryptor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698