blob: de904b69d0379522604734c1560886fcf85de7be [file] [log] [blame]
[email protected]2f80c312009-02-25 21:26:551# Copyright (c) 2009 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6 'variables': {
7 'chromium_code': 1,
8 },
9 'includes': [
10 '../build/common.gypi',
11 ],
12 'targets': [
13 {
14 'target_name': 'net',
[email protected]653bd5f032009-04-08 12:55:4915 'type': '<(library)',
[email protected]2f80c312009-02-25 21:26:5516 'dependencies': [
17 '../base/base.gyp:base',
18 '../build/temp_gyp/googleurl.gyp:googleurl',
19 '../sdch/sdch.gyp:sdch',
[email protected]d0644282009-04-22 00:20:2920 # TODO: various targets end up using
[email protected]ff007e162009-05-23 09:13:1521 # testing::internal::AssertHelper through references here.
[email protected]d0644282009-04-22 00:20:2922 # Good candidate for refactoring.
23 '../testing/gtest.gyp:gtest',
[email protected]2f80c312009-02-25 21:26:5524 '../third_party/bzip2/bzip2.gyp:bzip2',
25 '../third_party/icu38/icu38.gyp:icui18n',
26 '../third_party/icu38/icu38.gyp:icuuc',
27 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
28 '../third_party/zlib/zlib.gyp:zlib',
[email protected]ef36c74c2009-03-11 13:32:2229 'net_resources',
[email protected]2f80c312009-02-25 21:26:5530 ],
[email protected]0d54d2e2009-03-10 22:25:5431 'msvs_guid': '326E9795-E760-410A-B69A-3F79DB3F5243',
[email protected]2f80c312009-02-25 21:26:5532 'sources': [
33 'base/address_list.cc',
34 'base/address_list.h',
35 'base/auth.h',
36 'base/base64.cc',
37 'base/base64.h',
38 'base/bzip2_filter.cc',
39 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2040 'base/cache_type.h',
[email protected]2f80c312009-02-25 21:26:5541 'base/cert_status_flags.cc',
42 'base/cert_status_flags.h',
43 'base/cert_verifier.cc',
44 'base/cert_verifier.h',
45 'base/cert_verify_result.h',
[email protected]2f80c312009-02-25 21:26:5546 'base/completion_callback.h',
47 'base/connection_type_histograms.cc',
48 'base/connection_type_histograms.h',
49 'base/cookie_monster.cc',
50 'base/cookie_monster.h',
51 'base/cookie_policy.cc',
52 'base/cookie_policy.h',
53 'base/data_url.cc',
54 'base/data_url.h',
55 'base/directory_lister.cc',
56 'base/directory_lister.h',
[email protected]2f80c312009-02-25 21:26:5557 'base/effective_tld_names.cc',
58 'base/effective_tld_names.dat',
59 'base/escape.cc',
60 'base/escape.h',
61 'base/ev_root_ca_metadata.cc',
62 'base/ev_root_ca_metadata.h',
63 'base/file_stream.h',
64 'base/file_stream_posix.cc',
65 'base/file_stream_win.cc',
66 'base/filter.cc',
67 'base/filter.h',
[email protected]a9cea7542009-05-20 04:30:2368 'base/force_tls_state.cc',
69 'base/force_tls_state.h',
[email protected]2f80c312009-02-25 21:26:5570 'base/gzip_filter.cc',
71 'base/gzip_filter.h',
72 'base/gzip_header.cc',
73 'base/gzip_header.h',
[email protected]8a00f00a2009-06-12 00:49:3874 'base/host_cache.cc',
75 'base/host_cache.h',
[email protected]2f80c312009-02-25 21:26:5576 'base/host_resolver.cc',
77 'base/host_resolver.h',
78 'base/io_buffer.cc',
79 'base/io_buffer.h',
80 'base/listen_socket.cc',
81 'base/listen_socket.h',
82 'base/load_flags.h',
[email protected]48ab71e2009-06-22 19:19:1683 'base/load_states.h',
[email protected]2f80c312009-02-25 21:26:5584 'base/mime_sniffer.cc',
85 'base/mime_sniffer.h',
86 'base/mime_util.cc',
87 'base/mime_util.h',
88 'base/net_error_list.h',
89 'base/net_errors.cc',
90 'base/net_errors.h',
91 'base/net_module.cc',
92 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:5593 'base/net_util.cc',
94 'base/net_util.h',
95 'base/net_util_posix.cc',
96 'base/net_util_win.cc',
97 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:0098 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:5599 'base/platform_mime_util.h',
100 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
101 'base/platform_mime_util_linux.cc',
102 'base/platform_mime_util_mac.cc',
103 'base/platform_mime_util_win.cc',
104 'base/registry_controlled_domain.cc',
105 'base/registry_controlled_domain.h',
106 'base/scoped_cert_chain_context.h',
107 'base/sdch_filter.cc',
108 'base/sdch_filter.h',
109 'base/sdch_manager.cc',
110 'base/sdch_manager.h',
[email protected]0b45559b2009-06-12 21:45:11111 'base/ssl_cert_request_info.h',
[email protected]56c866a22009-06-18 19:38:58112 'base/ssl_client_auth_cache.cc',
113 'base/ssl_client_auth_cache.h',
[email protected]2f80c312009-02-25 21:26:55114 'base/ssl_config_service.cc',
115 'base/ssl_config_service.h',
116 'base/ssl_info.h',
[email protected]d022e4e2009-06-23 04:13:00117 'base/tcp_pinger.h',
[email protected]2f80c312009-02-25 21:26:55118 'base/telnet_server.cc',
119 'base/telnet_server.h',
[email protected]d022e4e2009-06-23 04:13:00120 'base/test_completion_callback.h',
[email protected]2f80c312009-02-25 21:26:55121 'base/upload_data.cc',
122 'base/upload_data.h',
123 'base/upload_data_stream.cc',
124 'base/upload_data_stream.h',
125 'base/wininet_util.cc',
126 'base/wininet_util.h',
127 'base/winsock_init.cc',
128 'base/winsock_init.h',
129 'base/x509_certificate.cc',
130 'base/x509_certificate.h',
131 'base/x509_certificate_mac.cc',
132 'base/x509_certificate_nss.cc',
133 'base/x509_certificate_win.cc',
134 'build/precompiled_net.cc',
135 'build/precompiled_net.h',
136 'disk_cache/addr.cc',
137 'disk_cache/addr.h',
138 'disk_cache/backend_impl.cc',
139 'disk_cache/backend_impl.h',
[email protected]84d4cee2009-06-18 23:46:58140 'disk_cache/bitmap.cc',
141 'disk_cache/bitmap.h',
[email protected]2f80c312009-02-25 21:26:55142 'disk_cache/block_files.cc',
143 'disk_cache/block_files.h',
144 'disk_cache/cache_util.h',
145 'disk_cache/cache_util_posix.cc',
146 'disk_cache/cache_util_win.cc',
147 'disk_cache/disk_cache.h',
148 'disk_cache/disk_format.h',
149 'disk_cache/entry_impl.cc',
150 'disk_cache/entry_impl.h',
151 'disk_cache/errors.h',
152 'disk_cache/eviction.cc',
153 'disk_cache/eviction.h',
154 'disk_cache/file.h',
155 'disk_cache/file_block.h',
156 'disk_cache/file_lock.cc',
157 'disk_cache/file_lock.h',
158 'disk_cache/file_posix.cc',
159 'disk_cache/file_win.cc',
160 'disk_cache/hash.cc',
161 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34162 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55163 'disk_cache/mapped_file.h',
164 'disk_cache/mapped_file_posix.cc',
165 'disk_cache/mapped_file_win.cc',
166 'disk_cache/mem_backend_impl.cc',
167 'disk_cache/mem_backend_impl.h',
168 'disk_cache/mem_entry_impl.cc',
169 'disk_cache/mem_entry_impl.h',
170 'disk_cache/mem_rankings.cc',
171 'disk_cache/mem_rankings.h',
172 'disk_cache/rankings.cc',
173 'disk_cache/rankings.h',
[email protected]84d4cee2009-06-18 23:46:58174 'disk_cache/sparse_control.cc',
175 'disk_cache/sparse_control.h',
[email protected]2f80c312009-02-25 21:26:55176 'disk_cache/stats.cc',
177 'disk_cache/stats.h',
178 'disk_cache/stats_histogram.cc',
179 'disk_cache/stats_histogram.h',
180 'disk_cache/storage_block-inl.h',
181 'disk_cache/storage_block.h',
182 'disk_cache/trace.cc',
183 'disk_cache/trace.h',
184 'ftp/ftp_auth_cache.cc',
185 'ftp/ftp_auth_cache.h',
[email protected]fffc27d52009-03-19 23:26:27186 'ftp/ftp_directory_parser.cc',
187 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55188 'ftp/ftp_network_layer.cc',
189 'ftp/ftp_network_layer.h',
190 'ftp/ftp_network_session.h',
191 'ftp/ftp_network_transaction.cc',
192 'ftp/ftp_network_transaction.h',
193 'ftp/ftp_request_info.h',
194 'ftp/ftp_response_info.h',
195 'ftp/ftp_transaction.h',
196 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41197 'http/des.cc',
198 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55199 'http/http_atom_list.h',
200 'http/http_auth.cc',
201 'http/http_auth.h',
202 'http/http_auth_cache.cc',
203 'http/http_auth_cache.h',
204 'http/http_auth_handler.h',
205 'http/http_auth_handler.cc',
206 'http/http_auth_handler_basic.cc',
207 'http/http_auth_handler_basic.h',
208 'http/http_auth_handler_digest.cc',
209 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41210 'http/http_auth_handler_ntlm.cc',
211 'http/http_auth_handler_ntlm.h',
[email protected]d022e4e2009-06-23 04:13:00212 'http/http_basic_stream.h',
[email protected]fc48db82009-04-28 21:23:39213 'http/http_byte_range.cc',
214 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55215 'http/http_cache.cc',
216 'http/http_cache.h',
217 'http/http_chunked_decoder.cc',
218 'http/http_chunked_decoder.h',
219 'http/http_network_layer.cc',
220 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44221 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55222 'http/http_network_session.h',
223 'http/http_network_transaction.cc',
224 'http/http_network_transaction.h',
225 'http/http_request_info.h',
226 'http/http_response_headers.cc',
227 'http/http_response_headers.h',
228 'http/http_response_info.cc',
229 'http/http_response_info.h',
[email protected]d022e4e2009-06-23 04:13:00230 'http/http_stream.h',
[email protected]2f80c312009-02-25 21:26:55231 'http/http_transaction.h',
232 'http/http_transaction_factory.h',
233 'http/http_util.cc',
234 'http/http_util.h',
235 'http/http_vary_data.cc',
236 'http/http_vary_data.h',
[email protected]d022e4e2009-06-23 04:13:00237 'http/http_version.h',
[email protected]5ae0b862009-02-28 02:02:41238 'http/md4.cc',
239 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50240 'http/partial_data.cc',
241 'http/partial_data.h',
[email protected]7dc52f22009-03-02 22:37:18242 'proxy/proxy_config.cc',
243 'proxy/proxy_config.h',
244 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55245 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56246 'proxy/proxy_config_service_linux.cc',
247 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55248 'proxy/proxy_config_service_win.cc',
249 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18250 'proxy/proxy_info.cc',
251 'proxy/proxy_info.h',
252 'proxy/proxy_list.cc',
253 'proxy/proxy_list.h',
254 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55255 'proxy/proxy_resolver_mac.cc',
[email protected]d022e4e2009-06-23 04:13:00256 'proxy/proxy_resolver_mac.h',
[email protected]6b675b82009-02-26 23:18:32257 'proxy/proxy_resolver_script.h',
258 'proxy/proxy_resolver_v8.cc',
259 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55260 'proxy/proxy_resolver_winhttp.cc',
261 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18262 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55263 'proxy/proxy_script_fetcher.cc',
264 'proxy/proxy_script_fetcher.h',
265 'proxy/proxy_server.cc',
266 'proxy/proxy_server.h',
267 'proxy/proxy_service.cc',
268 'proxy/proxy_service.h',
[email protected]f7984fc62009-06-22 23:26:44269 'socket/client_socket.cc',
270 'socket/client_socket.h',
271 'socket/client_socket_factory.cc',
272 'socket/client_socket_factory.h',
273 'socket/client_socket_handle.cc',
274 'socket/client_socket_handle.h',
275 'socket/client_socket_pool.h',
[email protected]ff579d42009-06-24 15:47:02276 'socket/client_socket_pool_base.cc',
277 'socket/client_socket_pool_base.h',
[email protected]f7984fc62009-06-22 23:26:44278 'socket/socket.h',
[email protected]3cd17242009-06-23 02:59:02279 'socket/socks_client_socket.cc',
280 'socket/socks_client_socket.h',
[email protected]f7984fc62009-06-22 23:26:44281 'socket/ssl_client_socket.h',
282 'socket/ssl_client_socket_mac.cc',
[email protected]d022e4e2009-06-23 04:13:00283 'base/ssl_client_socket_mac.h',
[email protected]f7984fc62009-06-22 23:26:44284 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00285 'socket/ssl_client_socket_nss.h',
[email protected]f7984fc62009-06-22 23:26:44286 'socket/ssl_client_socket_win.cc',
287 'socket/ssl_client_socket_win.h',
288 'socket/ssl_test_util.cc',
289 'socket/ssl_test_util.h',
290 'socket/tcp_client_socket.h',
291 'socket/tcp_client_socket_libevent.cc',
292 'socket/tcp_client_socket_libevent.h',
293 'socket/tcp_client_socket_pool.cc',
294 'socket/tcp_client_socket_pool.h',
295 'socket/tcp_client_socket_win.cc',
296 'socket/tcp_client_socket_win.h',
[email protected]2f80c312009-02-25 21:26:55297 'url_request/url_request.cc',
298 'url_request/url_request.h',
299 'url_request/url_request_about_job.cc',
300 'url_request/url_request_about_job.h',
301 'url_request/url_request_context.h',
302 'url_request/url_request_error_job.cc',
303 'url_request/url_request_error_job.h',
304 'url_request/url_request_file_dir_job.cc',
305 'url_request/url_request_file_dir_job.h',
306 'url_request/url_request_file_job.cc',
307 'url_request/url_request_file_job.h',
308 'url_request/url_request_filter.cc',
309 'url_request/url_request_filter.h',
310 'url_request/url_request_ftp_job.cc',
311 'url_request/url_request_ftp_job.h',
312 'url_request/url_request_http_job.cc',
313 'url_request/url_request_http_job.h',
314 'url_request/url_request_inet_job.cc',
315 'url_request/url_request_inet_job.h',
316 'url_request/url_request_job.cc',
317 'url_request/url_request_job.h',
318 'url_request/url_request_job_manager.cc',
319 'url_request/url_request_job_manager.h',
320 'url_request/url_request_job_metrics.cc',
321 'url_request/url_request_job_metrics.h',
322 'url_request/url_request_job_tracker.cc',
323 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33324 'url_request/url_request_new_ftp_job.cc',
325 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55326 'url_request/url_request_simple_job.cc',
327 'url_request/url_request_simple_job.h',
328 'url_request/url_request_status.h',
329 'url_request/url_request_test_job.cc',
330 'url_request/url_request_test_job.h',
331 'url_request/url_request_view_cache_job.cc',
332 'url_request/url_request_view_cache_job.h',
333 ],
334 'sources!': [
335 'build/precompiled_net.h',
336 'build/precompiled_net.cc',
337 ],
338 'export_dependent_settings': [
339 '../base/base.gyp:base',
340 ],
341 'conditions': [
[email protected]c61f6432009-04-22 01:16:42342 ['javascript_engine=="v8"', {
343 'dependencies': [
[email protected]44531a22009-04-28 21:37:56344 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42345 ],
346 }],
[email protected]9d384032009-03-20 23:13:26347 [ 'OS == "linux"', {
348 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56349 '../build/linux/system.gyp:gconf',
350 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26351 '../build/linux/system.gyp:nss',
352 ],
353 }],
[email protected]2f80c312009-02-25 21:26:55354 [ 'OS == "win"', {
355 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
356 'sources!': [
[email protected]f7984fc62009-06-22 23:26:44357 'socket/tcp_client_socket_libevent.cc',
[email protected]2f80c312009-02-25 21:26:55358 ],
359 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55360 'tld_cleanup',
361 ],
362 'configurations': {
363 'Debug': {
364 'msvs_precompiled_header': 'build/precompiled_net.h',
365 'msvs_precompiled_source': 'build/precompiled_net.cc',
366 },
367 },
368 },
369 { # else: OS != "win"
370 'sources!': [
371 'base/ssl_config_service.cc',
372 'base/wininet_util.cc',
373 'base/winsock_init.cc',
374 'proxy/proxy_resolver_winhttp.cc',
375 'url_request/url_request_ftp_job.cc',
376 'url_request/url_request_inet_job.cc',
377 ],
378 },
379 ],
380 [ 'OS == "linux"', {
381 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55382 },
383 { # else: OS != "linux"
384 'sources!': [
385 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00386 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55387 'base/x509_certificate_nss.cc',
[email protected]f7984fc62009-06-22 23:26:44388 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00389 'socket/ssl_client_socket_nss.h',
[email protected]2f80c312009-02-25 21:26:55390 ],
391 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
392 'dependencies': [
393 '../third_party/icu38/icu38.gyp:icui18n',
394 '../third_party/icu38/icu38.gyp:icuuc',
395 ],
396 },
397 ],
398 [ 'OS == "mac"', {
399 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
400 'link_settings': {
401 'libraries': [
402 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
403 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
404 ]
405 },
406 },
407 ],
[email protected]2f80c312009-02-25 21:26:55408 ],
409 },
410 {
411 'target_name': 'net_unittests',
412 'type': 'executable',
413 'dependencies': [
414 'net',
[email protected]6718b412009-03-04 18:26:00415 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55416 '../base/base.gyp:base',
417 '../testing/gtest.gyp:gtest',
418 ],
[email protected]9e450f22009-03-10 23:12:16419 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55420 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38421 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55422 'base/base64_unittest.cc',
423 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55424 'base/cookie_monster_unittest.cc',
425 'base/cookie_policy_unittest.cc',
426 'base/data_url_unittest.cc',
427 'base/directory_lister_unittest.cc',
428 'base/escape_unittest.cc',
429 'base/file_stream_unittest.cc',
430 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27431 'base/filter_unittest.h',
[email protected]c26a25a2009-06-02 02:37:05432 'base/force_tls_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55433 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38434 'base/host_cache_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55435 'base/host_resolver_unittest.cc',
[email protected]d022e4e2009-06-23 04:13:00436 'base/host_resolver_unittest.h',
[email protected]2f80c312009-02-25 21:26:55437 'base/listen_socket_unittest.cc',
438 'base/listen_socket_unittest.h',
439 'base/mime_sniffer_unittest.cc',
440 'base/mime_util_unittest.cc',
441 'base/net_util_unittest.cc',
442 'base/registry_controlled_domain_unittest.cc',
443 'base/run_all_unittests.cc',
444 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58445 'base/ssl_client_auth_cache_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55446 'base/ssl_config_service_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55447 'base/telnet_server_unittest.cc',
448 'base/test_completion_callback_unittest.cc',
449 'base/wininet_util_unittest.cc',
450 'base/x509_certificate_unittest.cc',
451 'disk_cache/addr_unittest.cc',
452 'disk_cache/backend_unittest.cc',
[email protected]84d4cee2009-06-18 23:46:58453 'disk_cache/bitmap_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55454 'disk_cache/block_files_unittest.cc',
455 'disk_cache/disk_cache_test_base.cc',
456 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55457 'disk_cache/entry_unittest.cc',
458 'disk_cache/mapped_file_unittest.cc',
459 'disk_cache/storage_block_unittest.cc',
460 'ftp/ftp_auth_cache_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37461 'ftp/ftp_network_transaction_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41462 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55463 'http/http_auth_cache_unittest.cc',
464 'http/http_auth_handler_basic_unittest.cc',
465 'http/http_auth_handler_digest_unittest.cc',
466 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39467 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55468 'http/http_cache_unittest.cc',
469 'http/http_chunked_decoder_unittest.cc',
470 'http/http_network_layer_unittest.cc',
471 'http/http_network_transaction_unittest.cc',
472 'http/http_response_headers_unittest.cc',
473 'http/http_transaction_unittest.cc',
474 'http/http_transaction_unittest.h',
475 'http/http_util_unittest.cc',
476 'http/http_vary_data_unittest.cc',
[email protected]861c6c62009-04-20 16:50:56477 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57478 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23479 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18480 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32481 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55482 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31483 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55484 'proxy/proxy_service_unittest.cc',
[email protected]f7984fc62009-06-22 23:26:44485 'socket/ssl_client_socket_unittest.cc',
486 'socket/tcp_client_socket_pool_unittest.cc',
487 'socket/tcp_client_socket_unittest.cc',
488 'socket/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55489 'url_request/url_request_unittest.cc',
490 'url_request/url_request_unittest.h',
491 ],
492 'conditions': [
[email protected]861c6c62009-04-20 16:50:56493 [ 'OS == "win"', {
494 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
495 },
496 ],
[email protected]2f80c312009-02-25 21:26:55497 [ 'OS != "win"', {
498 'sources!': [
499 'base/wininet_util_unittest.cc',
500 ],
501 },
502 ],
503 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56504 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26505 'dependencies': [
506 '../build/linux/system.gyp:gtk',
507 ],
[email protected]2f80c312009-02-25 21:26:55508 'sources!': [
509 'base/sdch_filter_unittest.cc',
510 'base/ssl_config_service_unittest.cc',
511 ],
512 },
513 ],
514 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56515 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55516 'sources!': [
517 'base/ssl_config_service_unittest.cc',
518 ],
519 },
520 ],
521 # This is needed to trigger the dll copy step on windows.
522 # TODO(mark): Specifying this here shouldn't be necessary.
523 [ 'OS == "win"', {
524 'dependencies': [
525 '../third_party/icu38/icu38.gyp:icudata',
526 ],
527 },
528 ],
529 ],
530 },
531 {
532 'target_name': 'net_perftests',
533 'type': 'executable',
534 'dependencies': [
535 'net',
[email protected]6718b412009-03-04 18:26:00536 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55537 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45538 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55539 '../testing/gtest.gyp:gtest',
540 ],
[email protected]9e450f22009-03-10 23:12:16541 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55542 'sources': [
[email protected]2f80c312009-02-25 21:26:55543 'base/cookie_monster_perftest.cc',
544 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33545 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55546 ],
547 'conditions': [
548 # This is needed to trigger the dll copy step on windows.
549 # TODO(mark): Specifying this here shouldn't be necessary.
550 [ 'OS == "win"', {
551 'dependencies': [
552 '../third_party/icu38/icu38.gyp:icudata',
553 ],
554 },
555 ],
556 ],
557 },
558 {
559 'target_name': 'stress_cache',
560 'type': 'executable',
561 'dependencies': [
562 'net',
[email protected]6718b412009-03-04 18:26:00563 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55564 '../base/base.gyp:base',
565 ],
566 'sources': [
[email protected]2f80c312009-02-25 21:26:55567 'disk_cache/stress_cache.cc',
568 ],
569 },
570 {
571 'target_name': 'tld_cleanup',
572 'type': 'executable',
573 'dependencies': [
574 '../base/base.gyp:base',
575 '../build/temp_gyp/googleurl.gyp:googleurl',
576 ],
[email protected]b8234462009-03-18 02:30:55577 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55578 'sources': [
579 'tools/tld_cleanup/tld_cleanup.cc',
580 ],
581 },
582 {
583 'target_name': 'crash_cache',
584 'type': 'executable',
585 'dependencies': [
586 'net',
[email protected]6718b412009-03-04 18:26:00587 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55588 '../base/base.gyp:base',
589 ],
[email protected]9e450f22009-03-10 23:12:16590 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55591 'sources': [
592 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00593 ],
594 },
595 {
596 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49597 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00598 'dependencies': [
599 'net',
600 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15601 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00602 ],
603 'sources': [
[email protected]2f80c312009-02-25 21:26:55604 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00605 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50606 'proxy/proxy_config_service_common_unittest.cc',
607 'proxy/proxy_config_service_common_unittest.h',
[email protected]f7984fc62009-06-22 23:26:44608 'socket/socket_test_util.cc',
609 'socket/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55610 ],
611 },
[email protected]ef36c74c2009-03-11 13:32:22612 {
613 'target_name': 'net_resources',
614 'type': 'none',
615 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
616 'rules': [
[email protected]2f80c312009-02-25 21:26:55617 {
[email protected]ef36c74c2009-03-11 13:32:22618 'rule_name': 'grit',
619 'extension': 'grd',
620 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00621 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55622 ],
[email protected]ef36c74c2009-03-11 13:32:22623 'outputs': [
624 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
625 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
626 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55627 ],
[email protected]ef36c74c2009-03-11 13:32:22628 'action':
629 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35630 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55631 },
[email protected]6718b412009-03-04 18:26:00632 ],
[email protected]ef36c74c2009-03-11 13:32:22633 'sources': [
634 'base/net_resources.grd',
635 ],
636 'direct_dependent_settings': {
637 'include_dirs': [
638 '<(SHARED_INTERMEDIATE_DIR)/net',
639 ],
640 },
[email protected]b392f3e2009-05-11 20:01:24641 'conditions': [
642 ['OS=="win"', {
643 'dependencies': ['../build/win/system.gyp:cygwin'],
644 }],
645 ],
[email protected]ef36c74c2009-03-11 13:32:22646 },
[email protected]75b91f92009-06-17 07:28:48647 {
648 'target_name': 'fetch_client',
649 'type': 'executable',
650 'dependencies': [
651 'net',
652 '../base/base.gyp:base',
653 '../base/base.gyp:test_support_base',
654 '../testing/gtest.gyp:gtest',
655 ],
656 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
657 'sources': [
658 'tools/fetch/fetch_client.cc',
659 ],
660 },
[email protected]fe4f06d2009-06-17 07:58:05661 {
662 'target_name': 'fetch_server',
663 'type': 'executable',
664 'dependencies': [
665 'net',
666 '../base/base.gyp:base',
667 '../base/base.gyp:test_support_base',
668 '../testing/gtest.gyp:gtest',
669 ],
670 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
671 'sources': [
672 'tools/fetch/fetch_server.cc',
673 'tools/fetch/http_listen_socket.cc',
674 'tools/fetch/http_listen_socket.h',
675 'tools/fetch/http_server.cc',
676 'tools/fetch/http_server.h',
[email protected]d022e4e2009-06-23 04:13:00677 'tools/fetch/http_server_request_info.h',
678 'tools/fetch/http_server_response_info.h',
[email protected]fe4f06d2009-06-17 07:58:05679 'tools/fetch/http_session.cc',
680 'tools/fetch/http_session.h',
681 ],
682 },
[email protected]ef36c74c2009-03-11 13:32:22683 ],
684 'conditions': [
[email protected]6718b412009-03-04 18:26:00685 ['OS=="win"', {
686 'targets': [
[email protected]2f80c312009-02-25 21:26:55687 {
688 # TODO(port): dump_cache is still Windows-specific.
689 'target_name': 'dump_cache',
690 'type': 'executable',
691 'dependencies': [
692 'net',
693 '../base/base.gyp:base',
694 ],
695 'sources': [
696 'tools/dump_cache/dump_cache.cc',
697 'tools/dump_cache/dump_files.cc',
698 'tools/dump_cache/upgrade.cc',
699 ],
700 },
701 ],
702 }],
[email protected]2f80c312009-02-25 21:26:55703 ],
704}