OLD | NEW |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 }, | 85 }, |
86 }], | 86 }], |
87 [ 'use_openssl==1', { | 87 [ 'use_openssl==1', { |
88 # TODO(joth): Use a glob to match exclude patterns once the | 88 # TODO(joth): Use a glob to match exclude patterns once the |
89 # OpenSSL file set is complete. | 89 # OpenSSL file set is complete. |
90 'sources!': [ | 90 'sources!': [ |
91 'encryptor_nss.cc', | 91 'encryptor_nss.cc', |
92 'hmac_nss.cc', | 92 'hmac_nss.cc', |
93 'nss_util.cc', | 93 'nss_util.cc', |
94 'nss_util.h', | 94 'nss_util.h', |
| 95 'openpgp_symmetric_encryption_nss.cc', |
95 'rsa_private_key_nss.cc', | 96 'rsa_private_key_nss.cc', |
96 'secure_hash_default.cc', | 97 'secure_hash_default.cc', |
97 'signature_creator_nss.cc', | 98 'signature_creator_nss.cc', |
98 'signature_verifier_nss.cc', | 99 'signature_verifier_nss.cc', |
99 'symmetric_key_nss.cc', | 100 'symmetric_key_nss.cc', |
100 'third_party/nss/blapi.h', | 101 'third_party/nss/blapi.h', |
101 'third_party/nss/blapit.h', | 102 'third_party/nss/blapit.h', |
102 'third_party/nss/sha256.h', | 103 'third_party/nss/sha256.h', |
103 'third_party/nss/sha512.cc', | 104 'third_party/nss/sha512.cc', |
104 ], | 105 ], |
105 }, { | 106 }, { |
106 'sources!': [ | 107 'sources!': [ |
107 'encryptor_openssl.cc', | 108 'encryptor_openssl.cc', |
108 'hmac_openssl.cc', | 109 'hmac_openssl.cc', |
109 'openpgp_symmetric_encryption_openssl.cc', | |
110 'openssl_util.cc', | 110 'openssl_util.cc', |
111 'openssl_util.h', | 111 'openssl_util.h', |
112 'rsa_private_key_openssl.cc', | 112 'rsa_private_key_openssl.cc', |
113 'secure_hash_openssl.cc', | 113 'secure_hash_openssl.cc', |
114 'signature_creator_openssl.cc', | 114 'signature_creator_openssl.cc', |
115 'signature_verifier_openssl.cc', | 115 'signature_verifier_openssl.cc', |
116 'symmetric_key_openssl.cc', | 116 'symmetric_key_openssl.cc', |
117 ], | 117 ], |
118 },], | 118 },], |
119 ], | 119 ], |
(...skipping 14 matching lines...) Expand all Loading... |
134 'hmac.h', | 134 'hmac.h', |
135 'hmac_mac.cc', | 135 'hmac_mac.cc', |
136 'hmac_nss.cc', | 136 'hmac_nss.cc', |
137 'hmac_openssl.cc', | 137 'hmac_openssl.cc', |
138 'hmac_win.cc', | 138 'hmac_win.cc', |
139 'mac_security_services_lock.cc', | 139 'mac_security_services_lock.cc', |
140 'mac_security_services_lock.h', | 140 'mac_security_services_lock.h', |
141 'nss_util.cc', | 141 'nss_util.cc', |
142 'nss_util.h', | 142 'nss_util.h', |
143 'nss_util_internal.h', | 143 'nss_util_internal.h', |
144 'openpgp_symmetric_encryption_openssl.cc', | 144 'openpgp_symmetric_encryption_nss.cc', |
145 'openpgp_symmetric_encryption.h', | 145 'openpgp_symmetric_encryption.h', |
146 'openssl_util.cc', | 146 'openssl_util.cc', |
147 'openssl_util.h', | 147 'openssl_util.h', |
148 'rsa_private_key.cc', | 148 'rsa_private_key.cc', |
149 'rsa_private_key.h', | 149 'rsa_private_key.h', |
150 'rsa_private_key_mac.cc', | 150 'rsa_private_key_mac.cc', |
151 'rsa_private_key_nss.cc', | 151 'rsa_private_key_nss.cc', |
152 'rsa_private_key_openssl.cc', | 152 'rsa_private_key_openssl.cc', |
153 'rsa_private_key_win.cc', | 153 'rsa_private_key_win.cc', |
154 'scoped_capi_types.h', | 154 'scoped_capi_types.h', |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 # Tests. | 189 # Tests. |
190 'encryptor_unittest.cc', | 190 'encryptor_unittest.cc', |
191 'hmac_unittest.cc', | 191 'hmac_unittest.cc', |
192 'rsa_private_key_unittest.cc', | 192 'rsa_private_key_unittest.cc', |
193 'rsa_private_key_nss_unittest.cc', | 193 'rsa_private_key_nss_unittest.cc', |
194 'secure_hash_unittest.cc', | 194 'secure_hash_unittest.cc', |
195 'sha2_unittest.cc', | 195 'sha2_unittest.cc', |
196 'signature_creator_unittest.cc', | 196 'signature_creator_unittest.cc', |
197 'signature_verifier_unittest.cc', | 197 'signature_verifier_unittest.cc', |
198 'symmetric_key_unittest.cc', | 198 'symmetric_key_unittest.cc', |
199 'openpgp_symmetric_encryption_test_openssl.cc', | 199 'openpgp_symmetric_encryption_nss_unittest.cc', |
200 ], | 200 ], |
201 'dependencies': [ | 201 'dependencies': [ |
202 'crypto', | 202 'crypto', |
203 '../base/base.gyp:base', | 203 '../base/base.gyp:base', |
204 '../base/base.gyp:test_support_base', | 204 '../base/base.gyp:test_support_base', |
205 '../testing/gmock.gyp:gmock', | 205 '../testing/gmock.gyp:gmock', |
206 '../testing/gtest.gyp:gtest', | 206 '../testing/gtest.gyp:gtest', |
207 ], | 207 ], |
208 'conditions': [ | 208 'conditions': [ |
209 [ 'os_posix == 1 and OS != "mac"', { | 209 [ 'os_posix == 1 and OS != "mac"', { |
(...skipping 13 matching lines...) Expand all Loading... |
223 'rsa_private_key_nss_unittest.cc', | 223 'rsa_private_key_nss_unittest.cc', |
224 ] | 224 ] |
225 }], | 225 }], |
226 [ 'OS == "mac" or OS == "win"', { | 226 [ 'OS == "mac" or OS == "win"', { |
227 'dependencies': [ | 227 'dependencies': [ |
228 '../third_party/nss/nss.gyp:nss', | 228 '../third_party/nss/nss.gyp:nss', |
229 ], | 229 ], |
230 }], | 230 }], |
231 [ 'use_openssl==1', { | 231 [ 'use_openssl==1', { |
232 'sources!': [ | 232 'sources!': [ |
| 233 'openpgp_symmetric_encryption_test_nss.cc', |
233 'rsa_private_key_nss_unittest.cc', | 234 'rsa_private_key_nss_unittest.cc', |
234 ], | 235 ], |
235 }, { | |
236 'sources!': [ | |
237 'openpgp_symmetric_encryption_test_openssl.cc', | |
238 ], | |
239 }], | 236 }], |
240 ], | 237 ], |
241 }, | 238 }, |
242 ], | 239 ], |
243 } | 240 } |
OLD | NEW |