| 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 27 matching lines...) Expand all Loading... |
| 198 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { | 201 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { |
| 199 'dependencies': [ | 202 'dependencies': [ |
| 200 '../third_party/nss/nss.gyp:nspr', | 203 '../third_party/nss/nss.gyp:nspr', |
| 201 ], | 204 ], |
| 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', { |
| 211 'dependencies': [ |
| 212 '../third_party/openssl/openssl.gyp:openssl', |
| 213 ], |
| 208 'sources!': [ | 214 'sources!': [ |
| 209 'nss_util_unittest.cc', | 215 'nss_util_unittest.cc', |
| 210 'rsa_private_key_nss_unittest.cc', | 216 'rsa_private_key_nss_unittest.cc', |
| 211 ], | 217 ], |
| 218 }, { |
| 219 'sources!': [ |
| 220 'openssl_bio_string_unittest.cc', |
| 221 ], |
| 212 }], | 222 }], |
| 213 ], | 223 ], |
| 214 }, | 224 }, |
| 215 ], | 225 ], |
| 216 'conditions': [ | 226 'conditions': [ |
| 217 ['OS == "win" and target_arch=="ia32"', { | 227 ['OS == "win" and target_arch=="ia32"', { |
| 218 'targets': [ | 228 'targets': [ |
| 219 { | 229 { |
| 220 'target_name': 'crypto_nacl_win64', | 230 'target_name': 'crypto_nacl_win64', |
| 221 # We do not want nacl_helper to depend on NSS because this would | 231 # We do not want nacl_helper to depend on NSS because this would |
| (...skipping 17 matching lines...) Expand all Loading... |
| 239 'configurations': { | 249 'configurations': { |
| 240 'Common_Base': { | 250 'Common_Base': { |
| 241 'msvs_target_platform': 'x64', | 251 'msvs_target_platform': 'x64', |
| 242 }, | 252 }, |
| 243 }, | 253 }, |
| 244 }, | 254 }, |
| 245 ], | 255 ], |
| 246 }], | 256 }], |
| 247 ], | 257 ], |
| 248 } | 258 } |
| OLD | NEW |