Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: net/net.gyp

Issue 1036023002: Move remaining QUIC server files from net/quic/ to net/tools/quic/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: correctly fix cronet Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/BUILD.gn ('k') | net/net.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 'linux_link_kerberos%': 0, 9 'linux_link_kerberos%': 0,
10 'conditions': [ 10 'conditions': [
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 '../testing/gmock.gyp:gmock', 107 '../testing/gmock.gyp:gmock',
108 '../testing/gtest.gyp:gtest', 108 '../testing/gtest.gyp:gtest',
109 '../third_party/zlib/zlib.gyp:zlib', 109 '../third_party/zlib/zlib.gyp:zlib',
110 '../url/url.gyp:url_lib', 110 '../url/url.gyp:url_lib',
111 'balsa', 111 'balsa',
112 'http_server', 112 'http_server',
113 'net', 113 'net',
114 'net_derived_sources', 114 'net_derived_sources',
115 'net_extras', 115 'net_extras',
116 'net_test_support', 116 'net_test_support',
117 'quic_tools',
118 'simple_quic_tools', 117 'simple_quic_tools',
119 ], 118 ],
120 'sources': [ 119 'sources': [
121 '<@(net_test_sources)', 120 '<@(net_test_sources)',
122 ], 121 ],
123 'conditions': [ 122 'conditions': [
124 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { 123 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
125 'dependencies': [ 124 'dependencies': [
125 'epoll_quic_tools',
126 'epoll_server', 126 'epoll_server',
127 'flip_in_mem_edsm_server_base', 127 'flip_in_mem_edsm_server_base',
128 'quic_base',
129 ], 128 ],
130 'sources': [ 129 'sources': [
131 '<@(net_linux_test_sources)', 130 '<@(net_linux_test_sources)',
132 ], 131 ],
133 }], 132 }],
134 ['OS == "mac" or OS == "ios"', { 133 ['OS == "mac" or OS == "ios"', {
135 'sources': [ 134 'sources': [
136 '<@(net_base_test_mac_ios_sources)', 135 '<@(net_base_test_mac_ios_sources)',
137 ], 136 ],
138 }], 137 }],
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 'tools/dump_cache/simple_cache_dumper.h', 765 'tools/dump_cache/simple_cache_dumper.h',
767 'tools/dump_cache/url_to_filename_encoder.cc', 766 'tools/dump_cache/url_to_filename_encoder.cc',
768 'tools/dump_cache/url_to_filename_encoder.h', 767 'tools/dump_cache/url_to_filename_encoder.h',
769 'tools/dump_cache/url_utilities.cc', 768 'tools/dump_cache/url_utilities.cc',
770 'tools/dump_cache/url_utilities.h', 769 'tools/dump_cache/url_utilities.h',
771 ], 770 ],
772 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 771 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
773 'msvs_disabled_warnings': [4267, ], 772 'msvs_disabled_warnings': [4267, ],
774 }, 773 },
775 { 774 {
776 # This is a temporary target which will be merged into 'net' once the
777 # dependency on balsa is eliminated and the classes are actually used.
778 'target_name': 'quic_tools',
779 'type': 'static_library',
780 'dependencies': [
781 '../base/base.gyp:base',
782 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
783 '../url/url.gyp:url_lib',
784 'net',
785 'simple_quic_tools',
786 ],
787 'sources': [
788 'quic/quic_per_connection_packet_writer.cc',
789 'quic/quic_per_connection_packet_writer.h',
790 'quic/quic_server.cc',
791 'quic/quic_server.h',
792 'quic/quic_server_packet_writer.cc',
793 'quic/quic_server_packet_writer.h',
794 ],
795 },
796 {
797 'target_name': 'simple_quic_tools', 775 'target_name': 'simple_quic_tools',
798 'type': 'static_library', 776 'type': 'static_library',
799 'dependencies': [ 777 'dependencies': [
800 '../base/base.gyp:base', 778 '../base/base.gyp:base',
801 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 779 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
802 '../url/url.gyp:url_lib', 780 '../url/url.gyp:url_lib',
803 'net', 781 'net',
804 ], 782 ],
805 'sources': [ 783 'sources': [
806 'tools/quic/quic_client_session.cc', 784 'tools/quic/quic_client_session.cc',
807 'tools/quic/quic_client_session.h', 785 'tools/quic/quic_client_session.h',
808 'tools/quic/quic_dispatcher.cc', 786 'tools/quic/quic_dispatcher.cc',
809 'tools/quic/quic_dispatcher.h', 787 'tools/quic/quic_dispatcher.h',
810 'tools/quic/quic_in_memory_cache.cc', 788 'tools/quic/quic_in_memory_cache.cc',
811 'tools/quic/quic_in_memory_cache.h', 789 'tools/quic/quic_in_memory_cache.h',
812 'tools/quic/quic_per_connection_packet_writer.cc', 790 'tools/quic/quic_per_connection_packet_writer.cc',
813 'tools/quic/quic_per_connection_packet_writer.h', 791 'tools/quic/quic_per_connection_packet_writer.h',
814 'tools/quic/quic_server_session.cc', 792 'tools/quic/quic_server_session.cc',
815 'tools/quic/quic_server_session.h', 793 'tools/quic/quic_server_session.h',
816 'tools/quic/quic_simple_client.cc', 794 'tools/quic/quic_simple_client.cc',
817 'tools/quic/quic_simple_client.h', 795 'tools/quic/quic_simple_client.h',
796 'tools/quic/quic_simple_per_connection_packet_writer.cc',
797 'tools/quic/quic_simple_per_connection_packet_writer.h',
798 'tools/quic/quic_simple_server.cc',
799 'tools/quic/quic_simple_server.h',
800 'tools/quic/quic_simple_server_packet_writer.cc',
801 'tools/quic/quic_simple_server_packet_writer.h',
818 'tools/quic/quic_spdy_client_stream.cc', 802 'tools/quic/quic_spdy_client_stream.cc',
819 'tools/quic/quic_spdy_client_stream.h', 803 'tools/quic/quic_spdy_client_stream.h',
820 'tools/quic/quic_spdy_server_stream.cc', 804 'tools/quic/quic_spdy_server_stream.cc',
821 'tools/quic/quic_spdy_server_stream.h', 805 'tools/quic/quic_spdy_server_stream.h',
822 'tools/quic/quic_time_wait_list_manager.cc', 806 'tools/quic/quic_time_wait_list_manager.cc',
823 'tools/quic/quic_time_wait_list_manager.h', 807 'tools/quic/quic_time_wait_list_manager.h',
824 'tools/quic/synchronous_host_resolver.cc', 808 'tools/quic/synchronous_host_resolver.cc',
825 'tools/quic/synchronous_host_resolver.h', 809 'tools/quic/synchronous_host_resolver.h',
826 ], 810 ],
827 }, 811 },
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 '../base/base.gyp:base', 1064 '../base/base.gyp:base',
1081 '../base/base.gyp:test_support_base', 1065 '../base/base.gyp:test_support_base',
1082 '../testing/gtest.gyp:gtest', 1066 '../testing/gtest.gyp:gtest',
1083 'net_test_support', 1067 'net_test_support',
1084 ], 1068 ],
1085 'sources': [ 1069 'sources': [
1086 'tools/testserver/run_testserver.cc', 1070 'tools/testserver/run_testserver.cc',
1087 ], 1071 ],
1088 }, 1072 },
1089 { 1073 {
1090 'target_name': 'simple_quic_client', 1074 'target_name': 'quic_client',
1091 'type': 'executable', 1075 'type': 'executable',
1092 'dependencies': [ 1076 'dependencies': [
1093 '../base/base.gyp:base', 1077 '../base/base.gyp:base',
1094 '../url/url.gyp:url_lib', 1078 '../url/url.gyp:url_lib',
1095 'net', 1079 'net',
1096 'simple_quic_tools', 1080 'simple_quic_tools',
1097 ], 1081 ],
1098 'sources': [ 1082 'sources': [
1099 'tools/quic/quic_simple_client_bin.cc', 1083 'tools/quic/quic_simple_client_bin.cc',
1100 ], 1084 ],
1101 }, 1085 },
1102 { 1086 {
1087 'target_name': 'quic_server',
1088 'type': 'executable',
1089 'dependencies': [
1090 '../base/base.gyp:base',
1091 'net',
1092 'simple_quic_tools',
1093 ],
1094 'sources': [
1095 'tools/quic/quic_simple_server_bin.cc',
1096 ],
1097 },
1098 {
1103 'target_name': 'stress_cache', 1099 'target_name': 'stress_cache',
1104 'type': 'executable', 1100 'type': 'executable',
1105 'dependencies': [ 1101 'dependencies': [
1106 '../base/base.gyp:base', 1102 '../base/base.gyp:base',
1107 'net', 1103 'net',
1108 'net_test_support', 1104 'net_test_support',
1109 ], 1105 ],
1110 'sources': [ 1106 'sources': [
1111 'tools/stress_cache/stress_cache.cc', 1107 'tools/stress_cache/stress_cache.cc',
1112 ], 1108 ],
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 'dependencies': [ 1216 'dependencies': [
1221 '../base/base.gyp:base', 1217 '../base/base.gyp:base',
1222 'flip_in_mem_edsm_server_base', 1218 'flip_in_mem_edsm_server_base',
1223 'net', 1219 'net',
1224 ], 1220 ],
1225 'sources': [ 1221 'sources': [
1226 'tools/flip_server/flip_in_mem_edsm_server.cc', 1222 'tools/flip_server/flip_in_mem_edsm_server.cc',
1227 ], 1223 ],
1228 }, 1224 },
1229 { 1225 {
1230 'target_name': 'quic_base', 1226 'target_name': 'epoll_quic_tools',
1231 'type': 'static_library', 1227 'type': 'static_library',
1232 'dependencies': [ 1228 'dependencies': [
1233 '../base/base.gyp:base', 1229 '../base/base.gyp:base',
1234 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 1230 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
1235 '../url/url.gyp:url_lib', 1231 '../url/url.gyp:url_lib',
1236 'balsa', 1232 'balsa',
1237 'epoll_server', 1233 'epoll_server',
1238 'net', 1234 'net',
1239 ], 1235 ],
1240 'sources': [ 1236 'sources': [
1241 'tools/quic/quic_client.cc', 1237 'tools/quic/quic_client.cc',
1242 'tools/quic/quic_client.h', 1238 'tools/quic/quic_client.h',
1243 'tools/quic/quic_default_packet_writer.cc', 1239 'tools/quic/quic_default_packet_writer.cc',
1244 'tools/quic/quic_default_packet_writer.h', 1240 'tools/quic/quic_default_packet_writer.h',
1245 'tools/quic/quic_epoll_clock.cc', 1241 'tools/quic/quic_epoll_clock.cc',
1246 'tools/quic/quic_epoll_clock.h', 1242 'tools/quic/quic_epoll_clock.h',
1247 'tools/quic/quic_epoll_connection_helper.cc', 1243 'tools/quic/quic_epoll_connection_helper.cc',
1248 'tools/quic/quic_epoll_connection_helper.h', 1244 'tools/quic/quic_epoll_connection_helper.h',
1249 'tools/quic/quic_packet_reader.cc', 1245 'tools/quic/quic_packet_reader.cc',
1250 'tools/quic/quic_packet_reader.h', 1246 'tools/quic/quic_packet_reader.h',
1251 'tools/quic/quic_packet_writer_wrapper.cc', 1247 'tools/quic/quic_packet_writer_wrapper.cc',
1252 'tools/quic/quic_packet_writer_wrapper.h', 1248 'tools/quic/quic_packet_writer_wrapper.h',
1253 'tools/quic/quic_server.cc', 1249 'tools/quic/quic_server.cc',
1254 'tools/quic/quic_server.h', 1250 'tools/quic/quic_server.h',
1255 'tools/quic/quic_socket_utils.cc', 1251 'tools/quic/quic_socket_utils.cc',
1256 'tools/quic/quic_socket_utils.h', 1252 'tools/quic/quic_socket_utils.h',
1257 ], 1253 ],
1258 }, 1254 },
1259 { 1255 {
1260 'target_name': 'quic_client', 1256 'target_name': 'epoll_quic_client',
1261 'type': 'executable', 1257 'type': 'executable',
1262 'dependencies': [ 1258 'dependencies': [
1263 '../base/base.gyp:base', 1259 '../base/base.gyp:base',
1264 'net', 1260 'net',
1265 'quic_base', 1261 'epoll_quic_tools',
1266 'simple_quic_tools', 1262 'simple_quic_tools',
1267 ], 1263 ],
1268 'sources': [ 1264 'sources': [
1269 'tools/quic/quic_client_bin.cc', 1265 'tools/quic/quic_client_bin.cc',
1270 ], 1266 ],
1271 }, 1267 },
1272 ]
1273 }],
1274 ['os_posix == 1 and OS != "ios" and OS != "android"', {
1275 'targets': [
1276 { 1268 {
1277 'target_name': 'quic_server', 1269 'target_name': 'epoll_quic_server',
1278 'type': 'executable', 1270 'type': 'executable',
1279 'dependencies': [ 1271 'dependencies': [
1280 '../base/base.gyp:base', 1272 '../base/base.gyp:base',
1281 'net', 1273 'net',
1282 'quic_tools', 1274 'epoll_quic_tools',
1283 'simple_quic_tools', 1275 'simple_quic_tools',
1284 ], 1276 ],
1285 'sources': [ 1277 'sources': [
1286 'quic/quic_server_bin.cc', 1278 'tools/quic/quic_server_bin.cc',
1287 ], 1279 ],
1288 }, 1280 },
1289 ] 1281 ]
1290 }], 1282 }],
1291 ['OS=="android"', { 1283 ['OS=="android"', {
1292 'targets': [ 1284 'targets': [
1293 { # The same target as 'net', but with smaller binary size due to 1285 { # The same target as 'net', but with smaller binary size due to
1294 # exclusion of ICU, FTP, FILE and WebSockets support. 1286 # exclusion of ICU, FTP, FILE and WebSockets support.
1295 'target_name': 'net_small', 1287 'target_name': 'net_small',
1296 'variables': { 1288 'variables': {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 '../build/isolate.gypi', 1501 '../build/isolate.gypi',
1510 ], 1502 ],
1511 'sources': [ 1503 'sources': [
1512 'net_unittests.isolate', 1504 'net_unittests.isolate',
1513 ], 1505 ],
1514 }, 1506 },
1515 ], 1507 ],
1516 }], 1508 }],
1517 ], 1509 ],
1518 } 1510 }
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698