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

Side by Side Diff: crypto/BUILD.gn

Issue 2457153003: Remove crypto/curve25519.h in favor of BoringSSL's. (Closed)
Patch Set: \ Created 4 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
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.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 "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.cc",
22 "curve25519.h",
23 "ec_private_key.cc", 21 "ec_private_key.cc",
24 "ec_private_key.h", 22 "ec_private_key.h",
25 "ec_signature_creator.cc", 23 "ec_signature_creator.cc",
26 "ec_signature_creator.h", 24 "ec_signature_creator.h",
27 "ec_signature_creator_impl.cc", 25 "ec_signature_creator_impl.cc",
28 "ec_signature_creator_impl.h", 26 "ec_signature_creator_impl.h",
29 "encryptor.cc", 27 "encryptor.cc",
30 "encryptor.h", 28 "encryptor.h",
31 "hkdf.cc", 29 "hkdf.cc",
32 "hkdf.h", 30 "hkdf.h",
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 defines = [ "CRYPTO_IMPLEMENTATION" ] 125 defines = [ "CRYPTO_IMPLEMENTATION" ]
128 126
129 if (is_nacl) { 127 if (is_nacl) {
130 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] 128 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
131 } 129 }
132 } 130 }
133 131
134 test("crypto_unittests") { 132 test("crypto_unittests") {
135 sources = [ 133 sources = [
136 "aead_unittest.cc", 134 "aead_unittest.cc",
137 "curve25519_unittest.cc",
138 "ec_private_key_unittest.cc", 135 "ec_private_key_unittest.cc",
139 "ec_signature_creator_unittest.cc", 136 "ec_signature_creator_unittest.cc",
140 "encryptor_unittest.cc", 137 "encryptor_unittest.cc",
141 "hkdf_unittest.cc", 138 "hkdf_unittest.cc",
142 "hmac_unittest.cc", 139 "hmac_unittest.cc",
143 "nss_key_util_unittest.cc", 140 "nss_key_util_unittest.cc",
144 "nss_util_unittest.cc", 141 "nss_util_unittest.cc",
145 "p224_spake_unittest.cc", 142 "p224_spake_unittest.cc",
146 "p224_unittest.cc", 143 "p224_unittest.cc",
147 "random_unittest.cc", 144 "random_unittest.cc",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 "//third_party/boringssl", 216 "//third_party/boringssl",
220 ] 217 ]
221 218
222 # Link in NSS if it is used for the platform certificate library 219 # Link in NSS if it is used for the platform certificate library
223 # (use_nss_certs). 220 # (use_nss_certs).
224 if (use_nss_certs) { 221 if (use_nss_certs) {
225 public_configs = [ ":platform_config" ] 222 public_configs = [ ":platform_config" ]
226 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] 223 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ]
227 } 224 }
228 } 225 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698