| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("crypto") { | 8 component("crypto") { |
| 9 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto. | 9 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto. |
| 10 sources = [ | 10 sources = [ |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 "random.cc", | 58 "random.cc", |
| 59 "random.h", | 59 "random.h", |
| 60 "rsa_private_key.cc", | 60 "rsa_private_key.cc", |
| 61 "rsa_private_key.h", | 61 "rsa_private_key.h", |
| 62 "scoped_capi_types.h", | 62 "scoped_capi_types.h", |
| 63 "scoped_nss_types.h", | 63 "scoped_nss_types.h", |
| 64 "secure_hash.cc", | 64 "secure_hash.cc", |
| 65 "secure_hash.h", | 65 "secure_hash.h", |
| 66 "secure_util.cc", | 66 "secure_util.cc", |
| 67 "secure_util.h", | 67 "secure_util.h", |
| 68 "sha1.cc", |
| 69 "sha1.h", |
| 68 "sha2.cc", | 70 "sha2.cc", |
| 69 "sha2.h", | 71 "sha2.h", |
| 70 "signature_creator.cc", | 72 "signature_creator.cc", |
| 71 "signature_creator.h", | 73 "signature_creator.h", |
| 72 "signature_verifier.cc", | 74 "signature_verifier.cc", |
| 73 "signature_verifier.h", | 75 "signature_verifier.h", |
| 74 "symmetric_key.cc", | 76 "symmetric_key.cc", |
| 75 "symmetric_key.h", | 77 "symmetric_key.h", |
| 76 ] | 78 ] |
| 77 | 79 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 "hkdf_unittest.cc", | 142 "hkdf_unittest.cc", |
| 141 "hmac_unittest.cc", | 143 "hmac_unittest.cc", |
| 142 "nss_key_util_unittest.cc", | 144 "nss_key_util_unittest.cc", |
| 143 "nss_util_unittest.cc", | 145 "nss_util_unittest.cc", |
| 144 "openssl_bio_string_unittest.cc", | 146 "openssl_bio_string_unittest.cc", |
| 145 "p224_spake_unittest.cc", | 147 "p224_spake_unittest.cc", |
| 146 "p224_unittest.cc", | 148 "p224_unittest.cc", |
| 147 "random_unittest.cc", | 149 "random_unittest.cc", |
| 148 "rsa_private_key_unittest.cc", | 150 "rsa_private_key_unittest.cc", |
| 149 "secure_hash_unittest.cc", | 151 "secure_hash_unittest.cc", |
| 152 "sha1_unittest.cc", |
| 150 "sha2_unittest.cc", | 153 "sha2_unittest.cc", |
| 151 "signature_creator_unittest.cc", | 154 "signature_creator_unittest.cc", |
| 152 "signature_verifier_unittest.cc", | 155 "signature_verifier_unittest.cc", |
| 153 "symmetric_key_unittest.cc", | 156 "symmetric_key_unittest.cc", |
| 154 ] | 157 ] |
| 155 | 158 |
| 156 # Some files are built when NSS is used for the platform certificate library. | 159 # Some files are built when NSS is used for the platform certificate library. |
| 157 if (!use_nss_certs) { | 160 if (!use_nss_certs) { |
| 158 sources -= [ | 161 sources -= [ |
| 159 "nss_key_util_unittest.cc", | 162 "nss_key_util_unittest.cc", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 "//third_party/boringssl", | 226 "//third_party/boringssl", |
| 224 ] | 227 ] |
| 225 | 228 |
| 226 # Link in NSS if it is used for the platform certificate library | 229 # Link in NSS if it is used for the platform certificate library |
| 227 # (use_nss_certs). | 230 # (use_nss_certs). |
| 228 if (use_nss_certs) { | 231 if (use_nss_certs) { |
| 229 public_configs = [ ":platform_config" ] | 232 public_configs = [ ":platform_config" ] |
| 230 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 233 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
| 231 } | 234 } |
| 232 } | 235 } |
| OLD | NEW |