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", | |
17 "capi_util.cc", | 16 "capi_util.cc", |
18 "capi_util.h", | 17 "capi_util.h", |
19 "crypto_export.h", | 18 "crypto_export.h", |
20 "cssm_init.cc", | 19 "cssm_init.cc", |
21 "cssm_init.h", | 20 "cssm_init.h", |
22 "curve25519.cc", | 21 "curve25519.cc", |
23 "curve25519.h", | 22 "curve25519.h", |
24 "ec_private_key.cc", | 23 "ec_private_key.cc", |
25 "ec_private_key.h", | 24 "ec_private_key.h", |
26 "ec_signature_creator.cc", | 25 "ec_signature_creator.cc", |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 "//third_party/boringssl", | 219 "//third_party/boringssl", |
221 ] | 220 ] |
222 | 221 |
223 # Link in NSS if it is used for the platform certificate library | 222 # Link in NSS if it is used for the platform certificate library |
224 # (use_nss_certs). | 223 # (use_nss_certs). |
225 if (use_nss_certs) { | 224 if (use_nss_certs) { |
226 public_configs = [ ":platform_config" ] | 225 public_configs = [ ":platform_config" ] |
227 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 226 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
228 } | 227 } |
229 } | 228 } |
OLD | NEW |