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

Side by Side Diff: crypto/BUILD.gn

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 10 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
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 "apple_keychain.h", 11 "apple_keychain.h",
12 "apple_keychain_ios.mm", 12 "apple_keychain_ios.mm",
13 "apple_keychain_mac.mm", 13 "apple_keychain_mac.mm",
14 "capi_util.cc", 14 "capi_util.cc",
15 "capi_util.h", 15 "capi_util.h",
16 "crypto_export.h", 16 "crypto_export.h",
17 "cssm_init.cc", 17 "cssm_init.cc",
18 "cssm_init.h", 18 "cssm_init.h",
19 "curve25519-donna.c",
19 "curve25519.cc", 20 "curve25519.cc",
20 "curve25519-donna.c",
21 "curve25519.h", 21 "curve25519.h",
22 "ec_private_key.h", 22 "ec_private_key.h",
23 "ec_private_key_nss.cc", 23 "ec_private_key_nss.cc",
24 "ec_private_key_openssl.cc", 24 "ec_private_key_openssl.cc",
25 "ec_signature_creator.cc", 25 "ec_signature_creator.cc",
26 "ec_signature_creator.h", 26 "ec_signature_creator.h",
27 "ec_signature_creator_impl.h", 27 "ec_signature_creator_impl.h",
28 "ec_signature_creator_nss.cc", 28 "ec_signature_creator_nss.cc",
29 "ec_signature_creator_openssl.cc", 29 "ec_signature_creator_openssl.cc",
30 "encryptor.cc", 30 "encryptor.cc",
(...skipping 29 matching lines...) Expand all
60 "p224_spake.cc", 60 "p224_spake.cc",
61 "p224_spake.h", 61 "p224_spake.h",
62 "random.cc", 62 "random.cc",
63 "random.h", 63 "random.h",
64 "rsa_private_key.cc", 64 "rsa_private_key.cc",
65 "rsa_private_key.h", 65 "rsa_private_key.h",
66 "rsa_private_key_nss.cc", 66 "rsa_private_key_nss.cc",
67 "rsa_private_key_openssl.cc", 67 "rsa_private_key_openssl.cc",
68 "scoped_capi_types.h", 68 "scoped_capi_types.h",
69 "scoped_nss_types.h", 69 "scoped_nss_types.h",
70 "secure_hash.h",
70 "secure_hash_default.cc", 71 "secure_hash_default.cc",
71 "secure_hash.h",
72 "secure_hash_openssl.cc", 72 "secure_hash_openssl.cc",
73 "secure_util.cc", 73 "secure_util.cc",
74 "secure_util.h", 74 "secure_util.h",
75 "sha2.cc", 75 "sha2.cc",
76 "sha2.h", 76 "sha2.h",
77 "signature_creator.h", 77 "signature_creator.h",
78 "signature_creator_nss.cc", 78 "signature_creator_nss.cc",
79 "signature_creator_openssl.cc", 79 "signature_creator_openssl.cc",
80 "signature_verifier.h", 80 "signature_verifier.h",
81 "signature_verifier_nss.cc", 81 "signature_verifier_nss.cc",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 # Tests. 212 # Tests.
213 "curve25519_unittest.cc", 213 "curve25519_unittest.cc",
214 "ec_private_key_unittest.cc", 214 "ec_private_key_unittest.cc",
215 "ec_signature_creator_unittest.cc", 215 "ec_signature_creator_unittest.cc",
216 "encryptor_unittest.cc", 216 "encryptor_unittest.cc",
217 "ghash_unittest.cc", 217 "ghash_unittest.cc",
218 "hkdf_unittest.cc", 218 "hkdf_unittest.cc",
219 "hmac_unittest.cc", 219 "hmac_unittest.cc",
220 "nss_util_unittest.cc", 220 "nss_util_unittest.cc",
221 "openssl_bio_string_unittest.cc", 221 "openssl_bio_string_unittest.cc",
222 "p224_spake_unittest.cc",
222 "p224_unittest.cc", 223 "p224_unittest.cc",
223 "p224_spake_unittest.cc",
224 "random_unittest.cc", 224 "random_unittest.cc",
225 "rsa_private_key_nss_unittest.cc",
225 "rsa_private_key_unittest.cc", 226 "rsa_private_key_unittest.cc",
226 "rsa_private_key_nss_unittest.cc",
227 "secure_hash_unittest.cc", 227 "secure_hash_unittest.cc",
228 "sha2_unittest.cc", 228 "sha2_unittest.cc",
229 "signature_creator_unittest.cc", 229 "signature_creator_unittest.cc",
230 "signature_verifier_unittest.cc", 230 "signature_verifier_unittest.cc",
231 "symmetric_key_unittest.cc", 231 "symmetric_key_unittest.cc",
232 ] 232 ]
233 233
234 if (use_openssl || !is_linux) { 234 if (use_openssl || !is_linux) {
235 sources -= [ "rsa_private_key_nss_unittest.cc" ] 235 sources -= [ "rsa_private_key_nss_unittest.cc" ]
236 } 236 }
(...skipping 12 matching lines...) Expand all
249 "//base/test:run_all_unittests", 249 "//base/test:run_all_unittests",
250 "//base/test:test_support", 250 "//base/test:test_support",
251 "//testing/gmock", 251 "//testing/gmock",
252 "//testing/gtest", 252 "//testing/gtest",
253 ] 253 ]
254 } 254 }
255 } 255 }
256 256
257 source_set("test_support") { 257 source_set("test_support") {
258 sources = [ 258 sources = [
259 "scoped_test_nss_chromeos_user.cc",
260 "scoped_test_nss_chromeos_user.h",
259 "scoped_test_nss_db.cc", 261 "scoped_test_nss_db.cc",
260 "scoped_test_nss_db.h", 262 "scoped_test_nss_db.h",
261 "scoped_test_nss_chromeos_user.cc",
262 "scoped_test_nss_chromeos_user.h",
263 "scoped_test_system_nss_key_slot.cc", 263 "scoped_test_system_nss_key_slot.cc",
264 "scoped_test_system_nss_key_slot.h", 264 "scoped_test_system_nss_key_slot.h",
265 ] 265 ]
266 deps = [ 266 deps = [
267 ":crypto", 267 ":crypto",
268 ":platform", 268 ":platform",
269 "//base", 269 "//base",
270 ] 270 ]
271 271
272 if (!use_nss_certs) { 272 if (!use_nss_certs) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ] 323 ]
324 } else { 324 } else {
325 # Non-Linux platforms use the hermetic NSS from the tree. 325 # Non-Linux platforms use the hermetic NSS from the tree.
326 deps += [ 326 deps += [
327 "//third_party/nss:nspr", 327 "//third_party/nss:nspr",
328 "//third_party/nss:nss", 328 "//third_party/nss:nss",
329 ] 329 ]
330 } 330 }
331 } 331 }
332 } 332 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698