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("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 import("//url/config.gni") | 9 import("//url/config.gni") |
10 | 10 |
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1014 deps = [ | 1014 deps = [ |
1015 ":net", | 1015 ":net", |
1016 "//base", | 1016 "//base", |
1017 ] | 1017 ] |
1018 } | 1018 } |
1019 } | 1019 } |
1020 | 1020 |
1021 # TODO(GYP) make this compile on Android, we need some native test deps done. | 1021 # TODO(GYP) make this compile on Android, we need some native test deps done. |
1022 if (!is_android) { | 1022 if (!is_android) { |
1023 | 1023 |
1024 source_set("quic_tools") { | |
wtc
2014/07/02 01:01:40
Why are you deleting this?
dmz
2014/07/02 01:28:16
It's the equivalent to quic_ported_server in net.g
| |
1025 sources = [ | |
1026 "quic/quic_dispatcher.cc", | |
1027 "quic/quic_dispatcher.h", | |
1028 "quic/quic_in_memory_cache.cc", | |
1029 "quic/quic_in_memory_cache.h", | |
1030 "quic/quic_per_connection_packet_writer.cc", | |
1031 "quic/quic_per_connection_packet_writer.h", | |
1032 "quic/quic_server.cc", | |
1033 "quic/quic_server.h", | |
1034 "quic/quic_server_packet_writer.cc", | |
1035 "quic/quic_server_packet_writer.h", | |
1036 "quic/quic_server_session.cc", | |
1037 "quic/quic_server_session.h", | |
1038 "quic/quic_spdy_server_stream.cc", | |
1039 "quic/quic_spdy_server_stream.h", | |
1040 "quic/quic_time_wait_list_manager.cc", | |
1041 "quic/quic_time_wait_list_manager.h", | |
1042 ] | |
1043 deps = [ | |
1044 ":net", | |
1045 "//base", | |
1046 "//base/third_party/dynamic_annotations", | |
1047 "//url", | |
1048 ] | |
1049 } | |
1050 | |
1051 test("net_unittests") { | 1024 test("net_unittests") { |
1052 sources = gypi_values.net_test_sources | 1025 sources = gypi_values.net_test_sources |
1053 | 1026 |
1054 configs += [ ":net_win_size_truncation" ] | 1027 configs += [ ":net_win_size_truncation" ] |
1055 defines = [] | 1028 defines = [] |
1056 | 1029 |
1057 deps = [ | 1030 deps = [ |
1058 ":http_server", | 1031 ":http_server", |
1059 ":net", | 1032 ":net", |
1060 ":quic_tools", | |
1061 ":test_support", | 1033 ":test_support", |
1062 "//base", | 1034 "//base", |
1063 "//base:i18n", | 1035 "//base:i18n", |
1064 "//base/allocator", | 1036 "//base/allocator", |
1065 "//base/third_party/dynamic_annotations", | 1037 "//base/third_party/dynamic_annotations", |
1066 "//crypto", | 1038 "//crypto", |
1067 "//crypto:platform", | 1039 "//crypto:platform", |
1068 "//net/base/registry_controlled_domains", | 1040 "//net/base/registry_controlled_domains", |
1069 "//testing/gmock", | 1041 "//testing/gmock", |
1070 "//testing/gtest", | 1042 "//testing/gtest", |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1306 "base/filename_util_unittest.cc", | 1278 "base/filename_util_unittest.cc", |
1307 "base/net_util_icu_unittest.cc", | 1279 "base/net_util_icu_unittest.cc", |
1308 ] | 1280 ] |
1309 deps -= [ "//base:i18n" ] | 1281 deps -= [ "//base:i18n" ] |
1310 } | 1282 } |
1311 } | 1283 } |
1312 | 1284 |
1313 executable("quic_server") { | 1285 executable("quic_server") { |
1314 sources = [ "quic/quic_server_bin.cc" ] | 1286 sources = [ "quic/quic_server_bin.cc" ] |
1315 deps = [ | 1287 deps = [ |
1316 ":quic_tools", | |
1317 ":net", | 1288 ":net", |
1318 "//base", | 1289 "//base", |
1319 "//third_party/openssl", | 1290 "//third_party/openssl", |
1320 ] | 1291 ] |
1321 } | 1292 } |
1322 | 1293 |
1323 } # !is_android | 1294 } # !is_android |
OLD | NEW |