| 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 21 matching lines...) Expand all Loading... |
| 32 "hmac.h", | 32 "hmac.h", |
| 33 "mac_security_services_lock.cc", | 33 "mac_security_services_lock.cc", |
| 34 "mac_security_services_lock.h", | 34 "mac_security_services_lock.h", |
| 35 | 35 |
| 36 # TODO(brettw) these mocks should be moved to a test_support_crypto target | 36 # TODO(brettw) these mocks should be moved to a test_support_crypto target |
| 37 # if possible. | 37 # if possible. |
| 38 "mock_apple_keychain.cc", | 38 "mock_apple_keychain.cc", |
| 39 "mock_apple_keychain.h", | 39 "mock_apple_keychain.h", |
| 40 "mock_apple_keychain_ios.cc", | 40 "mock_apple_keychain_ios.cc", |
| 41 "mock_apple_keychain_mac.cc", | 41 "mock_apple_keychain_mac.cc", |
| 42 "nss_crypto_module_delegate.h", |
| 42 "nss_key_util.cc", | 43 "nss_key_util.cc", |
| 43 "nss_key_util.h", | 44 "nss_key_util.h", |
| 44 "nss_util.cc", | 45 "nss_util.cc", |
| 45 "nss_util.h", | 46 "nss_util.h", |
| 46 "nss_util_internal.h", | 47 "nss_util_internal.h", |
| 47 "openssl_util.cc", | 48 "openssl_util.cc", |
| 48 "openssl_util.h", | 49 "openssl_util.h", |
| 49 "p224.cc", | 50 "p224.cc", |
| 50 "p224.h", | 51 "p224.h", |
| 51 "p224_spake.cc", | 52 "p224_spake.cc", |
| 52 "p224_spake.h", | 53 "p224_spake.h", |
| 53 "random.cc", | 54 "random.cc", |
| 54 "random.h", | 55 "random.h", |
| 55 "rsa_private_key.cc", | 56 "rsa_private_key.cc", |
| 56 "rsa_private_key.h", | 57 "rsa_private_key.h", |
| 57 "scoped_capi_types.h", | 58 "scoped_capi_types.h", |
| 58 "scoped_nss_types.h", | 59 "scoped_nss_types.h", |
| 59 "secure_hash.cc", | 60 "secure_hash.cc", |
| 60 "secure_hash.h", | 61 "secure_hash.h", |
| 61 "secure_util.cc", | 62 "secure_util.cc", |
| 62 "secure_util.h", | 63 "secure_util.h", |
| 63 "sha2.cc", | 64 "sha2.cc", |
| 64 "sha2.h", | 65 "sha2.h", |
| 65 "signature_creator.cc", | 66 "signature_creator.cc", |
| 66 "signature_creator.h", | 67 "signature_creator.h", |
| 67 "signature_verifier.cc", | 68 "signature_verifier.cc", |
| 68 "signature_verifier.h", | 69 "signature_verifier.h", |
| 69 "symmetric_key.cc", | 70 "symmetric_key.cc", |
| 70 "symmetric_key.h", | 71 "symmetric_key.h", |
| 72 "wincrypt_shim.h", |
| 71 ] | 73 ] |
| 72 | 74 |
| 73 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 75 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 74 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 76 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 75 | 77 |
| 76 deps = [ | 78 deps = [ |
| 77 ":platform", | 79 ":platform", |
| 78 "//base", | 80 "//base", |
| 79 "//base/third_party/dynamic_annotations", | 81 "//base/third_party/dynamic_annotations", |
| 80 ] | 82 ] |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 "//third_party/boringssl", | 218 "//third_party/boringssl", |
| 217 ] | 219 ] |
| 218 | 220 |
| 219 # Link in NSS if it is used for the platform certificate library | 221 # Link in NSS if it is used for the platform certificate library |
| 220 # (use_nss_certs). | 222 # (use_nss_certs). |
| 221 if (use_nss_certs) { | 223 if (use_nss_certs) { |
| 222 public_configs = [ ":platform_config" ] | 224 public_configs = [ ":platform_config" ] |
| 223 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 225 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
| 224 } | 226 } |
| 225 } | 227 } |
| OLD | NEW |