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

Side by Side Diff: crypto/BUILD.gn

Issue 1459783002: Roll src/third_party/boringssl/src d7421ebf6..3ac32b1ed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build, estark comments Created 5 years, 1 month 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 | « components/certificate_reporting/error_reporter.cc ('k') | crypto/crypto.gyp » ('j') | no next file with comments »
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 "capi_util.cc", 16 "capi_util.cc",
17 "capi_util.h", 17 "capi_util.h",
18 "crypto_export.h", 18 "crypto_export.h",
19 "cssm_init.cc", 19 "cssm_init.cc",
20 "cssm_init.h", 20 "cssm_init.h",
21 "curve25519-donna.c", 21 "curve25519-donna.c",
22 "curve25519.cc",
23 "curve25519.h", 22 "curve25519.h",
23 "curve25519_nss.cc",
24 "curve25519_openssl.cc",
24 "ec_private_key.h", 25 "ec_private_key.h",
25 "ec_private_key_nss.cc", 26 "ec_private_key_nss.cc",
26 "ec_private_key_openssl.cc", 27 "ec_private_key_openssl.cc",
27 "ec_signature_creator.cc", 28 "ec_signature_creator.cc",
28 "ec_signature_creator.h", 29 "ec_signature_creator.h",
29 "ec_signature_creator_impl.h", 30 "ec_signature_creator_impl.h",
30 "ec_signature_creator_nss.cc", 31 "ec_signature_creator_nss.cc",
31 "ec_signature_creator_openssl.cc", 32 "ec_signature_creator_openssl.cc",
32 "encryptor.cc", 33 "encryptor.cc",
33 "encryptor.h", 34 "encryptor.h",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ] 130 ]
130 } 131 }
131 132
132 if (is_android) { 133 if (is_android) {
133 deps += [ "//third_party/android_tools:cpu_features" ] 134 deps += [ "//third_party/android_tools:cpu_features" ]
134 } 135 }
135 136
136 if (use_openssl) { 137 if (use_openssl) {
137 # Remove NSS files when using OpenSSL 138 # Remove NSS files when using OpenSSL
138 sources -= [ 139 sources -= [
140 "curve25519-donna.c",
141 "curve25519_nss.cc",
139 "ec_private_key_nss.cc", 142 "ec_private_key_nss.cc",
140 "ec_signature_creator_nss.cc", 143 "ec_signature_creator_nss.cc",
141 "encryptor_nss.cc", 144 "encryptor_nss.cc",
142 "hmac_nss.cc", 145 "hmac_nss.cc",
143 "rsa_private_key_nss.cc", 146 "rsa_private_key_nss.cc",
144 "secure_hash_default.cc", 147 "secure_hash_default.cc",
145 "signature_creator_nss.cc", 148 "signature_creator_nss.cc",
146 "signature_verifier_nss.cc", 149 "signature_verifier_nss.cc",
147 "symmetric_key_nss.cc", 150 "symmetric_key_nss.cc",
148 "third_party/nss/chromium-blapi.h", 151 "third_party/nss/chromium-blapi.h",
149 "third_party/nss/chromium-blapit.h", 152 "third_party/nss/chromium-blapit.h",
150 "third_party/nss/chromium-nss.h", 153 "third_party/nss/chromium-nss.h",
151 "third_party/nss/pk11akey.cc", 154 "third_party/nss/pk11akey.cc",
152 "third_party/nss/rsawrapr.c", 155 "third_party/nss/rsawrapr.c",
153 "third_party/nss/secsign.cc", 156 "third_party/nss/secsign.cc",
154 ] 157 ]
155 } else { 158 } else {
156 # Remove OpenSSL when using NSS. 159 # Remove OpenSSL when using NSS.
157 sources -= [ 160 sources -= [
158 "aead_openssl.cc", 161 "aead_openssl.cc",
159 "aead_openssl.h", 162 "aead_openssl.h",
163 "curve25519_openssl.cc",
160 "ec_private_key_openssl.cc", 164 "ec_private_key_openssl.cc",
161 "ec_signature_creator_openssl.cc", 165 "ec_signature_creator_openssl.cc",
162 "encryptor_openssl.cc", 166 "encryptor_openssl.cc",
163 "hmac_openssl.cc", 167 "hmac_openssl.cc",
164 "openssl_bio_string.cc", 168 "openssl_bio_string.cc",
165 "openssl_bio_string.h", 169 "openssl_bio_string.h",
166 "openssl_util.cc", 170 "openssl_util.cc",
167 "openssl_util.h", 171 "openssl_util.h",
168 "rsa_private_key_openssl.cc", 172 "rsa_private_key_openssl.cc",
169 "secure_hash_openssl.cc", 173 "secure_hash_openssl.cc",
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] 362 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ]
359 } else { 363 } else {
360 # Non-Linux platforms use the hermetic NSS from the tree. 364 # Non-Linux platforms use the hermetic NSS from the tree.
361 public_deps += [ 365 public_deps += [
362 "//third_party/nss:nspr", 366 "//third_party/nss:nspr",
363 "//third_party/nss:nss", 367 "//third_party/nss:nss",
364 ] 368 ]
365 } 369 }
366 } 370 }
367 } 371 }
OLDNEW
« no previous file with comments | « components/certificate_reporting/error_reporter.cc ('k') | crypto/crypto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698