| 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("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
| 9 import("//url/config.gni") | 9 import("//url/config.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 "DLOPEN_KERBEROS", | 77 "DLOPEN_KERBEROS", |
| 78 "NET_IMPLEMENTATION", | 78 "NET_IMPLEMENTATION", |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 83 public_configs = [ ":net_config" ] | 83 public_configs = [ ":net_config" ] |
| 84 include_dirs = [] | 84 include_dirs = [] |
| 85 | 85 |
| 86 public_deps = [ | 86 public_deps = [ |
| 87 ":net_quic_proto", |
| 87 "//crypto", | 88 "//crypto", |
| 88 "//crypto:platform", | 89 "//crypto:platform", |
| 89 "//url", | 90 "//url", |
| 90 ] | 91 ] |
| 91 deps = [ | 92 deps = [ |
| 92 ":net_resources", | 93 ":net_resources", |
| 93 ":net_quic_proto", | |
| 94 "//base", | 94 "//base", |
| 95 "//base:prefs", | 95 "//base:prefs", |
| 96 "//base/third_party/dynamic_annotations", | 96 "//base/third_party/dynamic_annotations", |
| 97 "//net/base/registry_controlled_domains", | 97 "//net/base/registry_controlled_domains", |
| 98 "//sdch", | 98 "//sdch", |
| 99 "//third_party/protobuf:protobuf_lite", | 99 "//third_party/protobuf:protobuf_lite", |
| 100 "//third_party/zlib", | 100 "//third_party/zlib", |
| 101 "//url", | 101 "//url", |
| 102 ] | 102 ] |
| 103 | 103 |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 source = "base/net_resources.grd" | 503 source = "base/net_resources.grd" |
| 504 use_qualified_include = true | 504 use_qualified_include = true |
| 505 outputs = [ | 505 outputs = [ |
| 506 "grit/net_resources.h", | 506 "grit/net_resources.h", |
| 507 "net_resources.pak", | 507 "net_resources.pak", |
| 508 "net_resources.rc", | 508 "net_resources.rc", |
| 509 ] | 509 ] |
| 510 } | 510 } |
| 511 | 511 |
| 512 proto_library("net_quic_proto") { | 512 proto_library("net_quic_proto") { |
| 513 visibility = [ "//net" ] # Part of the net component. |
| 514 |
| 513 sources = [ | 515 sources = [ |
| 514 "quic/proto/cached_network_parameters.proto", | 516 "quic/proto/cached_network_parameters.proto", |
| 515 "quic/proto/source_address_token.proto", | 517 "quic/proto/source_address_token.proto", |
| 516 ] | 518 ] |
| 517 cc_generator_options = "dllexport_decl=NET_EXPORT_PRIVATE:" | 519 cc_generator_options = "dllexport_decl=NET_EXPORT_PRIVATE:" |
| 518 cc_include = "net/base/net_export.h" | 520 cc_include = "net/base/net_export.h" |
| 519 | 521 |
| 520 defines = [ "NET_IMPLEMENTATION" ] | 522 defines = [ "NET_IMPLEMENTATION" ] |
| 521 | 523 |
| 522 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 524 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1141 "tools/quic/quic_packet_writer_wrapper.h", | 1143 "tools/quic/quic_packet_writer_wrapper.h", |
| 1142 "tools/quic/quic_server.cc", | 1144 "tools/quic/quic_server.cc", |
| 1143 "tools/quic/quic_server.h", | 1145 "tools/quic/quic_server.h", |
| 1144 "tools/quic/quic_socket_utils.cc", | 1146 "tools/quic/quic_socket_utils.cc", |
| 1145 "tools/quic/quic_socket_utils.h", | 1147 "tools/quic/quic_socket_utils.h", |
| 1146 ] | 1148 ] |
| 1147 deps = [ | 1149 deps = [ |
| 1148 ":balsa", | 1150 ":balsa", |
| 1149 ":epoll_server", | 1151 ":epoll_server", |
| 1150 ":net", | 1152 ":net", |
| 1151 ":net_quic_proto", | |
| 1152 "//base", | 1153 "//base", |
| 1153 "//base/third_party/dynamic_annotations", | 1154 "//base/third_party/dynamic_annotations", |
| 1154 "//crypto", | 1155 "//crypto", |
| 1155 "//third_party/boringssl", | 1156 "//third_party/boringssl", |
| 1156 "//url", | 1157 "//url", |
| 1157 ] | 1158 ] |
| 1158 } | 1159 } |
| 1159 | 1160 |
| 1160 executable("epoll_quic_client") { | 1161 executable("epoll_quic_client") { |
| 1161 sources = [ | 1162 sources = [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1174 | 1175 |
| 1175 executable("epoll_quic_server") { | 1176 executable("epoll_quic_server") { |
| 1176 sources = [ | 1177 sources = [ |
| 1177 "tools/quic/quic_server_bin.cc", | 1178 "tools/quic/quic_server_bin.cc", |
| 1178 ] | 1179 ] |
| 1179 deps = [ | 1180 deps = [ |
| 1180 ":balsa", | 1181 ":balsa", |
| 1181 ":epoll_server", | 1182 ":epoll_server", |
| 1182 ":epoll_quic_tools", | 1183 ":epoll_quic_tools", |
| 1183 ":net", | 1184 ":net", |
| 1184 ":net_quic_proto", | |
| 1185 ":simple_quic_tools", | 1185 ":simple_quic_tools", |
| 1186 "//base", | 1186 "//base", |
| 1187 "//third_party/boringssl", | 1187 "//third_party/boringssl", |
| 1188 ] | 1188 ] |
| 1189 } | 1189 } |
| 1190 } | 1190 } |
| 1191 | 1191 |
| 1192 if (is_android) { | 1192 if (is_android) { |
| 1193 generate_jni("net_jni_headers") { | 1193 generate_jni("net_jni_headers") { |
| 1194 sources = [ | 1194 sources = [ |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 "tools/quic/quic_spdy_client_stream.h", | 1248 "tools/quic/quic_spdy_client_stream.h", |
| 1249 "tools/quic/quic_spdy_server_stream.cc", | 1249 "tools/quic/quic_spdy_server_stream.cc", |
| 1250 "tools/quic/quic_spdy_server_stream.h", | 1250 "tools/quic/quic_spdy_server_stream.h", |
| 1251 "tools/quic/quic_time_wait_list_manager.cc", | 1251 "tools/quic/quic_time_wait_list_manager.cc", |
| 1252 "tools/quic/quic_time_wait_list_manager.h", | 1252 "tools/quic/quic_time_wait_list_manager.h", |
| 1253 "tools/quic/synchronous_host_resolver.cc", | 1253 "tools/quic/synchronous_host_resolver.cc", |
| 1254 "tools/quic/synchronous_host_resolver.h", | 1254 "tools/quic/synchronous_host_resolver.h", |
| 1255 ] | 1255 ] |
| 1256 deps = [ | 1256 deps = [ |
| 1257 ":net", | 1257 ":net", |
| 1258 ":net_quic_proto", | |
| 1259 "//base", | 1258 "//base", |
| 1260 "//base/third_party/dynamic_annotations", | 1259 "//base/third_party/dynamic_annotations", |
| 1261 "//url", | 1260 "//url", |
| 1262 ] | 1261 ] |
| 1263 } | 1262 } |
| 1264 | 1263 |
| 1265 executable("quic_client") { | 1264 executable("quic_client") { |
| 1266 sources = [ | 1265 sources = [ |
| 1267 "tools/quic/quic_simple_client_bin.cc", | 1266 "tools/quic/quic_simple_client_bin.cc", |
| 1268 ] | 1267 ] |
| 1269 deps = [ | 1268 deps = [ |
| 1270 ":net", | 1269 ":net", |
| 1271 ":simple_quic_tools", | 1270 ":simple_quic_tools", |
| 1272 "//base", | 1271 "//base", |
| 1273 "//url", | 1272 "//url", |
| 1274 ] | 1273 ] |
| 1275 } | 1274 } |
| 1276 | 1275 |
| 1277 executable("quic_server") { | 1276 executable("quic_server") { |
| 1278 sources = [ | 1277 sources = [ |
| 1279 "tools/quic/quic_simple_server_bin.cc", | 1278 "tools/quic/quic_simple_server_bin.cc", |
| 1280 ] | 1279 ] |
| 1281 deps = [ | 1280 deps = [ |
| 1282 ":net", | 1281 ":net", |
| 1283 ":net_quic_proto", | |
| 1284 ":simple_quic_tools", | 1282 ":simple_quic_tools", |
| 1285 "//base", | 1283 "//base", |
| 1286 "//third_party/boringssl", | 1284 "//third_party/boringssl", |
| 1285 "//third_party/protobuf:protobuf_lite", |
| 1287 ] | 1286 ] |
| 1288 } | 1287 } |
| 1289 | 1288 |
| 1290 # TODO(GYP) make this compile on Android, we need some native test deps done. | 1289 # TODO(GYP) make this compile on Android, we need some native test deps done. |
| 1291 # TODO(GYP) Also doesn't work on Mac, need to figure out why not. | 1290 # TODO(GYP) Also doesn't work on Mac, need to figure out why not. |
| 1292 if (!is_android && !is_mac) { | 1291 if (!is_android && !is_mac) { |
| 1293 test("net_unittests") { | 1292 test("net_unittests") { |
| 1294 sources = gypi_values.net_test_sources | 1293 sources = gypi_values.net_test_sources |
| 1295 | 1294 |
| 1296 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1295 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1297 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1296 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 1298 defines = [] | 1297 defines = [] |
| 1299 | 1298 |
| 1300 deps = [ | 1299 deps = [ |
| 1301 ":balsa", | 1300 ":balsa", |
| 1302 ":extras", | 1301 ":extras", |
| 1303 ":http_server", | 1302 ":http_server", |
| 1304 ":net", | 1303 ":net", |
| 1305 ":net_quic_proto", | |
| 1306 ":simple_quic_tools", | 1304 ":simple_quic_tools", |
| 1307 ":test_support", | 1305 ":test_support", |
| 1308 "//base", | 1306 "//base", |
| 1309 "//base:i18n", | 1307 "//base:i18n", |
| 1310 "//base:prefs_test_support", | 1308 "//base:prefs_test_support", |
| 1311 "//base/allocator", | 1309 "//base/allocator", |
| 1312 "//base/third_party/dynamic_annotations", | 1310 "//base/third_party/dynamic_annotations", |
| 1313 "//crypto", | 1311 "//crypto", |
| 1314 "//crypto:platform", | 1312 "//crypto:platform", |
| 1315 "//crypto:test_support", | 1313 "//crypto:test_support", |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1618 } else { | 1616 } else { |
| 1619 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1617 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
| 1620 } | 1618 } |
| 1621 | 1619 |
| 1622 if (is_win && icu_use_data_file) { | 1620 if (is_win && icu_use_data_file) { |
| 1623 # This is needed to trigger the dll copy step on windows. | 1621 # This is needed to trigger the dll copy step on windows. |
| 1624 # TODO(mark): Specifying this here shouldn't be necessary. | 1622 # TODO(mark): Specifying this here shouldn't be necessary. |
| 1625 deps += [ "//third_party/icu:icudata" ] | 1623 deps += [ "//third_party/icu:icudata" ] |
| 1626 } | 1624 } |
| 1627 } | 1625 } |
| OLD | NEW |