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

Side by Side Diff: crypto/crypto.gyp

Issue 7273080: crypto: convert OpenPGP code to NSS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ], 72 ],
73 },], 73 },],
74 [ 'use_openssl==1', { 74 [ 'use_openssl==1', {
75 # TODO(joth): Use a glob to match exclude patterns once the 75 # TODO(joth): Use a glob to match exclude patterns once the
76 # OpenSSL file set is complete. 76 # OpenSSL file set is complete.
77 'sources!': [ 77 'sources!': [
78 'encryptor_nss.cc', 78 'encryptor_nss.cc',
79 'hmac_nss.cc', 79 'hmac_nss.cc',
80 'nss_util.cc', 80 'nss_util.cc',
81 'nss_util.h', 81 'nss_util.h',
82 'openpgp_symmetric_encryption_nss.cc',
82 'rsa_private_key_nss.cc', 83 'rsa_private_key_nss.cc',
83 'secure_hash_default.cc', 84 'secure_hash_default.cc',
84 'signature_creator_nss.cc', 85 'signature_creator_nss.cc',
85 'signature_verifier_nss.cc', 86 'signature_verifier_nss.cc',
86 'symmetric_key_nss.cc', 87 'symmetric_key_nss.cc',
87 'third_party/nss/blapi.h', 88 'third_party/nss/blapi.h',
88 'third_party/nss/blapit.h', 89 'third_party/nss/blapit.h',
89 'third_party/nss/sha256.h', 90 'third_party/nss/sha256.h',
90 'third_party/nss/sha512.cc', 91 'third_party/nss/sha512.cc',
91 ], 92 ],
92 }, { 93 }, {
93 'sources!': [ 94 'sources!': [
94 'encryptor_openssl.cc', 95 'encryptor_openssl.cc',
95 'hmac_openssl.cc', 96 'hmac_openssl.cc',
96 'openpgp_symmetric_encryption_openssl.cc',
97 'openssl_util.cc', 97 'openssl_util.cc',
98 'openssl_util.h', 98 'openssl_util.h',
99 'rsa_private_key_openssl.cc', 99 'rsa_private_key_openssl.cc',
100 'secure_hash_openssl.cc', 100 'secure_hash_openssl.cc',
101 'signature_creator_openssl.cc', 101 'signature_creator_openssl.cc',
102 'signature_verifier_openssl.cc', 102 'signature_verifier_openssl.cc',
103 'symmetric_key_openssl.cc', 103 'symmetric_key_openssl.cc',
104 ], 104 ],
105 },], 105 },],
106 ], 106 ],
(...skipping 14 matching lines...) Expand all
121 'hmac.h', 121 'hmac.h',
122 'hmac_mac.cc', 122 'hmac_mac.cc',
123 'hmac_nss.cc', 123 'hmac_nss.cc',
124 'hmac_openssl.cc', 124 'hmac_openssl.cc',
125 'hmac_win.cc', 125 'hmac_win.cc',
126 'mac_security_services_lock.cc', 126 'mac_security_services_lock.cc',
127 'mac_security_services_lock.h', 127 'mac_security_services_lock.h',
128 'nss_util.cc', 128 'nss_util.cc',
129 'nss_util.h', 129 'nss_util.h',
130 'nss_util_internal.h', 130 'nss_util_internal.h',
131 'openpgp_symmetric_encryption_openssl.cc', 131 'openpgp_symmetric_encryption_nss.cc',
132 'openpgp_symmetric_encryption.h', 132 'openpgp_symmetric_encryption.h',
133 'openssl_util.cc', 133 'openssl_util.cc',
134 'openssl_util.h', 134 'openssl_util.h',
135 'rsa_private_key.cc', 135 'rsa_private_key.cc',
136 'rsa_private_key.h', 136 'rsa_private_key.h',
137 'rsa_private_key_mac.cc', 137 'rsa_private_key_mac.cc',
138 'rsa_private_key_nss.cc', 138 'rsa_private_key_nss.cc',
139 'rsa_private_key_openssl.cc', 139 'rsa_private_key_openssl.cc',
140 'rsa_private_key_win.cc', 140 'rsa_private_key_win.cc',
141 'scoped_capi_types.h', 141 'scoped_capi_types.h',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 # Tests. 176 # Tests.
177 'encryptor_unittest.cc', 177 'encryptor_unittest.cc',
178 'hmac_unittest.cc', 178 'hmac_unittest.cc',
179 'rsa_private_key_unittest.cc', 179 'rsa_private_key_unittest.cc',
180 'rsa_private_key_nss_unittest.cc', 180 'rsa_private_key_nss_unittest.cc',
181 'secure_hash_unittest.cc', 181 'secure_hash_unittest.cc',
182 'sha2_unittest.cc', 182 'sha2_unittest.cc',
183 'signature_creator_unittest.cc', 183 'signature_creator_unittest.cc',
184 'signature_verifier_unittest.cc', 184 'signature_verifier_unittest.cc',
185 'symmetric_key_unittest.cc', 185 'symmetric_key_unittest.cc',
186 'openpgp_symmetric_encryption_test_openssl.cc', 186 'openpgp_symmetric_encryption_test_nss.cc',
wtc 2011/07/01 18:33:32 This unit test file should be named openpgp_symmet
agl 2011/07/01 20:04:59 Done.
187 ], 187 ],
188 'dependencies': [ 188 'dependencies': [
189 'crypto', 189 'crypto',
190 '../base/base.gyp:base', 190 '../base/base.gyp:base',
191 '../base/base.gyp:test_support_base', 191 '../base/base.gyp:test_support_base',
192 '../testing/gmock.gyp:gmock', 192 '../testing/gmock.gyp:gmock',
193 '../testing/gtest.gyp:gtest', 193 '../testing/gtest.gyp:gtest',
194 ], 194 ],
195 'conditions': [ 195 'conditions': [
196 [ 'os_posix == 1 and OS != "mac"', { 196 [ 'os_posix == 1 and OS != "mac"', {
(...skipping 13 matching lines...) Expand all
210 'rsa_private_key_nss_unittest.cc', 210 'rsa_private_key_nss_unittest.cc',
211 ] 211 ]
212 }], 212 }],
213 [ 'OS == "mac" or OS == "win"', { 213 [ 'OS == "mac" or OS == "win"', {
214 'dependencies': [ 214 'dependencies': [
215 '../third_party/nss/nss.gyp:nss', 215 '../third_party/nss/nss.gyp:nss',
216 ], 216 ],
217 }], 217 }],
218 [ 'use_openssl==1', { 218 [ 'use_openssl==1', {
219 'sources!': [ 219 'sources!': [
220 'openpgp_symmetric_encryption_test_nss.cc',
220 'rsa_private_key_nss_unittest.cc', 221 'rsa_private_key_nss_unittest.cc',
221 ], 222 ],
222 }, {
223 'sources!': [
224 'openpgp_symmetric_encryption_test_openssl.cc',
225 ],
226 }], 223 }],
227 ], 224 ],
228 }, 225 },
229 ], 226 ],
230 } 227 }
OLDNEW
« no previous file with comments | « no previous file | crypto/openpgp_symmetric_encryption_nss.cc » ('j') | crypto/openpgp_symmetric_encryption_nss.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698