| 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 29 matching lines...) Expand all Loading... |
| 40 # if possible. | 40 # if possible. |
| 41 "mock_apple_keychain.cc", | 41 "mock_apple_keychain.cc", |
| 42 "mock_apple_keychain.h", | 42 "mock_apple_keychain.h", |
| 43 "mock_apple_keychain_ios.cc", | 43 "mock_apple_keychain_ios.cc", |
| 44 "mock_apple_keychain_mac.cc", | 44 "mock_apple_keychain_mac.cc", |
| 45 "nss_key_util.cc", | 45 "nss_key_util.cc", |
| 46 "nss_key_util.h", | 46 "nss_key_util.h", |
| 47 "nss_util.cc", | 47 "nss_util.cc", |
| 48 "nss_util.h", | 48 "nss_util.h", |
| 49 "nss_util_internal.h", | 49 "nss_util_internal.h", |
| 50 "openssl_bio_string.cc", | |
| 51 "openssl_bio_string.h", | |
| 52 "openssl_util.cc", | 50 "openssl_util.cc", |
| 53 "openssl_util.h", | 51 "openssl_util.h", |
| 54 "p224.cc", | 52 "p224.cc", |
| 55 "p224.h", | 53 "p224.h", |
| 56 "p224_spake.cc", | 54 "p224_spake.cc", |
| 57 "p224_spake.h", | 55 "p224_spake.h", |
| 58 "random.cc", | 56 "random.cc", |
| 59 "random.h", | 57 "random.h", |
| 60 "rsa_private_key.cc", | 58 "rsa_private_key.cc", |
| 61 "rsa_private_key.h", | 59 "rsa_private_key.h", |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 sources = [ | 136 sources = [ |
| 139 "aead_unittest.cc", | 137 "aead_unittest.cc", |
| 140 "curve25519_unittest.cc", | 138 "curve25519_unittest.cc", |
| 141 "ec_private_key_unittest.cc", | 139 "ec_private_key_unittest.cc", |
| 142 "ec_signature_creator_unittest.cc", | 140 "ec_signature_creator_unittest.cc", |
| 143 "encryptor_unittest.cc", | 141 "encryptor_unittest.cc", |
| 144 "hkdf_unittest.cc", | 142 "hkdf_unittest.cc", |
| 145 "hmac_unittest.cc", | 143 "hmac_unittest.cc", |
| 146 "nss_key_util_unittest.cc", | 144 "nss_key_util_unittest.cc", |
| 147 "nss_util_unittest.cc", | 145 "nss_util_unittest.cc", |
| 148 "openssl_bio_string_unittest.cc", | |
| 149 "p224_spake_unittest.cc", | 146 "p224_spake_unittest.cc", |
| 150 "p224_unittest.cc", | 147 "p224_unittest.cc", |
| 151 "random_unittest.cc", | 148 "random_unittest.cc", |
| 152 "rsa_private_key_unittest.cc", | 149 "rsa_private_key_unittest.cc", |
| 153 "secure_hash_unittest.cc", | 150 "secure_hash_unittest.cc", |
| 154 "sha2_unittest.cc", | 151 "sha2_unittest.cc", |
| 155 "signature_creator_unittest.cc", | 152 "signature_creator_unittest.cc", |
| 156 "signature_verifier_unittest.cc", | 153 "signature_verifier_unittest.cc", |
| 157 "symmetric_key_unittest.cc", | 154 "symmetric_key_unittest.cc", |
| 158 ] | 155 ] |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 "//third_party/boringssl", | 220 "//third_party/boringssl", |
| 224 ] | 221 ] |
| 225 | 222 |
| 226 # Link in NSS if it is used for the platform certificate library | 223 # Link in NSS if it is used for the platform certificate library |
| 227 # (use_nss_certs). | 224 # (use_nss_certs). |
| 228 if (use_nss_certs) { | 225 if (use_nss_certs) { |
| 229 public_configs = [ ":platform_config" ] | 226 public_configs = [ ":platform_config" ] |
| 230 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 227 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
| 231 } | 228 } |
| 232 } | 229 } |
| OLD | NEW |