OLD | NEW |
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("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//url/config.gni") | 8 import("//url/config.gni") |
9 | 9 |
10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. | 10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 "cert/cert_verify_proc_nss.cc", | 247 "cert/cert_verify_proc_nss.cc", |
248 "cert/cert_verify_proc_nss.h", | 248 "cert/cert_verify_proc_nss.h", |
249 "cert/test_root_certs_nss.cc", | 249 "cert/test_root_certs_nss.cc", |
250 "ocsp/nss_ocsp.cc", | 250 "ocsp/nss_ocsp.cc", |
251 "ocsp/nss_ocsp.h", | 251 "ocsp/nss_ocsp.h", |
252 ] | 252 ] |
253 } | 253 } |
254 } else { | 254 } else { |
255 sources -= [ | 255 sources -= [ |
256 "base/crypto_module_openssl.cc", | 256 "base/crypto_module_openssl.cc", |
257 "base/keygen_handler_openssl.cc", | |
258 "cert/ct_log_verifier_openssl.cc", | 257 "cert/ct_log_verifier_openssl.cc", |
259 "cert/ct_objects_extractor_openssl.cc", | 258 "cert/ct_objects_extractor_openssl.cc", |
260 "cert/jwk_serializer_openssl.cc", | 259 "cert/jwk_serializer_openssl.cc", |
261 "cert/x509_util_openssl.cc", | 260 "cert/x509_util_openssl.cc", |
262 "cert/x509_util_openssl.h", | 261 "cert/x509_util_openssl.h", |
263 "quic/crypto/aead_base_decrypter_openssl.cc", | 262 "quic/crypto/aead_base_decrypter_openssl.cc", |
264 "quic/crypto/aead_base_encrypter_openssl.cc", | 263 "quic/crypto/aead_base_encrypter_openssl.cc", |
265 "quic/crypto/aes_128_gcm_12_decrypter_openssl.cc", | 264 "quic/crypto/aes_128_gcm_12_decrypter_openssl.cc", |
266 "quic/crypto/aes_128_gcm_12_encrypter_openssl.cc", | 265 "quic/crypto/aes_128_gcm_12_encrypter_openssl.cc", |
267 "quic/crypto/chacha20_poly1305_decrypter_openssl.cc", | 266 "quic/crypto/chacha20_poly1305_decrypter_openssl.cc", |
(...skipping 19 matching lines...) Expand all Loading... |
287 } | 286 } |
288 if (is_win) { | 287 if (is_win) { |
289 sources -= [ | 288 sources -= [ |
290 "ssl/openssl_platform_key_win.cc", | 289 "ssl/openssl_platform_key_win.cc", |
291 ] | 290 ] |
292 } | 291 } |
293 } | 292 } |
294 | 293 |
295 if (!use_openssl_certs) { | 294 if (!use_openssl_certs) { |
296 sources -= [ | 295 sources -= [ |
| 296 "base/keygen_handler_openssl.cc", |
297 "base/openssl_private_key_store.h", | 297 "base/openssl_private_key_store.h", |
298 "base/openssl_private_key_store_memory.cc", | 298 "base/openssl_private_key_store_memory.cc", |
299 "cert/cert_database_openssl.cc", | 299 "cert/cert_database_openssl.cc", |
300 "cert/cert_verify_proc_openssl.cc", | 300 "cert/cert_verify_proc_openssl.cc", |
301 "cert/cert_verify_proc_openssl.h", | 301 "cert/cert_verify_proc_openssl.h", |
302 "cert/test_root_certs_openssl.cc", | 302 "cert/test_root_certs_openssl.cc", |
303 "cert/x509_certificate_openssl.cc", | 303 "cert/x509_certificate_openssl.cc", |
304 "ssl/openssl_client_key_store.cc", | 304 "ssl/openssl_client_key_store.cc", |
305 "ssl/openssl_client_key_store.h", | 305 "ssl/openssl_client_key_store.h", |
306 ] | 306 ] |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 "base/winsock_init.cc", | 469 "base/winsock_init.cc", |
470 "base/winsock_init.h", | 470 "base/winsock_init.h", |
471 "base/winsock_util.cc", | 471 "base/winsock_util.cc", |
472 "base/winsock_util.h", | 472 "base/winsock_util.h", |
473 "proxy/proxy_resolver_winhttp.cc", | 473 "proxy/proxy_resolver_winhttp.cc", |
474 "proxy/proxy_resolver_winhttp.h", | 474 "proxy/proxy_resolver_winhttp.h", |
475 ] | 475 ] |
476 } | 476 } |
477 | 477 |
478 if (is_mac) { | 478 if (is_mac) { |
479 deps += [ | 479 if (!use_openssl) { |
480 "//third_party/nss:nspr", | 480 deps += [ |
481 "//third_party/nss", | 481 "//third_party/nss:nspr", |
482 ] | 482 "//third_party/nss", |
| 483 ] |
| 484 } |
483 libs = [ | 485 libs = [ |
484 "Foundation.framework", | 486 "Foundation.framework", |
485 "Security.framework", | 487 "Security.framework", |
486 "SystemConfiguration.framework", | 488 "SystemConfiguration.framework", |
487 "resolv", | 489 "resolv", |
488 ] | 490 ] |
489 } | 491 } |
490 | 492 |
491 if (is_ios) { | 493 if (is_ios) { |
492 # Add back some sources that were otherwise filtered out. iOS additionally | 494 # Add back some sources that were otherwise filtered out. iOS additionally |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 sources = [ "quic/quic_server_bin.cc" ] | 1392 sources = [ "quic/quic_server_bin.cc" ] |
1391 deps = [ | 1393 deps = [ |
1392 ":quic_tools", | 1394 ":quic_tools", |
1393 ":net", | 1395 ":net", |
1394 "//base", | 1396 "//base", |
1395 "//third_party/boringssl", | 1397 "//third_party/boringssl", |
1396 ] | 1398 ] |
1397 } | 1399 } |
1398 | 1400 |
1399 } # !is_android | 1401 } # !is_android |
OLD | NEW |