| 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 = [ |
| 11 "aead.cc", | 11 "aead.cc", |
| 12 "aead.h", | 12 "aead.h", |
| 13 "apple_keychain.h", | 13 "apple_keychain.h", |
| 14 "apple_keychain_ios.mm", | 14 "apple_keychain_ios.mm", |
| 15 "apple_keychain_mac.mm", | 15 "apple_keychain_mac.mm", |
| 16 "auto_cbb.h", | 16 "auto_cbb.h", |
| 17 "capi_util.cc", | 17 "capi_util.cc", |
| 18 "capi_util.h", | 18 "capi_util.h", |
| 19 "crypto_export.h", | 19 "crypto_export.h", |
| 20 "cssm_init.cc", | 20 "cssm_init.cc", |
| 21 "cssm_init.h", | 21 "cssm_init.h", |
| 22 "curve25519.cc", | 22 "curve25519.cc", |
| 23 "curve25519.h", | 23 "curve25519.h", |
| 24 "ec_private_key.cc", | 24 "ec_private_key.cc", |
| 25 "ec_private_key.h", | 25 "ec_private_key.h", |
| 26 "ec_signature_creator.cc", | 26 "ec_signature_creator.cc", |
| 27 "ec_signature_creator.h", | 27 "ec_signature_creator.h", |
| 28 "ec_signature_creator_impl.cc", |
| 28 "ec_signature_creator_impl.h", | 29 "ec_signature_creator_impl.h", |
| 29 "ec_signature_creator_openssl.cc", | |
| 30 "encryptor.cc", | 30 "encryptor.cc", |
| 31 "encryptor.h", | 31 "encryptor.h", |
| 32 "hkdf.cc", | 32 "hkdf.cc", |
| 33 "hkdf.h", | 33 "hkdf.h", |
| 34 "hmac.cc", | 34 "hmac.cc", |
| 35 "hmac.h", | 35 "hmac.h", |
| 36 "hmac_openssl.cc", | 36 "hmac_openssl.cc", |
| 37 "mac_security_services_lock.cc", | 37 "mac_security_services_lock.cc", |
| 38 "mac_security_services_lock.h", | 38 "mac_security_services_lock.h", |
| 39 | 39 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 "//third_party/boringssl", | 255 "//third_party/boringssl", |
| 256 ] | 256 ] |
| 257 | 257 |
| 258 # Link in NSS if it is used for the platform certificate library | 258 # Link in NSS if it is used for the platform certificate library |
| 259 # (use_nss_certs). | 259 # (use_nss_certs). |
| 260 if (use_nss_certs) { | 260 if (use_nss_certs) { |
| 261 public_configs = [ ":platform_config" ] | 261 public_configs = [ ":platform_config" ] |
| 262 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 262 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
| 263 } | 263 } |
| 264 } | 264 } |
| OLD | NEW |