| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 9 'includes': [ |
| 10 'crypto.gypi', | 10 'crypto.gypi', |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 'third_party/nss/rsawrapr.c', | 125 'third_party/nss/rsawrapr.c', |
| 126 'third_party/nss/secsign.cc', | 126 'third_party/nss/secsign.cc', |
| 127 'third_party/nss/sha512.cc', | 127 'third_party/nss/sha512.cc', |
| 128 ], | 128 ], |
| 129 }, { | 129 }, { |
| 130 'sources!': [ | 130 'sources!': [ |
| 131 'ec_private_key_openssl.cc', | 131 'ec_private_key_openssl.cc', |
| 132 'ec_signature_creator_openssl.cc', | 132 'ec_signature_creator_openssl.cc', |
| 133 'encryptor_openssl.cc', | 133 'encryptor_openssl.cc', |
| 134 'hmac_openssl.cc', | 134 'hmac_openssl.cc', |
| 135 'openssl_bio_string.cc', |
| 136 'openssl_bio_string.h', |
| 135 'openssl_util.cc', | 137 'openssl_util.cc', |
| 136 'openssl_util.h', | 138 'openssl_util.h', |
| 137 'rsa_private_key_openssl.cc', | 139 'rsa_private_key_openssl.cc', |
| 138 'secure_hash_openssl.cc', | 140 'secure_hash_openssl.cc', |
| 139 'signature_creator_openssl.cc', | 141 'signature_creator_openssl.cc', |
| 140 'signature_verifier_openssl.cc', | 142 'signature_verifier_openssl.cc', |
| 141 'symmetric_key_openssl.cc', | 143 'symmetric_key_openssl.cc', |
| 142 ], | 144 ], |
| 143 },], | 145 },], |
| 144 ], | 146 ], |
| 145 'sources': [ | 147 'sources': [ |
| 146 '<@(crypto_sources)', | 148 '<@(crypto_sources)', |
| 147 ], | 149 ], |
| 148 }, | 150 }, |
| 149 { | 151 { |
| 150 'target_name': 'crypto_unittests', | 152 'target_name': 'crypto_unittests', |
| 151 'type': 'executable', | 153 'type': 'executable', |
| 152 'sources': [ | 154 'sources': [ |
| 153 'curve25519_unittest.cc', | 155 'curve25519_unittest.cc', |
| 154 'ec_private_key_unittest.cc', | 156 'ec_private_key_unittest.cc', |
| 155 'ec_signature_creator_unittest.cc', | 157 'ec_signature_creator_unittest.cc', |
| 156 'encryptor_unittest.cc', | 158 'encryptor_unittest.cc', |
| 157 'ghash_unittest.cc', | 159 'ghash_unittest.cc', |
| 158 'hkdf_unittest.cc', | 160 'hkdf_unittest.cc', |
| 159 'hmac_unittest.cc', | 161 'hmac_unittest.cc', |
| 160 'nss_util_unittest.cc', | 162 'nss_util_unittest.cc', |
| 163 'openssl_bio_string_unittest.cc', |
| 161 'p224_unittest.cc', | 164 'p224_unittest.cc', |
| 162 'p224_spake_unittest.cc', | 165 'p224_spake_unittest.cc', |
| 163 'random_unittest.cc', | 166 'random_unittest.cc', |
| 164 'rsa_private_key_unittest.cc', | 167 'rsa_private_key_unittest.cc', |
| 165 'rsa_private_key_nss_unittest.cc', | 168 'rsa_private_key_nss_unittest.cc', |
| 166 'secure_hash_unittest.cc', | 169 'secure_hash_unittest.cc', |
| 167 'sha2_unittest.cc', | 170 'sha2_unittest.cc', |
| 168 'signature_creator_unittest.cc', | 171 'signature_creator_unittest.cc', |
| 169 'signature_verifier_unittest.cc', | 172 'signature_verifier_unittest.cc', |
| 170 'symmetric_key_unittest.cc', | 173 'symmetric_key_unittest.cc', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 }], | 205 }], |
| 203 [ 'OS == "win"', { | 206 [ 'OS == "win"', { |
| 204 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 207 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 205 'msvs_disabled_warnings': [4267, ], | 208 'msvs_disabled_warnings': [4267, ], |
| 206 }], | 209 }], |
| 207 [ 'use_openssl==1', { | 210 [ 'use_openssl==1', { |
| 208 'sources!': [ | 211 'sources!': [ |
| 209 'nss_util_unittest.cc', | 212 'nss_util_unittest.cc', |
| 210 'rsa_private_key_nss_unittest.cc', | 213 'rsa_private_key_nss_unittest.cc', |
| 211 ], | 214 ], |
| 215 }, { |
| 216 'sources!': [ |
| 217 'openssl_bio_string_unittest.cc', |
| 218 ], |
| 212 }], | 219 }], |
| 213 ], | 220 ], |
| 214 }, | 221 }, |
| 215 ], | 222 ], |
| 216 'conditions': [ | 223 'conditions': [ |
| 217 ['OS == "win" and target_arch=="ia32"', { | 224 ['OS == "win" and target_arch=="ia32"', { |
| 218 'targets': [ | 225 'targets': [ |
| 219 { | 226 { |
| 220 'target_name': 'crypto_nacl_win64', | 227 'target_name': 'crypto_nacl_win64', |
| 221 # We do not want nacl_helper to depend on NSS because this would | 228 # We do not want nacl_helper to depend on NSS because this would |
| (...skipping 17 matching lines...) Expand all Loading... |
| 239 'configurations': { | 246 'configurations': { |
| 240 'Common_Base': { | 247 'Common_Base': { |
| 241 'msvs_target_platform': 'x64', | 248 'msvs_target_platform': 'x64', |
| 242 }, | 249 }, |
| 243 }, | 250 }, |
| 244 }, | 251 }, |
| 245 ], | 252 ], |
| 246 }], | 253 }], |
| 247 ], | 254 ], |
| 248 } | 255 } |
| OLD | NEW |