| 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 # These were already removed on non-ChromeOS. | 374 # These were already removed on non-ChromeOS. |
| 375 sources -= [ | 375 sources -= [ |
| 376 "ssl/client_cert_store_chromeos.cc", | 376 "ssl/client_cert_store_chromeos.cc", |
| 377 "ssl/client_cert_store_chromeos.h", | 377 "ssl/client_cert_store_chromeos.h", |
| 378 ] | 378 ] |
| 379 } | 379 } |
| 380 } | 380 } |
| 381 | 381 |
| 382 if (!enable_websockets) { | 382 if (!enable_websockets) { |
| 383 sources -= [ | 383 sources -= [ |
| 384 "socket_stream/socket_stream.cc", | |
| 385 "socket_stream/socket_stream.h", | |
| 386 "socket_stream/socket_stream_job.cc", | |
| 387 "socket_stream/socket_stream_job.h", | |
| 388 "socket_stream/socket_stream_job_manager.cc", | |
| 389 "socket_stream/socket_stream_job_manager.h", | |
| 390 "socket_stream/socket_stream_metrics.cc", | |
| 391 "socket_stream/socket_stream_metrics.h", | |
| 392 "spdy/spdy_websocket_stream.cc", | |
| 393 "spdy/spdy_websocket_stream.h", | |
| 394 "websockets/websocket_basic_handshake_stream.cc", | 384 "websockets/websocket_basic_handshake_stream.cc", |
| 395 "websockets/websocket_basic_handshake_stream.h", | 385 "websockets/websocket_basic_handshake_stream.h", |
| 396 "websockets/websocket_basic_stream.cc", | 386 "websockets/websocket_basic_stream.cc", |
| 397 "websockets/websocket_basic_stream.h", | 387 "websockets/websocket_basic_stream.h", |
| 398 "websockets/websocket_channel.cc", | 388 "websockets/websocket_channel.cc", |
| 399 "websockets/websocket_channel.h", | 389 "websockets/websocket_channel.h", |
| 400 "websockets/websocket_deflate_predictor.h", | 390 "websockets/websocket_deflate_predictor.h", |
| 401 "websockets/websocket_deflate_predictor_impl.cc", | 391 "websockets/websocket_deflate_predictor_impl.cc", |
| 402 "websockets/websocket_deflate_predictor_impl.h", | 392 "websockets/websocket_deflate_predictor_impl.h", |
| 403 "websockets/websocket_deflate_stream.cc", | 393 "websockets/websocket_deflate_stream.cc", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 420 "websockets/websocket_handshake_handler.h", | 410 "websockets/websocket_handshake_handler.h", |
| 421 "websockets/websocket_handshake_request_info.cc", | 411 "websockets/websocket_handshake_request_info.cc", |
| 422 "websockets/websocket_handshake_request_info.h", | 412 "websockets/websocket_handshake_request_info.h", |
| 423 "websockets/websocket_handshake_response_info.cc", | 413 "websockets/websocket_handshake_response_info.cc", |
| 424 "websockets/websocket_handshake_response_info.h", | 414 "websockets/websocket_handshake_response_info.h", |
| 425 "websockets/websocket_handshake_stream_base.h", | 415 "websockets/websocket_handshake_stream_base.h", |
| 426 "websockets/websocket_handshake_stream_create_helper.cc", | 416 "websockets/websocket_handshake_stream_create_helper.cc", |
| 427 "websockets/websocket_handshake_stream_create_helper.h", | 417 "websockets/websocket_handshake_stream_create_helper.h", |
| 428 "websockets/websocket_inflater.cc", | 418 "websockets/websocket_inflater.cc", |
| 429 "websockets/websocket_inflater.h", | 419 "websockets/websocket_inflater.h", |
| 430 "websockets/websocket_job.cc", | |
| 431 "websockets/websocket_job.h", | |
| 432 "websockets/websocket_mux.h", | 420 "websockets/websocket_mux.h", |
| 433 "websockets/websocket_net_log_params.cc", | |
| 434 "websockets/websocket_net_log_params.h", | |
| 435 "websockets/websocket_stream.cc", | 421 "websockets/websocket_stream.cc", |
| 436 "websockets/websocket_stream.h", | 422 "websockets/websocket_stream.h", |
| 437 "websockets/websocket_throttle.cc", | |
| 438 "websockets/websocket_throttle.h", | |
| 439 ] | 423 ] |
| 440 } | 424 } |
| 441 | 425 |
| 442 if (!enable_mdns) { | 426 if (!enable_mdns) { |
| 443 sources -= [ | 427 sources -= [ |
| 444 "dns/mdns_cache.cc", | 428 "dns/mdns_cache.cc", |
| 445 "dns/mdns_cache.h", | 429 "dns/mdns_cache.h", |
| 446 "dns/mdns_client.cc", | 430 "dns/mdns_client.cc", |
| 447 "dns/mdns_client.h", | 431 "dns/mdns_client.h", |
| 448 "dns/mdns_client_impl.cc", | 432 "dns/mdns_client_impl.cc", |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 "server/http_server_response_info.cc", | 565 "server/http_server_response_info.cc", |
| 582 "server/http_server_response_info.h", | 566 "server/http_server_response_info.h", |
| 583 "server/web_socket.cc", | 567 "server/web_socket.cc", |
| 584 "server/web_socket.h", | 568 "server/web_socket.h", |
| 585 ] | 569 ] |
| 586 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 570 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 587 deps = [ | 571 deps = [ |
| 588 ":net", | 572 ":net", |
| 589 "//base", | 573 "//base", |
| 590 ] | 574 ] |
| 591 if (is_win) { | |
| 592 cflags = [ | |
| 593 "/wd4267", | |
| 594 ] | |
| 595 } | |
| 596 } | 575 } |
| 597 | 576 |
| 598 executable("dump_cache") { | 577 executable("dump_cache") { |
| 599 testonly = true | 578 testonly = true |
| 600 sources = [ | 579 sources = [ |
| 601 "tools/dump_cache/cache_dumper.cc", | 580 "tools/dump_cache/cache_dumper.cc", |
| 602 "tools/dump_cache/cache_dumper.h", | 581 "tools/dump_cache/cache_dumper.h", |
| 603 "tools/dump_cache/dump_cache.cc", | 582 "tools/dump_cache/dump_cache.cc", |
| 604 "tools/dump_cache/dump_files.cc", | 583 "tools/dump_cache/dump_files.cc", |
| 605 "tools/dump_cache/dump_files.h", | 584 "tools/dump_cache/dump_files.h", |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 "test/spawned_test_server/base_test_server.h", | 661 "test/spawned_test_server/base_test_server.h", |
| 683 "test/spawned_test_server/local_test_server_posix.cc", | 662 "test/spawned_test_server/local_test_server_posix.cc", |
| 684 "test/spawned_test_server/local_test_server_win.cc", | 663 "test/spawned_test_server/local_test_server_win.cc", |
| 685 "test/spawned_test_server/local_test_server.cc", | 664 "test/spawned_test_server/local_test_server.cc", |
| 686 "test/spawned_test_server/local_test_server.h", | 665 "test/spawned_test_server/local_test_server.h", |
| 687 "test/spawned_test_server/remote_test_server.cc", | 666 "test/spawned_test_server/remote_test_server.cc", |
| 688 "test/spawned_test_server/remote_test_server.h", | 667 "test/spawned_test_server/remote_test_server.h", |
| 689 "test/spawned_test_server/spawned_test_server.h", | 668 "test/spawned_test_server/spawned_test_server.h", |
| 690 "test/spawned_test_server/spawner_communicator.cc", | 669 "test/spawned_test_server/spawner_communicator.cc", |
| 691 "test/spawned_test_server/spawner_communicator.h", | 670 "test/spawned_test_server/spawner_communicator.h", |
| 671 "test/url_request/url_request_failed_job.cc", |
| 672 "test/url_request/url_request_failed_job.h", |
| 673 "test/url_request/url_request_mock_http_job.cc", |
| 674 "test/url_request/url_request_mock_http_job.h", |
| 692 "url_request/test_url_fetcher_factory.cc", | 675 "url_request/test_url_fetcher_factory.cc", |
| 693 "url_request/test_url_fetcher_factory.h", | 676 "url_request/test_url_fetcher_factory.h", |
| 694 "url_request/test_url_request_interceptor.cc", | 677 "url_request/test_url_request_interceptor.cc", |
| 695 "url_request/test_url_request_interceptor.h", | 678 "url_request/test_url_request_interceptor.h", |
| 696 "url_request/url_request_test_util.cc", | 679 "url_request/url_request_test_util.cc", |
| 697 "url_request/url_request_test_util.h", | 680 "url_request/url_request_test_util.h", |
| 698 ] | 681 ] |
| 699 | 682 |
| 700 configs += [ ":net_win_size_truncation" ] | 683 configs += [ ":net_win_size_truncation" ] |
| 701 | 684 |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] | 1062 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] |
| 1080 deps = [ | 1063 deps = [ |
| 1081 ":net", | 1064 ":net", |
| 1082 "//base", | 1065 "//base", |
| 1083 ] | 1066 ] |
| 1084 } | 1067 } |
| 1085 } | 1068 } |
| 1086 | 1069 |
| 1087 # TODO(GYP) make this compile on Android, we need some native test deps done. | 1070 # TODO(GYP) make this compile on Android, we need some native test deps done. |
| 1088 # TODO(GYP) Also doesn't work on Windows; dependency on boringssl is wrong. | 1071 # TODO(GYP) Also doesn't work on Windows; dependency on boringssl is wrong. |
| 1089 if (!is_android && !is_win) { | 1072 # TODO(GYP) Also doesn't work on Mac, need to figure out why not. |
| 1073 if (!is_android && !is_win && !is_mac) { |
| 1090 | 1074 |
| 1091 source_set("quic_tools") { | 1075 source_set("quic_tools") { |
| 1092 sources = [ | 1076 sources = [ |
| 1093 "quic/quic_dispatcher.cc", | 1077 "quic/quic_dispatcher.cc", |
| 1094 "quic/quic_dispatcher.h", | 1078 "quic/quic_dispatcher.h", |
| 1095 "quic/quic_in_memory_cache.cc", | 1079 "quic/quic_in_memory_cache.cc", |
| 1096 "quic/quic_in_memory_cache.h", | 1080 "quic/quic_in_memory_cache.h", |
| 1097 "quic/quic_per_connection_packet_writer.cc", | 1081 "quic/quic_per_connection_packet_writer.cc", |
| 1098 "quic/quic_per_connection_packet_writer.h", | 1082 "quic/quic_per_connection_packet_writer.h", |
| 1099 "quic/quic_server.cc", | 1083 "quic/quic_server.cc", |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 # cert verification or on iOS (which also uses NSS for certs). | 1215 # cert verification or on iOS (which also uses NSS for certs). |
| 1232 sources -= [ "ocsp/nss_ocsp_unittest.cc" ] | 1216 sources -= [ "ocsp/nss_ocsp_unittest.cc" ] |
| 1233 } | 1217 } |
| 1234 | 1218 |
| 1235 if (!use_openssl_certs) { | 1219 if (!use_openssl_certs) { |
| 1236 sources -= [ "ssl/openssl_client_key_store_unittest.cc" ] | 1220 sources -= [ "ssl/openssl_client_key_store_unittest.cc" ] |
| 1237 } | 1221 } |
| 1238 | 1222 |
| 1239 if (!enable_websockets) { | 1223 if (!enable_websockets) { |
| 1240 sources -= [ | 1224 sources -= [ |
| 1241 "socket_stream/socket_stream_metrics_unittest.cc", | |
| 1242 "socket_stream/socket_stream_unittest.cc", | |
| 1243 "spdy/spdy_websocket_stream_unittest.cc", | |
| 1244 "websockets/websocket_basic_stream_test.cc", | 1225 "websockets/websocket_basic_stream_test.cc", |
| 1245 "websockets/websocket_channel_test.cc", | 1226 "websockets/websocket_channel_test.cc", |
| 1246 "websockets/websocket_deflate_predictor_impl_test.cc", | 1227 "websockets/websocket_deflate_predictor_impl_test.cc", |
| 1247 "websockets/websocket_deflate_stream_test.cc", | 1228 "websockets/websocket_deflate_stream_test.cc", |
| 1248 "websockets/websocket_deflater_test.cc", | 1229 "websockets/websocket_deflater_test.cc", |
| 1249 "websockets/websocket_errors_test.cc", | 1230 "websockets/websocket_errors_test.cc", |
| 1250 "websockets/websocket_extension_parser_test.cc", | 1231 "websockets/websocket_extension_parser_test.cc", |
| 1251 "websockets/websocket_frame_parser_test.cc", | 1232 "websockets/websocket_frame_parser_test.cc", |
| 1252 "websockets/websocket_frame_test.cc", | 1233 "websockets/websocket_frame_test.cc", |
| 1253 "websockets/websocket_handshake_handler_spdy_test.cc", | 1234 "websockets/websocket_handshake_handler_spdy_test.cc", |
| 1254 "websockets/websocket_handshake_handler_test.cc", | 1235 "websockets/websocket_handshake_handler_test.cc", |
| 1255 "websockets/websocket_handshake_stream_create_helper_test.cc", | 1236 "websockets/websocket_handshake_stream_create_helper_test.cc", |
| 1256 "websockets/websocket_inflater_test.cc", | 1237 "websockets/websocket_inflater_test.cc", |
| 1257 "websockets/websocket_job_test.cc", | |
| 1258 "websockets/websocket_net_log_params_test.cc", | |
| 1259 "websockets/websocket_stream_test.cc", | 1238 "websockets/websocket_stream_test.cc", |
| 1260 "websockets/websocket_test_util.cc", | 1239 "websockets/websocket_test_util.cc", |
| 1261 "websockets/websocket_test_util.h", | 1240 "websockets/websocket_test_util.h", |
| 1262 "websockets/websocket_throttle_test.cc", | |
| 1263 ] | 1241 ] |
| 1264 } | 1242 } |
| 1265 | 1243 |
| 1266 if (disable_file_support) { | 1244 if (disable_file_support) { |
| 1267 sources -= [ | 1245 sources -= [ |
| 1268 "base/directory_lister_unittest.cc", | 1246 "base/directory_lister_unittest.cc", |
| 1269 "url_request/url_request_file_job_unittest.cc", | 1247 "url_request/url_request_file_job_unittest.cc", |
| 1270 ] | 1248 ] |
| 1271 } | 1249 } |
| 1272 | 1250 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1390 executable("quic_server") { | 1368 executable("quic_server") { |
| 1391 sources = [ "quic/quic_server_bin.cc" ] | 1369 sources = [ "quic/quic_server_bin.cc" ] |
| 1392 deps = [ | 1370 deps = [ |
| 1393 ":quic_tools", | 1371 ":quic_tools", |
| 1394 ":net", | 1372 ":net", |
| 1395 "//base", | 1373 "//base", |
| 1396 "//third_party/boringssl", | 1374 "//third_party/boringssl", |
| 1397 ] | 1375 ] |
| 1398 } | 1376 } |
| 1399 | 1377 |
| 1400 } # !is_android | 1378 } # !is_android && !is_win && !is_mac |
| OLD | NEW |