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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 "socket/socket_performance_watcher_factory.h", | 314 "socket/socket_performance_watcher_factory.h", |
315 "socket/ssl_client_socket.cc", | 315 "socket/ssl_client_socket.cc", |
316 "socket/ssl_client_socket.h", | 316 "socket/ssl_client_socket.h", |
317 "socket/ssl_client_socket_impl.cc", | 317 "socket/ssl_client_socket_impl.cc", |
318 "socket/ssl_client_socket_impl.h", | 318 "socket/ssl_client_socket_impl.h", |
319 "socket/ssl_socket.h", | 319 "socket/ssl_socket.h", |
320 "ssl/channel_id_service.cc", | 320 "ssl/channel_id_service.cc", |
321 "ssl/channel_id_service.h", | 321 "ssl/channel_id_service.h", |
322 "ssl/channel_id_store.cc", | 322 "ssl/channel_id_store.cc", |
323 "ssl/channel_id_store.h", | 323 "ssl/channel_id_store.h", |
| 324 "ssl/client_cert_identity.cc", |
| 325 "ssl/client_cert_identity.h", |
| 326 "ssl/client_cert_identity_mac.cc", |
| 327 "ssl/client_cert_identity_mac.h", |
324 "ssl/client_key_store.cc", | 328 "ssl/client_key_store.cc", |
325 "ssl/client_key_store.h", | 329 "ssl/client_key_store.h", |
326 "ssl/default_channel_id_store.cc", | 330 "ssl/default_channel_id_store.cc", |
327 "ssl/default_channel_id_store.h", | 331 "ssl/default_channel_id_store.h", |
328 "ssl/openssl_client_key_store.cc", | |
329 "ssl/openssl_client_key_store.h", | |
330 "ssl/openssl_ssl_util.cc", | 332 "ssl/openssl_ssl_util.cc", |
331 "ssl/openssl_ssl_util.h", | 333 "ssl/openssl_ssl_util.h", |
332 "ssl/ssl_cert_request_info.cc", | 334 "ssl/ssl_cert_request_info.cc", |
333 "ssl/ssl_cert_request_info.h", | 335 "ssl/ssl_cert_request_info.h", |
334 "ssl/ssl_cipher_suite_names.cc", | 336 "ssl/ssl_cipher_suite_names.cc", |
335 "ssl/ssl_cipher_suite_names.h", | 337 "ssl/ssl_cipher_suite_names.h", |
336 "ssl/ssl_client_auth_cache.cc", | 338 "ssl/ssl_client_auth_cache.cc", |
337 "ssl/ssl_client_auth_cache.h", | 339 "ssl/ssl_client_auth_cache.h", |
338 "ssl/ssl_client_cert_type.h", | 340 "ssl/ssl_client_cert_type.h", |
339 "ssl/ssl_client_session_cache.cc", | 341 "ssl/ssl_client_session_cache.cc", |
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1629 "ssl/client_cert_store_mac.cc", | 1631 "ssl/client_cert_store_mac.cc", |
1630 "ssl/client_cert_store_mac.h", | 1632 "ssl/client_cert_store_mac.h", |
1631 "ssl/client_cert_store_nss.cc", | 1633 "ssl/client_cert_store_nss.cc", |
1632 "ssl/client_cert_store_nss.h", | 1634 "ssl/client_cert_store_nss.h", |
1633 "ssl/client_cert_store_win.cc", | 1635 "ssl/client_cert_store_win.cc", |
1634 "ssl/client_cert_store_win.h", | 1636 "ssl/client_cert_store_win.h", |
1635 "ssl/ssl_config_service_defaults.cc", | 1637 "ssl/ssl_config_service_defaults.cc", |
1636 "ssl/ssl_config_service_defaults.h", | 1638 "ssl/ssl_config_service_defaults.h", |
1637 "ssl/ssl_key_logger.cc", | 1639 "ssl/ssl_key_logger.cc", |
1638 "ssl/ssl_key_logger.h", | 1640 "ssl/ssl_key_logger.h", |
1639 "ssl/ssl_platform_key.h", | |
1640 "ssl/ssl_platform_key_android.cc", | 1641 "ssl/ssl_platform_key_android.cc", |
1641 "ssl/ssl_platform_key_android.h", | 1642 "ssl/ssl_platform_key_android.h", |
1642 "ssl/ssl_platform_key_mac.cc", | 1643 "ssl/ssl_platform_key_mac.cc", |
1643 "ssl/ssl_platform_key_mac.h", | 1644 "ssl/ssl_platform_key_mac.h", |
1644 "ssl/ssl_platform_key_nss.cc", | 1645 "ssl/ssl_platform_key_nss.cc", |
| 1646 "ssl/ssl_platform_key_nss.h", |
1645 "ssl/ssl_platform_key_util.cc", | 1647 "ssl/ssl_platform_key_util.cc", |
1646 "ssl/ssl_platform_key_util.h", | 1648 "ssl/ssl_platform_key_util.h", |
1647 "ssl/ssl_platform_key_win.cc", | 1649 "ssl/ssl_platform_key_win.cc", |
1648 "ssl/test_ssl_private_key.cc", | 1650 "ssl/test_ssl_private_key.cc", |
1649 "ssl/test_ssl_private_key.h", | 1651 "ssl/test_ssl_private_key.h", |
1650 "ssl/threaded_ssl_private_key.cc", | 1652 "ssl/threaded_ssl_private_key.cc", |
1651 "ssl/threaded_ssl_private_key.h", | 1653 "ssl/threaded_ssl_private_key.h", |
1652 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", | 1654 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", |
1653 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", | 1655 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", |
1654 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", | 1656 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1778 sources -= [ "cert/x509_certificate_win.cc" ] | 1780 sources -= [ "cert/x509_certificate_win.cc" ] |
1779 } | 1781 } |
1780 } else { | 1782 } else { |
1781 sources -= [ "cert/x509_certificate_bytes.cc" ] | 1783 sources -= [ "cert/x509_certificate_bytes.cc" ] |
1782 } | 1784 } |
1783 | 1785 |
1784 if (!use_openssl_certs) { | 1786 if (!use_openssl_certs) { |
1785 sources -= [ | 1787 sources -= [ |
1786 "cert/cert_database_openssl.cc", | 1788 "cert/cert_database_openssl.cc", |
1787 "cert/x509_certificate_openssl.cc", | 1789 "cert/x509_certificate_openssl.cc", |
1788 "ssl/openssl_client_key_store.cc", | |
1789 "ssl/openssl_client_key_store.h", | |
1790 ] | 1790 ] |
1791 } else { | 1791 } else { |
1792 if (is_android) { | 1792 if (is_android) { |
1793 # Android doesn't use this file even when using OpenSSL. | 1793 # Android doesn't use this file even when using OpenSSL. |
1794 sources -= [ "cert/cert_database_openssl.cc" ] | 1794 sources -= [ "cert/cert_database_openssl.cc" ] |
1795 } | 1795 } |
1796 } | 1796 } |
1797 | 1797 |
1798 if (!use_kerberos || is_android) { | 1798 if (!use_kerberos || is_android) { |
1799 sources -= [ | 1799 sources -= [ |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1851 "cert/cert_verify_proc_nss.cc", | 1851 "cert/cert_verify_proc_nss.cc", |
1852 "cert/cert_verify_proc_nss.h", | 1852 "cert/cert_verify_proc_nss.h", |
1853 "cert/test_root_certs_nss.cc", | 1853 "cert/test_root_certs_nss.cc", |
1854 "cert/x509_util_nss.cc", | 1854 "cert/x509_util_nss.cc", |
1855 "cert_net/nss_ocsp.cc", | 1855 "cert_net/nss_ocsp.cc", |
1856 "cert_net/nss_ocsp.h", | 1856 "cert_net/nss_ocsp.h", |
1857 ] | 1857 ] |
1858 } | 1858 } |
1859 | 1859 |
1860 if (is_chromecast && use_nss_certs) { | 1860 if (is_chromecast && use_nss_certs) { |
1861 sources += [ "ssl/ssl_platform_key_chromecast.cc" ] | 1861 sources -= [ |
1862 sources -= [ "ssl/ssl_platform_key_nss.cc" ] | 1862 "ssl/client_cert_store_nss.cc", |
| 1863 "ssl/client_cert_store_nss.h", |
| 1864 "ssl/ssl_platform_key_nss.cc", |
| 1865 ] |
1863 } | 1866 } |
1864 | 1867 |
1865 if (!enable_mdns) { | 1868 if (!enable_mdns) { |
1866 sources -= [ | 1869 sources -= [ |
1867 "dns/mdns_cache.cc", | 1870 "dns/mdns_cache.cc", |
1868 "dns/mdns_cache.h", | 1871 "dns/mdns_cache.h", |
1869 "dns/mdns_client.cc", | 1872 "dns/mdns_client.cc", |
1870 "dns/mdns_client.h", | 1873 "dns/mdns_client.h", |
1871 "dns/mdns_client_impl.cc", | 1874 "dns/mdns_client_impl.cc", |
1872 "dns/mdns_client_impl.h", | 1875 "dns/mdns_client_impl.h", |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2467 "proxy/mock_proxy_resolver.cc", | 2470 "proxy/mock_proxy_resolver.cc", |
2468 "proxy/mock_proxy_resolver.h", | 2471 "proxy/mock_proxy_resolver.h", |
2469 "proxy/mock_proxy_script_fetcher.cc", | 2472 "proxy/mock_proxy_script_fetcher.cc", |
2470 "proxy/mock_proxy_script_fetcher.h", | 2473 "proxy/mock_proxy_script_fetcher.h", |
2471 "proxy/proxy_config_service_common_unittest.cc", | 2474 "proxy/proxy_config_service_common_unittest.cc", |
2472 "proxy/proxy_config_service_common_unittest.h", | 2475 "proxy/proxy_config_service_common_unittest.h", |
2473 "socket/socket_test_util.cc", | 2476 "socket/socket_test_util.cc", |
2474 "socket/socket_test_util.h", | 2477 "socket/socket_test_util.h", |
2475 "spdy/chromium/spdy_test_util_common.cc", | 2478 "spdy/chromium/spdy_test_util_common.cc", |
2476 "spdy/chromium/spdy_test_util_common.h", | 2479 "spdy/chromium/spdy_test_util_common.h", |
| 2480 "ssl/client_cert_identity_test_util.cc", |
| 2481 "ssl/client_cert_identity_test_util.h", |
| 2482 "ssl/ssl_private_key_test_util.cc", |
| 2483 "ssl/ssl_private_key_test_util.h", |
2477 "test/cert_test_util.cc", | 2484 "test/cert_test_util.cc", |
2478 "test/cert_test_util.h", | 2485 "test/cert_test_util.h", |
2479 "test/cert_test_util_nss.cc", | 2486 "test/cert_test_util_nss.cc", |
2480 "test/channel_id_test_util.cc", | 2487 "test/channel_id_test_util.cc", |
2481 "test/channel_id_test_util.h", | 2488 "test/channel_id_test_util.h", |
2482 "test/ct_test_util.cc", | 2489 "test/ct_test_util.cc", |
2483 "test/ct_test_util.h", | 2490 "test/ct_test_util.h", |
2484 "test/embedded_test_server/default_handlers.cc", | 2491 "test/embedded_test_server/default_handlers.cc", |
2485 "test/embedded_test_server/default_handlers.h", | 2492 "test/embedded_test_server/default_handlers.h", |
2486 "test/embedded_test_server/embedded_test_server.cc", | 2493 "test/embedded_test_server/embedded_test_server.cc", |
(...skipping 2532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5019 "spdy/core/spdy_no_op_visitor.h", | 5026 "spdy/core/spdy_no_op_visitor.h", |
5020 "spdy/core/spdy_pinnable_buffer_piece_test.cc", | 5027 "spdy/core/spdy_pinnable_buffer_piece_test.cc", |
5021 "spdy/core/spdy_prefixed_buffer_reader_test.cc", | 5028 "spdy/core/spdy_prefixed_buffer_reader_test.cc", |
5022 "spdy/core/spdy_protocol_test.cc", | 5029 "spdy/core/spdy_protocol_test.cc", |
5023 "spdy/core/spdy_protocol_test_utils.cc", | 5030 "spdy/core/spdy_protocol_test_utils.cc", |
5024 "spdy/core/spdy_protocol_test_utils.h", | 5031 "spdy/core/spdy_protocol_test_utils.h", |
5025 "spdy/core/spdy_test_utils.cc", | 5032 "spdy/core/spdy_test_utils.cc", |
5026 "spdy/core/spdy_test_utils.h", | 5033 "spdy/core/spdy_test_utils.h", |
5027 "spdy/platform/api/spdy_string_utils_test.cc", | 5034 "spdy/platform/api/spdy_string_utils_test.cc", |
5028 "ssl/channel_id_service_unittest.cc", | 5035 "ssl/channel_id_service_unittest.cc", |
| 5036 "ssl/client_cert_identity_unittest.cc", |
5029 "ssl/client_cert_store_mac_unittest.cc", | 5037 "ssl/client_cert_store_mac_unittest.cc", |
5030 "ssl/client_cert_store_nss_unittest.cc", | 5038 "ssl/client_cert_store_nss_unittest.cc", |
5031 "ssl/client_cert_store_unittest-inl.h", | 5039 "ssl/client_cert_store_unittest-inl.h", |
5032 "ssl/client_cert_store_win_unittest.cc", | 5040 "ssl/client_cert_store_win_unittest.cc", |
5033 "ssl/default_channel_id_store_unittest.cc", | 5041 "ssl/default_channel_id_store_unittest.cc", |
5034 "ssl/openssl_client_key_store_unittest.cc", | |
5035 "ssl/ssl_cipher_suite_names_unittest.cc", | 5042 "ssl/ssl_cipher_suite_names_unittest.cc", |
5036 "ssl/ssl_client_auth_cache_unittest.cc", | 5043 "ssl/ssl_client_auth_cache_unittest.cc", |
5037 "ssl/ssl_client_session_cache_unittest.cc", | 5044 "ssl/ssl_client_session_cache_unittest.cc", |
5038 "ssl/ssl_config_service_unittest.cc", | 5045 "ssl/ssl_config_service_unittest.cc", |
5039 "ssl/ssl_config_unittest.cc", | 5046 "ssl/ssl_config_unittest.cc", |
5040 "ssl/ssl_connection_status_flags_unittest.cc", | 5047 "ssl/ssl_connection_status_flags_unittest.cc", |
5041 "ssl/ssl_platform_key_android_unittest.cc", | 5048 "ssl/ssl_platform_key_android_unittest.cc", |
5042 "ssl/ssl_platform_key_mac_unittest.cc", | 5049 "ssl/ssl_platform_key_mac_unittest.cc", |
5043 "ssl/ssl_platform_key_nss_unittest.cc", | 5050 "ssl/ssl_platform_key_nss_unittest.cc", |
5044 "ssl/ssl_platform_key_util_unittest.cc", | 5051 "ssl/ssl_platform_key_util_unittest.cc", |
5045 "ssl/ssl_platform_key_win_unittest.cc", | 5052 "ssl/ssl_platform_key_win_unittest.cc", |
5046 "ssl/ssl_private_key_test_util.cc", | |
5047 "ssl/ssl_private_key_test_util.h", | |
5048 "test/embedded_test_server/embedded_test_server_unittest.cc", | 5053 "test/embedded_test_server/embedded_test_server_unittest.cc", |
5049 "test/embedded_test_server/http_request_unittest.cc", | 5054 "test/embedded_test_server/http_request_unittest.cc", |
5050 "test/embedded_test_server/http_response_unittest.cc", | 5055 "test/embedded_test_server/http_response_unittest.cc", |
5051 "test/python_utils_unittest.cc", | 5056 "test/python_utils_unittest.cc", |
5052 "test/run_all_unittests.cc", | 5057 "test/run_all_unittests.cc", |
5053 "third_party/nist-pkits/pkits_testcases-inl.h", | 5058 "third_party/nist-pkits/pkits_testcases-inl.h", |
5054 "tools/content_decoder_tool/content_decoder_tool.cc", | 5059 "tools/content_decoder_tool/content_decoder_tool.cc", |
5055 "tools/content_decoder_tool/content_decoder_tool.h", | 5060 "tools/content_decoder_tool/content_decoder_tool.h", |
5056 "tools/content_decoder_tool/content_decoder_tool_unittest.cc", | 5061 "tools/content_decoder_tool/content_decoder_tool_unittest.cc", |
5057 "tools/quic/quic_simple_client_test.cc", | 5062 "tools/quic/quic_simple_client_test.cc", |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5225 } | 5230 } |
5226 if (!use_kerberos) { | 5231 if (!use_kerberos) { |
5227 sources -= [ "http/http_auth_handler_negotiate_unittest.cc" ] | 5232 sources -= [ "http/http_auth_handler_negotiate_unittest.cc" ] |
5228 } | 5233 } |
5229 | 5234 |
5230 if (!use_nss_certs) { | 5235 if (!use_nss_certs) { |
5231 # Only include this test when using NSS for cert verification. | 5236 # Only include this test when using NSS for cert verification. |
5232 sources -= [ "cert_net/nss_ocsp_unittest.cc" ] | 5237 sources -= [ "cert_net/nss_ocsp_unittest.cc" ] |
5233 } | 5238 } |
5234 | 5239 |
5235 if (!use_openssl_certs) { | |
5236 sources -= [ "ssl/openssl_client_key_store_unittest.cc" ] | |
5237 } | |
5238 | |
5239 if (enable_websockets) { | 5240 if (enable_websockets) { |
5240 sources += [ | 5241 sources += [ |
5241 "server/http_connection_unittest.cc", | 5242 "server/http_connection_unittest.cc", |
5242 "server/http_server_response_info_unittest.cc", | 5243 "server/http_server_response_info_unittest.cc", |
5243 "server/http_server_unittest.cc", | 5244 "server/http_server_unittest.cc", |
5244 "server/web_socket_encoder_unittest.cc", | 5245 "server/web_socket_encoder_unittest.cc", |
5245 "websockets/websocket_basic_stream_test.cc", | 5246 "websockets/websocket_basic_stream_test.cc", |
5246 "websockets/websocket_channel_test.cc", | 5247 "websockets/websocket_channel_test.cc", |
5247 "websockets/websocket_deflate_parameters_test.cc", | 5248 "websockets/websocket_deflate_parameters_test.cc", |
5248 "websockets/websocket_deflate_predictor_impl_test.cc", | 5249 "websockets/websocket_deflate_predictor_impl_test.cc", |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5438 } | 5439 } |
5439 | 5440 |
5440 if (is_win) { | 5441 if (is_win) { |
5441 libs = [ | 5442 libs = [ |
5442 "iphlpapi.lib", | 5443 "iphlpapi.lib", |
5443 "ncrypt.lib", | 5444 "ncrypt.lib", |
5444 ] | 5445 ] |
5445 } | 5446 } |
5446 | 5447 |
5447 if (is_chromecast && use_nss_certs) { | 5448 if (is_chromecast && use_nss_certs) { |
5448 sources += [ "ssl/ssl_platform_key_chromecast_unittest.cc" ] | 5449 sources -= [ |
5449 sources -= [ "ssl/ssl_platform_key_nss_unittest.cc" ] | 5450 "ssl/client_cert_store_nss_unittest.cc", |
| 5451 "ssl/ssl_platform_key_nss_unittest.cc", |
| 5452 ] |
5450 } | 5453 } |
5451 | 5454 |
5452 # Include transport_security_state_generator tests. | 5455 # Include transport_security_state_generator tests. |
5453 if (host_toolchain == current_toolchain) { | 5456 if (host_toolchain == current_toolchain) { |
5454 deps += [ "//net/tools/transport_security_state_generator:transport_security
_state_generator_test_sources" ] | 5457 deps += [ "//net/tools/transport_security_state_generator:transport_security
_state_generator_test_sources" ] |
5455 } | 5458 } |
5456 | 5459 |
5457 # Add back some sources that were otherwise filtered out. | 5460 # Add back some sources that were otherwise filtered out. |
5458 set_sources_assignment_filter([]) | 5461 set_sources_assignment_filter([]) |
5459 sources += net_unfiltered_sources | 5462 sources += net_unfiltered_sources |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6038 ] | 6041 ] |
6039 deps = [ | 6042 deps = [ |
6040 ":net_fuzzer_test_support", | 6043 ":net_fuzzer_test_support", |
6041 ":test_support", | 6044 ":test_support", |
6042 "//base", | 6045 "//base", |
6043 "//net", | 6046 "//net", |
6044 ] | 6047 ] |
6045 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" | 6048 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" |
6046 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" | 6049 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" |
6047 } | 6050 } |
OLD | NEW |