| 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_ios.cc", | |
| 326 "cert/cert_verify_proc_ios.h", | |
| 327 "cert/x509_certificate_openssl_ios.cc", | |
| 328 ] | |
| 329 } | |
| 330 | |
| 331 if (is_chromecast && use_nss_certs) { | 323 if (is_chromecast && use_nss_certs) { |
| 332 net_shared_sources += [ "ssl/ssl_platform_key_chromecast.cc" ] | 324 net_shared_sources += [ "ssl/ssl_platform_key_chromecast.cc" ] |
| 333 net_shared_sources -= [ "ssl/ssl_platform_key_nss.cc" ] | 325 net_shared_sources -= [ "ssl/ssl_platform_key_nss.cc" ] |
| 334 } | 326 } |
| 335 | 327 |
| 336 if (!enable_mdns) { | 328 if (!enable_mdns) { |
| 337 net_shared_sources -= [ | 329 net_shared_sources -= [ |
| 338 "dns/mdns_cache.cc", | 330 "dns/mdns_cache.cc", |
| 339 "dns/mdns_cache.h", | 331 "dns/mdns_cache.h", |
| 340 "dns/mdns_client.cc", | 332 "dns/mdns_client.cc", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 ] | 369 ] |
| 378 | 370 |
| 379 net_shared_sources -= [ "disk_cache/blockfile/file_posix.cc" ] | 371 net_shared_sources -= [ "disk_cache/blockfile/file_posix.cc" ] |
| 380 net_shared_deps += [ | 372 net_shared_deps += [ |
| 381 "//third_party/nss:nspr", | 373 "//third_party/nss:nspr", |
| 382 "//third_party/nss", | 374 "//third_party/nss", |
| 383 "//net/third_party/nss/ssl:libssl", | 375 "//net/third_party/nss/ssl:libssl", |
| 384 ] | 376 ] |
| 385 } | 377 } |
| 386 | 378 |
| 387 if (is_ios && !use_nss_verifier) { | |
| 388 net_shared_sources += [ "cert/test_root_certs_mac.cc" ] | |
| 389 } | |
| 390 | |
| 391 if (is_ios || is_mac) { | 379 if (is_ios || is_mac) { |
| 392 net_shared_sources += gypi_values.net_base_mac_ios_sources | 380 net_shared_sources += gypi_values.net_base_mac_ios_sources |
| 393 } | 381 } |
| 394 | 382 |
| 395 if (is_android) { | 383 if (is_android) { |
| 396 net_shared_deps += [ ":net_jni_headers" ] | 384 net_shared_deps += [ ":net_jni_headers" ] |
| 397 | 385 |
| 398 # Add some Linux sources that were excluded by the filter, but which | 386 # Add some Linux sources that were excluded by the filter, but which |
| 399 # are needed. | 387 # are needed. |
| 400 net_shared_unfiltered_sources += [ | 388 net_shared_unfiltered_sources += [ |
| (...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 "//testing/gtest", | 1429 "//testing/gtest", |
| 1442 "//third_party/zlib", | 1430 "//third_party/zlib", |
| 1443 "//url", | 1431 "//url", |
| 1444 ] | 1432 ] |
| 1445 | 1433 |
| 1446 data = [ | 1434 data = [ |
| 1447 "data/", | 1435 "data/", |
| 1448 ] | 1436 ] |
| 1449 data_deps = [] | 1437 data_deps = [] |
| 1450 | 1438 |
| 1451 if (use_openssl) { | 1439 if (!is_ios) { |
| 1452 data_deps += [ "third_party/nist-pkits/" ] | 1440 data_deps += [ "third_party/nist-pkits/" ] |
| 1453 } | 1441 } |
| 1454 | 1442 |
| 1455 if (is_linux || is_mac || is_win) { | 1443 if (is_linux || is_mac || is_win) { |
| 1456 deps += [ | 1444 deps += [ |
| 1457 "//third_party/pyftpdlib/", | 1445 "//third_party/pyftpdlib/", |
| 1458 "//third_party/pywebsocket/", | 1446 "//third_party/pywebsocket/", |
| 1459 "//third_party/tlslite/", | 1447 "//third_party/tlslite/", |
| 1460 ] | 1448 ] |
| 1461 data_deps += [ | 1449 data_deps += [ |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1928 fuzzer_test("net_quic_crypto_framer_parse_message_fuzzer") { | 1916 fuzzer_test("net_quic_crypto_framer_parse_message_fuzzer") { |
| 1929 sources = [ | 1917 sources = [ |
| 1930 "quic/quic_crypto_framer_parse_message_fuzzer.cc", | 1918 "quic/quic_crypto_framer_parse_message_fuzzer.cc", |
| 1931 ] | 1919 ] |
| 1932 deps = [ | 1920 deps = [ |
| 1933 ":net_fuzzer_test_support", | 1921 ":net_fuzzer_test_support", |
| 1934 "//base", | 1922 "//base", |
| 1935 "//net", | 1923 "//net", |
| 1936 ] | 1924 ] |
| 1937 } | 1925 } |
| OLD | NEW |