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 { |
11 'target_name': 'crypto', | 11 'target_name': 'crypto', |
12 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto | 12 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
| 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
16 ], | 17 ], |
17 'msvs_disabled_warnings': [ | 18 'msvs_disabled_warnings': [ |
18 4018, | 19 4018, |
19 ], | 20 ], |
20 'conditions': [ | 21 'conditions': [ |
21 [ 'os_posix == 1 and OS != "mac"', { | 22 [ 'os_posix == 1 and OS != "mac"', { |
22 'dependencies': [ | 23 'dependencies': [ |
23 '../build/linux/system.gyp:ssl', | 24 '../build/linux/system.gyp:ssl', |
24 ], | 25 ], |
25 'export_dependent_settings': [ | 26 'export_dependent_settings': [ |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 'secure_hash_openssl.cc', | 98 'secure_hash_openssl.cc', |
98 'signature_creator_openssl.cc', | 99 'signature_creator_openssl.cc', |
99 'signature_verifier_openssl.cc', | 100 'signature_verifier_openssl.cc', |
100 'symmetric_key_openssl.cc', | 101 'symmetric_key_openssl.cc', |
101 ], | 102 ], |
102 },], | 103 },], |
103 ], | 104 ], |
104 'sources': [ | 105 'sources': [ |
105 'capi_util.cc', | 106 'capi_util.cc', |
106 'capi_util.h', | 107 'capi_util.h', |
| 108 'crypto_api.h', |
107 'crypto_module_blocking_password_delegate.h', | 109 'crypto_module_blocking_password_delegate.h', |
108 'cssm_init.cc', | 110 'cssm_init.cc', |
109 'cssm_init.h', | 111 'cssm_init.h', |
110 'encryptor.h', | 112 'encryptor.h', |
111 'encryptor_mac.cc', | 113 'encryptor_mac.cc', |
112 'encryptor_nss.cc', | 114 'encryptor_nss.cc', |
113 'encryptor_openssl.cc', | 115 'encryptor_openssl.cc', |
114 'encryptor_win.cc', | 116 'encryptor_win.cc', |
115 'hmac.cc', | 117 'hmac.cc', |
116 'hmac.h', | 118 'hmac.h', |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 }], | 211 }], |
210 [ 'use_openssl==1', { | 212 [ 'use_openssl==1', { |
211 'sources!': [ | 213 'sources!': [ |
212 'rsa_private_key_nss_unittest.cc', | 214 'rsa_private_key_nss_unittest.cc', |
213 ], | 215 ], |
214 }], | 216 }], |
215 ], | 217 ], |
216 }, | 218 }, |
217 ], | 219 ], |
218 } | 220 } |
OLD | NEW |