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

Side by Side Diff: crypto/BUILD.gn

Issue 1924093006: Removing crypto/third_party/nss/ and removing crypto _win files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused sources. Created 4 years, 7 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/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 = [
(...skipping 15 matching lines...) Expand all
26 "ec_signature_creator.cc", 26 "ec_signature_creator.cc",
27 "ec_signature_creator.h", 27 "ec_signature_creator.h",
28 "ec_signature_creator_impl.h", 28 "ec_signature_creator_impl.h",
29 "ec_signature_creator_openssl.cc", 29 "ec_signature_creator_openssl.cc",
30 "encryptor.cc", 30 "encryptor.cc",
31 "encryptor.h", 31 "encryptor.h",
32 "hkdf.cc", 32 "hkdf.cc",
33 "hkdf.h", 33 "hkdf.h",
34 "hmac.cc", 34 "hmac.cc",
35 "hmac.h", 35 "hmac.h",
36 "hmac_openssl.cc",
37 "mac_security_services_lock.cc", 36 "mac_security_services_lock.cc",
38 "mac_security_services_lock.h", 37 "mac_security_services_lock.h",
39 38
40 # TODO(brettw) these mocks should be moved to a test_support_crypto target 39 # TODO(brettw) these mocks should be moved to a test_support_crypto target
41 # if possible. 40 # if possible.
42 "mock_apple_keychain.cc", 41 "mock_apple_keychain.cc",
43 "mock_apple_keychain.h", 42 "mock_apple_keychain.h",
44 "mock_apple_keychain_ios.cc", 43 "mock_apple_keychain_ios.cc",
45 "mock_apple_keychain_mac.cc", 44 "mock_apple_keychain_mac.cc",
46 "nss_key_util.cc", 45 "nss_key_util.cc",
(...skipping 18 matching lines...) Expand all
65 "secure_hash.cc", 64 "secure_hash.cc",
66 "secure_hash.h", 65 "secure_hash.h",
67 "secure_util.cc", 66 "secure_util.cc",
68 "secure_util.h", 67 "secure_util.h",
69 "sha2.cc", 68 "sha2.cc",
70 "sha2.h", 69 "sha2.h",
71 "signature_creator.cc", 70 "signature_creator.cc",
72 "signature_creator.h", 71 "signature_creator.h",
73 "signature_verifier.cc", 72 "signature_verifier.cc",
74 "signature_verifier.h", 73 "signature_verifier.h",
74 "symmetric_key.cc",
75 "symmetric_key.h", 75 "symmetric_key.h",
76 "symmetric_key_openssl.cc",
77 "third_party/nss/chromium-sha256.h",
78 "third_party/nss/sha512.cc",
79 ] 76 ]
80 77
81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 79 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
83 80
84 deps = [ 81 deps = [
85 ":platform", 82 ":platform",
86 "//base", 83 "//base",
87 "//base/third_party/dynamic_annotations", 84 "//base/third_party/dynamic_annotations",
88 ] 85 ]
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 # and make it work. 131 # and make it work.
135 if (false && is_win) { 132 if (false && is_win) {
136 # A minimal crypto subset for hmac-related stuff that small standalone 133 # A minimal crypto subset for hmac-related stuff that small standalone
137 # targets can use to reduce code size on Windows. This does not depend on 134 # targets can use to reduce code size on Windows. This does not depend on
138 # OpenSSL/NSS but will use Windows APIs for that functionality. 135 # OpenSSL/NSS but will use Windows APIs for that functionality.
139 source_set("crypto_minimal_win") { 136 source_set("crypto_minimal_win") {
140 sources = [ 137 sources = [
141 "crypto_export.h", 138 "crypto_export.h",
142 "hmac.cc", 139 "hmac.cc",
143 "hmac.h", 140 "hmac.h",
144 "hmac_win.cc", 141 "openssl_util.cc",
145 "scoped_capi_types.h", 142 "openssl_util.h",
146 "scoped_nss_types.h",
147 "secure_util.cc", 143 "secure_util.cc",
148 "secure_util.h", 144 "secure_util.h",
145 "symmetric_key.cc",
149 "symmetric_key.h", 146 "symmetric_key.h",
150 "symmetric_key_win.cc",
151 "third_party/nss/chromium-blapi.h",
152 "third_party/nss/chromium-sha256.h",
153 "third_party/nss/sha512.cc",
154 ] 147 ]
155 148
156 deps = [ 149 deps = [
157 "//base", 150 "//base",
158 "//base/third_party/dynamic_annotations", 151 "//base/third_party/dynamic_annotations",
159 ] 152 ]
160 153
161 defines = [ "CRYPTO_IMPLEMENTATION" ] 154 defines = [ "CRYPTO_IMPLEMENTATION" ]
162 } 155 }
163 } 156 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 "//third_party/boringssl", 248 "//third_party/boringssl",
256 ] 249 ]
257 250
258 # Link in NSS if it is used for the platform certificate library 251 # Link in NSS if it is used for the platform certificate library
259 # (use_nss_certs). 252 # (use_nss_certs).
260 if (use_nss_certs) { 253 if (use_nss_certs) {
261 public_configs = [ ":platform_config" ] 254 public_configs = [ ":platform_config" ]
262 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] 255 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ]
263 } 256 }
264 } 257 }
OLDNEW
« no previous file with comments | « no previous file | crypto/crypto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698