| Index: net/BUILD.gn
|
| diff --git a/net/BUILD.gn b/net/BUILD.gn
|
| index a184a4cd8872948863f50731faefe092be882a9d..d95aa5e6a8fdd6d050f4ccd33077b020dfe62ff6 100644
|
| --- a/net/BUILD.gn
|
| +++ b/net/BUILD.gn
|
| @@ -381,16 +381,6 @@ component("net") {
|
|
|
| if (!enable_websockets) {
|
| sources -= [
|
| - "socket_stream/socket_stream.cc",
|
| - "socket_stream/socket_stream.h",
|
| - "socket_stream/socket_stream_job.cc",
|
| - "socket_stream/socket_stream_job.h",
|
| - "socket_stream/socket_stream_job_manager.cc",
|
| - "socket_stream/socket_stream_job_manager.h",
|
| - "socket_stream/socket_stream_metrics.cc",
|
| - "socket_stream/socket_stream_metrics.h",
|
| - "spdy/spdy_websocket_stream.cc",
|
| - "spdy/spdy_websocket_stream.h",
|
| "websockets/websocket_basic_handshake_stream.cc",
|
| "websockets/websocket_basic_handshake_stream.h",
|
| "websockets/websocket_basic_stream.cc",
|
| @@ -427,15 +417,9 @@ component("net") {
|
| "websockets/websocket_handshake_stream_create_helper.h",
|
| "websockets/websocket_inflater.cc",
|
| "websockets/websocket_inflater.h",
|
| - "websockets/websocket_job.cc",
|
| - "websockets/websocket_job.h",
|
| "websockets/websocket_mux.h",
|
| - "websockets/websocket_net_log_params.cc",
|
| - "websockets/websocket_net_log_params.h",
|
| "websockets/websocket_stream.cc",
|
| "websockets/websocket_stream.h",
|
| - "websockets/websocket_throttle.cc",
|
| - "websockets/websocket_throttle.h",
|
| ]
|
| }
|
|
|
| @@ -588,11 +572,6 @@ static_library("http_server") {
|
| ":net",
|
| "//base",
|
| ]
|
| - if (is_win) {
|
| - cflags = [
|
| - "/wd4267",
|
| - ]
|
| - }
|
| }
|
|
|
| executable("dump_cache") {
|
| @@ -689,6 +668,10 @@ source_set("test_support") {
|
| "test/spawned_test_server/spawned_test_server.h",
|
| "test/spawned_test_server/spawner_communicator.cc",
|
| "test/spawned_test_server/spawner_communicator.h",
|
| + "test/url_request/url_request_failed_job.cc",
|
| + "test/url_request/url_request_failed_job.h",
|
| + "test/url_request/url_request_mock_http_job.cc",
|
| + "test/url_request/url_request_mock_http_job.h",
|
| "url_request/test_url_fetcher_factory.cc",
|
| "url_request/test_url_fetcher_factory.h",
|
| "url_request/test_url_request_interceptor.cc",
|
| @@ -1086,7 +1069,8 @@ if (is_android || is_linux) {
|
|
|
| # TODO(GYP) make this compile on Android, we need some native test deps done.
|
| # TODO(GYP) Also doesn't work on Windows; dependency on boringssl is wrong.
|
| -if (!is_android && !is_win) {
|
| +# TODO(GYP) Also doesn't work on Mac, need to figure out why not.
|
| +if (!is_android && !is_win && !is_mac) {
|
|
|
| source_set("quic_tools") {
|
| sources = [
|
| @@ -1238,9 +1222,6 @@ test("net_unittests") {
|
|
|
| if (!enable_websockets) {
|
| sources -= [
|
| - "socket_stream/socket_stream_metrics_unittest.cc",
|
| - "socket_stream/socket_stream_unittest.cc",
|
| - "spdy/spdy_websocket_stream_unittest.cc",
|
| "websockets/websocket_basic_stream_test.cc",
|
| "websockets/websocket_channel_test.cc",
|
| "websockets/websocket_deflate_predictor_impl_test.cc",
|
| @@ -1254,12 +1235,9 @@ test("net_unittests") {
|
| "websockets/websocket_handshake_handler_test.cc",
|
| "websockets/websocket_handshake_stream_create_helper_test.cc",
|
| "websockets/websocket_inflater_test.cc",
|
| - "websockets/websocket_job_test.cc",
|
| - "websockets/websocket_net_log_params_test.cc",
|
| "websockets/websocket_stream_test.cc",
|
| "websockets/websocket_test_util.cc",
|
| "websockets/websocket_test_util.h",
|
| - "websockets/websocket_throttle_test.cc",
|
| ]
|
| }
|
|
|
| @@ -1397,4 +1375,4 @@ executable("quic_server") {
|
| ]
|
| }
|
|
|
| -} # !is_android
|
| +} # !is_android && !is_win && !is_mac
|
|
|