| OLD | NEW | 
|---|
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") | 
| 6 | 6 | 
| 7 component("crypto") { | 7 component("crypto") { | 
| 8   output_name = "crcrypto"  # Avoid colliding with OpenSSL's libcrypto. | 8   output_name = "crcrypto"  # Avoid colliding with OpenSSL's libcrypto. | 
| 9   sources = [ | 9   sources = [ | 
| 10     "apple_keychain.h", | 10     "apple_keychain.h", | 
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 205     "random_unittest.cc", | 205     "random_unittest.cc", | 
| 206     "rsa_private_key_unittest.cc", | 206     "rsa_private_key_unittest.cc", | 
| 207     "rsa_private_key_nss_unittest.cc", | 207     "rsa_private_key_nss_unittest.cc", | 
| 208     "secure_hash_unittest.cc", | 208     "secure_hash_unittest.cc", | 
| 209     "sha2_unittest.cc", | 209     "sha2_unittest.cc", | 
| 210     "signature_creator_unittest.cc", | 210     "signature_creator_unittest.cc", | 
| 211     "signature_verifier_unittest.cc", | 211     "signature_verifier_unittest.cc", | 
| 212     "symmetric_key_unittest.cc", | 212     "symmetric_key_unittest.cc", | 
| 213   ] | 213   ] | 
| 214 | 214 | 
| 215   if (use_openssl) { |  | 
| 216     sources -= [ |  | 
| 217       "nss_util_unittest.cc", |  | 
| 218     ] |  | 
| 219   } |  | 
| 220 |  | 
| 221   if (use_openssl || !is_linux) { | 215   if (use_openssl || !is_linux) { | 
| 222     sources -= [ | 216     sources -= [ | 
| 223       "rsa_private_key_nss_unittest.cc", | 217       "rsa_private_key_nss_unittest.cc", | 
| 224     ] | 218     ] | 
| 225   } | 219   } | 
| 226 | 220 | 
| 227   if (use_openssl) { | 221   if (use_openssl) { | 
| 228     sources -= [ "nss_util_unittest.cc" ] | 222     sources -= [ "nss_util_unittest.cc" ] | 
| 229   } | 223   } | 
| 230 | 224 | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 263       ] | 257       ] | 
| 264     } else { | 258     } else { | 
| 265       # Non-Linux platforms use the hermetic NSS from the tree. | 259       # Non-Linux platforms use the hermetic NSS from the tree. | 
| 266       deps += [ | 260       deps += [ | 
| 267         "//third_party/nss:nspr", | 261         "//third_party/nss:nspr", | 
| 268         "//third_party/nss:nss", | 262         "//third_party/nss:nss", | 
| 269       ] | 263       ] | 
| 270     } | 264     } | 
| 271   } | 265   } | 
| 272 } | 266 } | 
| OLD | NEW | 
|---|