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

Side by Side Diff: crypto/crypto.gyp

Issue 8413024: Add ECPrivateKey for Elliptic Curve keypair generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes Created 9 years, 1 month 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 20 matching lines...) Expand all
31 ], 31 ],
32 'conditions': [ 32 'conditions': [
33 [ 'chromeos==1', { 33 [ 'chromeos==1', {
34 'sources/': [ ['include', '_chromeos\\.cc$'] ] 34 'sources/': [ ['include', '_chromeos\\.cc$'] ]
35 }, 35 },
36 ], 36 ],
37 ], 37 ],
38 }, { # os_posix != 1 or OS == "mac" 38 }, { # os_posix != 1 or OS == "mac"
39 'sources/': [ 39 'sources/': [
40 ['exclude', '_nss\.cc$'], 40 ['exclude', '_nss\.cc$'],
41 ['include', 'ec_private_key_nss\.cc$'],
41 ], 42 ],
42 'sources!': [ 43 'sources!': [
43 'openpgp_symmetric_encryption.cc', 44 'openpgp_symmetric_encryption.cc',
44 ], 45 ],
45 }], 46 }],
46 [ 'OS == "freebsd" or OS == "openbsd"', { 47 [ 'OS == "freebsd" or OS == "openbsd"', {
47 'link_settings': { 48 'link_settings': {
48 'libraries': [ 49 'libraries': [
49 '-L/usr/local/lib -lexecinfo', 50 '-L/usr/local/lib -lexecinfo',
50 ], 51 ],
(...skipping 23 matching lines...) Expand all
74 [ 'OS != "win"', { 75 [ 'OS != "win"', {
75 'sources!': [ 76 'sources!': [
76 'capi_util.h', 77 'capi_util.h',
77 'capi_util.cc', 78 'capi_util.cc',
78 ], 79 ],
79 }], 80 }],
80 [ 'use_openssl==1', { 81 [ 'use_openssl==1', {
81 # TODO(joth): Use a glob to match exclude patterns once the 82 # TODO(joth): Use a glob to match exclude patterns once the
82 # OpenSSL file set is complete. 83 # OpenSSL file set is complete.
83 'sources!': [ 84 'sources!': [
85 'ec_private_key_nss.cc',
84 'encryptor_nss.cc', 86 'encryptor_nss.cc',
85 'hmac_nss.cc', 87 'hmac_nss.cc',
86 'nss_util.cc', 88 'nss_util.cc',
87 'nss_util.h', 89 'nss_util.h',
88 'openpgp_symmetric_encryption.cc', 90 'openpgp_symmetric_encryption.cc',
89 'rsa_private_key_nss.cc', 91 'rsa_private_key_nss.cc',
90 'secure_hash_default.cc', 92 'secure_hash_default.cc',
91 'signature_creator_nss.cc', 93 'signature_creator_nss.cc',
92 'signature_verifier_nss.cc', 94 'signature_verifier_nss.cc',
93 'symmetric_key_nss.cc', 95 'symmetric_key_nss.cc',
94 'third_party/nss/blapi.h', 96 'third_party/nss/blapi.h',
95 'third_party/nss/blapit.h', 97 'third_party/nss/blapit.h',
98 'third_party/nss/ec.h',
99 'third_party/nss/ec.cc',
wtc 2011/11/04 22:41:26 For the header file, I suggest naming it something
mattm 2011/11/08 02:12:27 Done.
96 'third_party/nss/sha256.h', 100 'third_party/nss/sha256.h',
97 'third_party/nss/sha512.cc', 101 'third_party/nss/sha512.cc',
98 ], 102 ],
99 }, { 103 }, {
100 'sources!': [ 104 'sources!': [
105 'ec_private_key_openssl.cc',
101 'encryptor_openssl.cc', 106 'encryptor_openssl.cc',
102 'hmac_openssl.cc', 107 'hmac_openssl.cc',
103 'openssl_util.cc', 108 'openssl_util.cc',
104 'openssl_util.h', 109 'openssl_util.h',
105 'rsa_private_key_openssl.cc', 110 'rsa_private_key_openssl.cc',
106 'secure_hash_openssl.cc', 111 'secure_hash_openssl.cc',
107 'signature_creator_openssl.cc', 112 'signature_creator_openssl.cc',
108 'signature_verifier_openssl.cc', 113 'signature_verifier_openssl.cc',
109 'symmetric_key_openssl.cc', 114 'symmetric_key_openssl.cc',
110 ], 115 ],
111 },], 116 },],
112 ], 117 ],
113 'sources': [ 118 'sources': [
114 'capi_util.cc', 119 'capi_util.cc',
115 'capi_util.h', 120 'capi_util.h',
116 'crypto_export.h', 121 'crypto_export.h',
117 'crypto_module_blocking_password_delegate.h', 122 'crypto_module_blocking_password_delegate.h',
118 'cssm_init.cc', 123 'cssm_init.cc',
119 'cssm_init.h', 124 'cssm_init.h',
125 'ec_private_key.h',
126 'ec_private_key_nss.cc',
127 'ec_private_key_openssl.cc',
120 'encryptor.cc', 128 'encryptor.cc',
121 'encryptor.h', 129 'encryptor.h',
122 'encryptor_mac.cc', 130 'encryptor_mac.cc',
123 'encryptor_nss.cc', 131 'encryptor_nss.cc',
124 'encryptor_openssl.cc', 132 'encryptor_openssl.cc',
125 'encryptor_win.cc', 133 'encryptor_win.cc',
126 'hmac.cc', 134 'hmac.cc',
127 'hmac.h', 135 'hmac.h',
128 'hmac_mac.cc', 136 'hmac_mac.cc',
129 'hmac_nss.cc', 137 'hmac_nss.cc',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 'signature_verifier_nss.cc', 171 'signature_verifier_nss.cc',
164 'signature_verifier_openssl.cc', 172 'signature_verifier_openssl.cc',
165 'signature_verifier_win.cc', 173 'signature_verifier_win.cc',
166 'symmetric_key.h', 174 'symmetric_key.h',
167 'symmetric_key_mac.cc', 175 'symmetric_key_mac.cc',
168 'symmetric_key_nss.cc', 176 'symmetric_key_nss.cc',
169 'symmetric_key_openssl.cc', 177 'symmetric_key_openssl.cc',
170 'symmetric_key_win.cc', 178 'symmetric_key_win.cc',
171 'third_party/nss/blapi.h', 179 'third_party/nss/blapi.h',
172 'third_party/nss/blapit.h', 180 'third_party/nss/blapit.h',
181 'third_party/nss/ec.h',
182 'third_party/nss/ec.cc',
173 'third_party/nss/sha256.h', 183 'third_party/nss/sha256.h',
174 'third_party/nss/sha512.cc', 184 'third_party/nss/sha512.cc',
175 ], 185 ],
176 }, 186 },
177 { 187 {
178 'target_name': 'crypto_unittests', 188 'target_name': 'crypto_unittests',
179 'type': 'executable', 189 'type': 'executable',
180 'sources': [ 190 'sources': [
181 # Infrastructure files. 191 # Infrastructure files.
182 'run_all_unittests.cc', 192 'run_all_unittests.cc',
183 193
184 # Tests. 194 # Tests.
195 'ec_private_key_unittest.cc',
185 'encryptor_unittest.cc', 196 'encryptor_unittest.cc',
186 'hmac_unittest.cc', 197 'hmac_unittest.cc',
187 'rsa_private_key_unittest.cc', 198 'rsa_private_key_unittest.cc',
188 'rsa_private_key_nss_unittest.cc', 199 'rsa_private_key_nss_unittest.cc',
189 'secure_hash_unittest.cc', 200 'secure_hash_unittest.cc',
190 'sha2_unittest.cc', 201 'sha2_unittest.cc',
191 'signature_creator_unittest.cc', 202 'signature_creator_unittest.cc',
192 'signature_verifier_unittest.cc', 203 'signature_verifier_unittest.cc',
193 'symmetric_key_unittest.cc', 204 'symmetric_key_unittest.cc',
194 'openpgp_symmetric_encryption_unittest.cc', 205 'openpgp_symmetric_encryption_unittest.cc',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 [ 'use_openssl==1', { 238 [ 'use_openssl==1', {
228 'sources!': [ 239 'sources!': [
229 'openpgp_symmetric_encryption_unittest.cc', 240 'openpgp_symmetric_encryption_unittest.cc',
230 'rsa_private_key_nss_unittest.cc', 241 'rsa_private_key_nss_unittest.cc',
231 ], 242 ],
232 }], 243 }],
233 ], 244 ],
234 }, 245 },
235 ], 246 ],
236 } 247 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698