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

Side by Side Diff: crypto/BUILD.gn

Issue 264463002: GN build improvements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « components/translate/BUILD.gn ('k') | net/BUILD.gn » ('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 6
7 component("crypto") { 7 component("crypto") {
8 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto. 8 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto.
9 sources = [ 9 sources = [
10 "apple_keychain.h", 10 "apple_keychain.h",
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 "random_unittest.cc", 205 "random_unittest.cc",
206 "rsa_private_key_unittest.cc", 206 "rsa_private_key_unittest.cc",
207 "rsa_private_key_nss_unittest.cc", 207 "rsa_private_key_nss_unittest.cc",
208 "secure_hash_unittest.cc", 208 "secure_hash_unittest.cc",
209 "sha2_unittest.cc", 209 "sha2_unittest.cc",
210 "signature_creator_unittest.cc", 210 "signature_creator_unittest.cc",
211 "signature_verifier_unittest.cc", 211 "signature_verifier_unittest.cc",
212 "symmetric_key_unittest.cc", 212 "symmetric_key_unittest.cc",
213 ] 213 ]
214 214
215 if (use_openssl) {
216 sources -= [
217 "nss_util_unittest.cc",
218 ]
219 }
220
221 if (use_openssl || !is_linux) { 215 if (use_openssl || !is_linux) {
222 sources -= [ 216 sources -= [
223 "rsa_private_key_nss_unittest.cc", 217 "rsa_private_key_nss_unittest.cc",
224 ] 218 ]
225 } 219 }
226 220
227 if (use_openssl) { 221 if (use_openssl) {
228 sources -= [ "nss_util_unittest.cc" ] 222 sources -= [ "nss_util_unittest.cc" ]
229 } 223 }
230 224
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 ] 257 ]
264 } else { 258 } else {
265 # Non-Linux platforms use the hermetic NSS from the tree. 259 # Non-Linux platforms use the hermetic NSS from the tree.
266 deps += [ 260 deps += [
267 "//third_party/nss:nspr", 261 "//third_party/nss:nspr",
268 "//third_party/nss:nss", 262 "//third_party/nss:nss",
269 ] 263 ]
270 } 264 }
271 } 265 }
272 } 266 }
OLDNEW
« no previous file with comments | « components/translate/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698