Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: crypto/BUILD.gn

Issue 1739403002: Cut down on usage of deprecated APIs in //crypto. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | crypto/auto_cbb.h » ('j') | crypto/auto_cbb.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_openssl.cc", 11 "aead_openssl.cc",
12 "aead_openssl.h", 12 "aead_openssl.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 "capi_util.cc", 17 "capi_util.cc",
17 "capi_util.h", 18 "capi_util.h",
18 "crypto_export.h", 19 "crypto_export.h",
19 "cssm_init.cc", 20 "cssm_init.cc",
20 "cssm_init.h", 21 "cssm_init.h",
21 "curve25519-donna.c", 22 "curve25519-donna.c",
22 "curve25519.h", 23 "curve25519.h",
23 "curve25519_nss.cc", 24 "curve25519_nss.cc",
24 "curve25519_openssl.cc", 25 "curve25519_openssl.cc",
25 "ec_private_key.h", 26 "ec_private_key.h",
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 "third_party/nss/chromium-nss.h", 152 "third_party/nss/chromium-nss.h",
152 "third_party/nss/pk11akey.cc", 153 "third_party/nss/pk11akey.cc",
153 "third_party/nss/rsawrapr.c", 154 "third_party/nss/rsawrapr.c",
154 "third_party/nss/secsign.cc", 155 "third_party/nss/secsign.cc",
155 ] 156 ]
156 } else { 157 } else {
157 # Remove OpenSSL when using NSS. 158 # Remove OpenSSL when using NSS.
158 sources -= [ 159 sources -= [
159 "aead_openssl.cc", 160 "aead_openssl.cc",
160 "aead_openssl.h", 161 "aead_openssl.h",
162 "auto_cbb.h",
161 "curve25519_openssl.cc", 163 "curve25519_openssl.cc",
162 "ec_private_key_openssl.cc", 164 "ec_private_key_openssl.cc",
163 "ec_signature_creator_openssl.cc", 165 "ec_signature_creator_openssl.cc",
164 "encryptor_openssl.cc", 166 "encryptor_openssl.cc",
165 "hmac_openssl.cc", 167 "hmac_openssl.cc",
166 "openssl_bio_string.cc", 168 "openssl_bio_string.cc",
167 "openssl_bio_string.h", 169 "openssl_bio_string.h",
168 "openssl_util.cc", 170 "openssl_util.cc",
169 "openssl_util.h", 171 "openssl_util.h",
170 "rsa_private_key_openssl.cc", 172 "rsa_private_key_openssl.cc",
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] 352 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ]
351 } else { 353 } else {
352 # Non-Linux platforms use the hermetic NSS from the tree. 354 # Non-Linux platforms use the hermetic NSS from the tree.
353 public_deps += [ 355 public_deps += [
354 "//third_party/nss:nspr", 356 "//third_party/nss:nspr",
355 "//third_party/nss:nss", 357 "//third_party/nss:nss",
356 ] 358 ]
357 } 359 }
358 } 360 }
359 } 361 }
OLDNEW
« no previous file with comments | « no previous file | crypto/auto_cbb.h » ('j') | crypto/auto_cbb.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698