| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 net_shared_sources -= [ | 235 net_shared_sources -= [ |
| 236 "base/crypto_module_openssl.cc", | 236 "base/crypto_module_openssl.cc", |
| 237 "base/keygen_handler_openssl.cc", | 237 "base/keygen_handler_openssl.cc", |
| 238 "base/openssl_private_key_store.h", | 238 "base/openssl_private_key_store.h", |
| 239 "base/openssl_private_key_store_memory.cc", | 239 "base/openssl_private_key_store_memory.cc", |
| 240 "cert/cert_database_openssl.cc", | 240 "cert/cert_database_openssl.cc", |
| 241 "cert/cert_verify_proc_openssl.cc", | 241 "cert/cert_verify_proc_openssl.cc", |
| 242 "cert/cert_verify_proc_openssl.h", | 242 "cert/cert_verify_proc_openssl.h", |
| 243 "cert/test_root_certs_openssl.cc", | 243 "cert/test_root_certs_openssl.cc", |
| 244 "cert/x509_certificate_openssl.cc", | 244 "cert/x509_certificate_openssl.cc", |
| 245 "ssl/openssl_client_key_store.cc", | |
| 246 "ssl/openssl_client_key_store.h", | |
| 247 ] | 245 ] |
| 248 if (is_android) { | 246 if (is_android) { |
| 249 net_shared_sources -= [ "base/openssl_private_key_store_android.cc" ] | 247 net_shared_sources -= [ "base/openssl_private_key_store_android.cc" ] |
| 250 } | 248 } |
| 251 } else { | 249 } else { |
| 252 if (is_android) { | 250 if (is_android) { |
| 253 # Android doesn't use these even when using OpenSSL. | 251 # Android doesn't use these even when using OpenSSL. |
| 254 net_shared_sources -= [ | 252 net_shared_sources -= [ |
| 255 "base/openssl_private_key_store_memory.cc", | 253 "base/openssl_private_key_store_memory.cc", |
| 256 "cert/cert_database_openssl.cc", | 254 "cert/cert_database_openssl.cc", |
| (...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1501 if (!use_kerberos) { | 1499 if (!use_kerberos) { |
| 1502 sources -= [ "http/http_auth_handler_negotiate_unittest.cc" ] | 1500 sources -= [ "http/http_auth_handler_negotiate_unittest.cc" ] |
| 1503 } | 1501 } |
| 1504 | 1502 |
| 1505 if (!use_nss_certs && !is_ios) { | 1503 if (!use_nss_certs && !is_ios) { |
| 1506 # Only include this test when on Posix and using NSS for | 1504 # Only include this test when on Posix and using NSS for |
| 1507 # cert verification or on iOS (which also uses NSS for certs). | 1505 # cert verification or on iOS (which also uses NSS for certs). |
| 1508 sources -= [ "cert_net/nss_ocsp_unittest.cc" ] | 1506 sources -= [ "cert_net/nss_ocsp_unittest.cc" ] |
| 1509 } | 1507 } |
| 1510 | 1508 |
| 1511 if (!use_openssl_certs) { | |
| 1512 sources -= [ "ssl/openssl_client_key_store_unittest.cc" ] | |
| 1513 } | |
| 1514 | |
| 1515 if (!enable_websockets) { | 1509 if (!enable_websockets) { |
| 1516 sources -= [ | 1510 sources -= [ |
| 1517 "server/http_connection_unittest.cc", | 1511 "server/http_connection_unittest.cc", |
| 1518 "server/http_server_response_info_unittest.cc", | 1512 "server/http_server_response_info_unittest.cc", |
| 1519 "server/http_server_unittest.cc", | 1513 "server/http_server_unittest.cc", |
| 1520 "server/web_socket_encoder_unittest.cc", | 1514 "server/web_socket_encoder_unittest.cc", |
| 1521 "websockets/websocket_basic_stream_test.cc", | 1515 "websockets/websocket_basic_stream_test.cc", |
| 1522 "websockets/websocket_channel_test.cc", | 1516 "websockets/websocket_channel_test.cc", |
| 1523 "websockets/websocket_deflate_parameters_test.cc", | 1517 "websockets/websocket_deflate_parameters_test.cc", |
| 1524 "websockets/websocket_deflate_predictor_impl_test.cc", | 1518 "websockets/websocket_deflate_predictor_impl_test.cc", |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1738 } else { | 1732 } else { |
| 1739 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1733 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
| 1740 } | 1734 } |
| 1741 } | 1735 } |
| 1742 | 1736 |
| 1743 buildflag_header("features") { | 1737 buildflag_header("features") { |
| 1744 header = "net_features.h" | 1738 header = "net_features.h" |
| 1745 | 1739 |
| 1746 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ] | 1740 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ] |
| 1747 } | 1741 } |
| OLD | NEW |