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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
313 net_shared_sources -= [ | 313 net_shared_sources -= [ |
314 "cert/cert_verify_proc_nss.cc", | 314 "cert/cert_verify_proc_nss.cc", |
315 "cert/cert_verify_proc_nss.h", | 315 "cert/cert_verify_proc_nss.h", |
316 "cert/test_root_certs_nss.cc", | 316 "cert/test_root_certs_nss.cc", |
317 "cert/x509_util_nss_certs.cc", | 317 "cert/x509_util_nss_certs.cc", |
318 "cert_net/nss_ocsp.cc", | 318 "cert_net/nss_ocsp.cc", |
319 "cert_net/nss_ocsp.h", | 319 "cert_net/nss_ocsp.h", |
320 ] | 320 ] |
321 } | 321 } |
322 | 322 |
323 if (is_ios && use_nss_verifier) { | |
324 net_shared_sources -= [ | |
325 "cert/cert_verify_proc_openssl_ios.cc", | |
326 "cert/cert_verify_proc_openssl_ios.h", | |
327 "cert/x509_certificate_openssl_ios.cc", | |
328 ] | |
329 } | |
330 | |
331 if (is_ios && !use_nss_verifier) { | |
332 net_shared_sources += [ "cert/test_root_certs_mac.cc" ] | |
333 } | |
334 | |
323 if (is_chromecast && use_nss_certs) { | 335 if (is_chromecast && use_nss_certs) { |
324 net_shared_sources += [ "ssl/ssl_platform_key_chromecast.cc" ] | 336 net_shared_sources += [ "ssl/ssl_platform_key_chromecast.cc" ] |
325 net_shared_sources -= [ "ssl/ssl_platform_key_nss.cc" ] | 337 net_shared_sources -= [ "ssl/ssl_platform_key_nss.cc" ] |
326 } | 338 } |
327 | 339 |
328 if (!enable_mdns) { | 340 if (!enable_mdns) { |
329 net_shared_sources -= [ | 341 net_shared_sources -= [ |
330 "dns/mdns_cache.cc", | 342 "dns/mdns_cache.cc", |
331 "dns/mdns_cache.h", | 343 "dns/mdns_cache.h", |
332 "dns/mdns_client.cc", | 344 "dns/mdns_client.cc", |
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1429 "//testing/gtest", | 1441 "//testing/gtest", |
1430 "//third_party/zlib", | 1442 "//third_party/zlib", |
1431 "//url", | 1443 "//url", |
1432 ] | 1444 ] |
1433 | 1445 |
1434 data = [ | 1446 data = [ |
1435 "data/", | 1447 "data/", |
1436 ] | 1448 ] |
1437 data_deps = [] | 1449 data_deps = [] |
1438 | 1450 |
1439 if (!is_ios) { | 1451 if (!is_ios || !use_nss_verifier) { |
davidben
2016/03/21 19:46:47
Should this be
if (use_openssl) {
verify_cert
svaldez
2016/03/21 20:23:52
Done.
| |
1440 data_deps += [ "third_party/nist-pkits/" ] | 1452 data_deps += [ "third_party/nist-pkits/" ] |
1441 } | 1453 } |
1442 | 1454 |
1443 if (is_linux || is_mac || is_win) { | 1455 if (is_linux || is_mac || is_win) { |
1444 deps += [ | 1456 deps += [ |
1445 "//third_party/pyftpdlib/", | 1457 "//third_party/pyftpdlib/", |
1446 "//third_party/pywebsocket/", | 1458 "//third_party/pywebsocket/", |
1447 "//third_party/tlslite/", | 1459 "//third_party/tlslite/", |
1448 ] | 1460 ] |
1449 data_deps += [ | 1461 data_deps += [ |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1916 fuzzer_test("net_quic_crypto_framer_parse_message_fuzzer") { | 1928 fuzzer_test("net_quic_crypto_framer_parse_message_fuzzer") { |
1917 sources = [ | 1929 sources = [ |
1918 "quic/quic_crypto_framer_parse_message_fuzzer.cc", | 1930 "quic/quic_crypto_framer_parse_message_fuzzer.cc", |
1919 ] | 1931 ] |
1920 deps = [ | 1932 deps = [ |
1921 ":net_fuzzer_test_support", | 1933 ":net_fuzzer_test_support", |
1922 "//base", | 1934 "//base", |
1923 "//net", | 1935 "//net", |
1924 ] | 1936 ] |
1925 } | 1937 } |
OLD | NEW |