blob: 0f81b29f5efe707c29d70d624eb72286173a0b78 [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',
20 '../third_party/bzip2/bzip2.gyp:bzip2',
21 '../third_party/icu38/icu38.gyp:icui18n',
22 '../third_party/icu38/icu38.gyp:icuuc',
23 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
24 '../third_party/zlib/zlib.gyp:zlib',
[email protected]ef36c74c2009-03-11 13:32:2225 'net_resources',
[email protected]2f80c312009-02-25 21:26:5526 ],
[email protected]0d54d2e2009-03-10 22:25:5427 'msvs_guid': '326E9795-E760-410A-B69A-3F79DB3F5243',
[email protected]2f80c312009-02-25 21:26:5528 'sources': [
29 'base/address_list.cc',
30 'base/address_list.h',
31 'base/auth.h',
32 'base/base64.cc',
33 'base/base64.h',
34 'base/bzip2_filter.cc',
35 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2036 'base/cache_type.h',
[email protected]2f80c312009-02-25 21:26:5537 'base/cert_status_flags.cc',
38 'base/cert_status_flags.h',
39 'base/cert_verifier.cc',
40 'base/cert_verifier.h',
41 'base/cert_verify_result.h',
[email protected]2f80c312009-02-25 21:26:5542 'base/completion_callback.h',
43 'base/connection_type_histograms.cc',
44 'base/connection_type_histograms.h',
45 'base/cookie_monster.cc',
46 'base/cookie_monster.h',
[email protected]5f450e52009-07-28 13:28:1147 'base/cookie_options.h',
[email protected]2f80c312009-02-25 21:26:5548 'base/cookie_policy.cc',
49 'base/cookie_policy.h',
[email protected]5f450e52009-07-28 13:28:1150 'base/cookie_store.h',
[email protected]2f80c312009-02-25 21:26:5551 'base/data_url.cc',
52 'base/data_url.h',
53 'base/directory_lister.cc',
54 'base/directory_lister.h',
[email protected]2f80c312009-02-25 21:26:5555 'base/effective_tld_names.cc',
56 'base/effective_tld_names.dat',
57 'base/escape.cc',
58 'base/escape.h',
59 'base/ev_root_ca_metadata.cc',
60 'base/ev_root_ca_metadata.h',
61 'base/file_stream.h',
62 'base/file_stream_posix.cc',
63 'base/file_stream_win.cc',
64 'base/filter.cc',
65 'base/filter.h',
[email protected]a9cea7542009-05-20 04:30:2366 'base/force_tls_state.cc',
67 'base/force_tls_state.h',
[email protected]2f80c312009-02-25 21:26:5568 'base/gzip_filter.cc',
69 'base/gzip_filter.h',
70 'base/gzip_header.cc',
71 'base/gzip_header.h',
[email protected]8a00f00a2009-06-12 00:49:3872 'base/host_cache.cc',
73 'base/host_cache.h',
[email protected]2f80c312009-02-25 21:26:5574 'base/host_resolver.cc',
75 'base/host_resolver.h',
[email protected]b59ff372009-07-15 22:04:3276 'base/host_resolver_impl.cc',
77 'base/host_resolver_impl.h',
78 'base/host_resolver_proc.cc',
79 'base/host_resolver_proc.h',
[email protected]2f80c312009-02-25 21:26:5580 'base/io_buffer.cc',
81 'base/io_buffer.h',
82 'base/listen_socket.cc',
83 'base/listen_socket.h',
84 'base/load_flags.h',
[email protected]ec08bb22009-08-12 00:25:1285 'base/load_log.h',
[email protected]48ab71e2009-06-22 19:19:1686 'base/load_states.h',
[email protected]2f80c312009-02-25 21:26:5587 'base/mime_sniffer.cc',
88 'base/mime_sniffer.h',
89 'base/mime_util.cc',
90 'base/mime_util.h',
[email protected]b59ff372009-07-15 22:04:3291 # TODO(eroman): move this into its own test-support target.
92 'base/mock_host_resolver.cc',
93 'base/mock_host_resolver.h',
[email protected]2f80c312009-02-25 21:26:5594 'base/net_error_list.h',
95 'base/net_errors.cc',
96 'base/net_errors.h',
97 'base/net_module.cc',
98 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:5599 'base/net_util.cc',
100 'base/net_util.h',
101 'base/net_util_posix.cc',
102 'base/net_util_win.cc',
103 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00104 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55105 'base/platform_mime_util.h',
106 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
107 'base/platform_mime_util_linux.cc',
108 'base/platform_mime_util_mac.cc',
109 'base/platform_mime_util_win.cc',
110 'base/registry_controlled_domain.cc',
111 'base/registry_controlled_domain.h',
112 'base/scoped_cert_chain_context.h',
113 'base/sdch_filter.cc',
114 'base/sdch_filter.h',
115 'base/sdch_manager.cc',
116 'base/sdch_manager.h',
[email protected]0b45559b2009-06-12 21:45:11117 'base/ssl_cert_request_info.h',
[email protected]56c866a22009-06-18 19:38:58118 'base/ssl_client_auth_cache.cc',
119 'base/ssl_client_auth_cache.h',
[email protected]2f80c312009-02-25 21:26:55120 'base/ssl_config_service.cc',
121 'base/ssl_config_service.h',
122 'base/ssl_info.h',
[email protected]2f80c312009-02-25 21:26:55123 'base/telnet_server.cc',
124 'base/telnet_server.h',
[email protected]d022e4e2009-06-23 04:13:00125 'base/test_completion_callback.h',
[email protected]2f80c312009-02-25 21:26:55126 'base/upload_data.cc',
127 'base/upload_data.h',
128 'base/upload_data_stream.cc',
129 'base/upload_data_stream.h',
130 'base/wininet_util.cc',
131 'base/wininet_util.h',
132 'base/winsock_init.cc',
133 'base/winsock_init.h',
134 'base/x509_certificate.cc',
135 'base/x509_certificate.h',
136 'base/x509_certificate_mac.cc',
137 'base/x509_certificate_nss.cc',
138 'base/x509_certificate_win.cc',
139 'build/precompiled_net.cc',
140 'build/precompiled_net.h',
141 'disk_cache/addr.cc',
142 'disk_cache/addr.h',
143 'disk_cache/backend_impl.cc',
144 'disk_cache/backend_impl.h',
[email protected]84d4cee2009-06-18 23:46:58145 'disk_cache/bitmap.cc',
146 'disk_cache/bitmap.h',
[email protected]2f80c312009-02-25 21:26:55147 'disk_cache/block_files.cc',
148 'disk_cache/block_files.h',
149 'disk_cache/cache_util.h',
150 'disk_cache/cache_util_posix.cc',
151 'disk_cache/cache_util_win.cc',
152 'disk_cache/disk_cache.h',
153 'disk_cache/disk_format.h',
154 'disk_cache/entry_impl.cc',
155 'disk_cache/entry_impl.h',
156 'disk_cache/errors.h',
157 'disk_cache/eviction.cc',
158 'disk_cache/eviction.h',
159 'disk_cache/file.h',
160 'disk_cache/file_block.h',
161 'disk_cache/file_lock.cc',
162 'disk_cache/file_lock.h',
163 'disk_cache/file_posix.cc',
164 'disk_cache/file_win.cc',
165 'disk_cache/hash.cc',
166 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34167 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55168 'disk_cache/mapped_file.h',
169 'disk_cache/mapped_file_posix.cc',
170 'disk_cache/mapped_file_win.cc',
171 'disk_cache/mem_backend_impl.cc',
172 'disk_cache/mem_backend_impl.h',
173 'disk_cache/mem_entry_impl.cc',
174 'disk_cache/mem_entry_impl.h',
175 'disk_cache/mem_rankings.cc',
176 'disk_cache/mem_rankings.h',
177 'disk_cache/rankings.cc',
178 'disk_cache/rankings.h',
[email protected]84d4cee2009-06-18 23:46:58179 'disk_cache/sparse_control.cc',
180 'disk_cache/sparse_control.h',
[email protected]2f80c312009-02-25 21:26:55181 'disk_cache/stats.cc',
182 'disk_cache/stats.h',
183 'disk_cache/stats_histogram.cc',
184 'disk_cache/stats_histogram.h',
185 'disk_cache/storage_block-inl.h',
186 'disk_cache/storage_block.h',
187 'disk_cache/trace.cc',
188 'disk_cache/trace.h',
189 'ftp/ftp_auth_cache.cc',
190 'ftp/ftp_auth_cache.h',
[email protected]c2972192009-07-28 20:30:09191 'ftp/ftp_ctrl_response_buffer.cc',
192 'ftp/ftp_ctrl_response_buffer.h',
[email protected]fffc27d52009-03-19 23:26:27193 'ftp/ftp_directory_parser.cc',
194 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55195 'ftp/ftp_network_layer.cc',
196 'ftp/ftp_network_layer.h',
197 'ftp/ftp_network_session.h',
198 'ftp/ftp_network_transaction.cc',
199 'ftp/ftp_network_transaction.h',
200 'ftp/ftp_request_info.h',
201 'ftp/ftp_response_info.h',
202 'ftp/ftp_transaction.h',
203 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41204 'http/des.cc',
205 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55206 'http/http_atom_list.h',
207 'http/http_auth.cc',
208 'http/http_auth.h',
209 'http/http_auth_cache.cc',
210 'http/http_auth_cache.h',
211 'http/http_auth_handler.h',
212 'http/http_auth_handler.cc',
213 'http/http_auth_handler_basic.cc',
214 'http/http_auth_handler_basic.h',
215 'http/http_auth_handler_digest.cc',
216 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41217 'http/http_auth_handler_ntlm.cc',
218 'http/http_auth_handler_ntlm.h',
[email protected]d022e4e2009-06-23 04:13:00219 'http/http_basic_stream.h',
[email protected]fc48db82009-04-28 21:23:39220 'http/http_byte_range.cc',
221 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55222 'http/http_cache.cc',
223 'http/http_cache.h',
224 'http/http_chunked_decoder.cc',
225 'http/http_chunked_decoder.h',
226 'http/http_network_layer.cc',
227 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44228 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55229 'http/http_network_session.h',
230 'http/http_network_transaction.cc',
231 'http/http_network_transaction.h',
232 'http/http_request_info.h',
233 'http/http_response_headers.cc',
234 'http/http_response_headers.h',
235 'http/http_response_info.cc',
236 'http/http_response_info.h',
[email protected]d022e4e2009-06-23 04:13:00237 'http/http_stream.h',
[email protected]2f80c312009-02-25 21:26:55238 'http/http_transaction.h',
239 'http/http_transaction_factory.h',
240 'http/http_util.cc',
241 'http/http_util.h',
242 'http/http_vary_data.cc',
243 'http/http_vary_data.h',
[email protected]d022e4e2009-06-23 04:13:00244 'http/http_version.h',
[email protected]5ae0b862009-02-28 02:02:41245 'http/md4.cc',
246 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50247 'http/partial_data.cc',
248 'http/partial_data.h',
[email protected]3d4ae9a42009-07-24 03:48:16249 'ocsp/nss_ocsp.cc',
250 'ocsp/nss_ocsp.h',
[email protected]620f5712009-08-04 22:43:12251 'proxy/init_proxy_resolver.cc',
252 'proxy/init_proxy_resolver.h',
[email protected]7dc52f22009-03-02 22:37:18253 'proxy/proxy_config.cc',
254 'proxy/proxy_config.h',
255 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55256 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56257 'proxy/proxy_config_service_linux.cc',
258 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55259 'proxy/proxy_config_service_win.cc',
260 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18261 'proxy/proxy_info.cc',
262 'proxy/proxy_info.h',
263 'proxy/proxy_list.cc',
264 'proxy/proxy_list.h',
265 'proxy/proxy_resolver.h',
[email protected]90ae1fb2009-08-02 21:07:12266 'proxy/proxy_resolver_js_bindings.cc',
267 'proxy/proxy_resolver_js_bindings.h',
[email protected]2f80c312009-02-25 21:26:55268 'proxy/proxy_resolver_mac.cc',
[email protected]d022e4e2009-06-23 04:13:00269 'proxy/proxy_resolver_mac.h',
[email protected]6b675b82009-02-26 23:18:32270 'proxy/proxy_resolver_script.h',
271 'proxy/proxy_resolver_v8.cc',
272 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55273 'proxy/proxy_resolver_winhttp.cc',
274 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18275 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55276 'proxy/proxy_script_fetcher.cc',
277 'proxy/proxy_script_fetcher.h',
278 'proxy/proxy_server.cc',
279 'proxy/proxy_server.h',
280 'proxy/proxy_service.cc',
281 'proxy/proxy_service.h',
[email protected]775fd9e2009-07-26 21:12:20282 'proxy/single_threaded_proxy_resolver.cc',
283 'proxy/single_threaded_proxy_resolver.h',
[email protected]f7984fc62009-06-22 23:26:44284 'socket/client_socket.cc',
285 'socket/client_socket.h',
286 'socket/client_socket_factory.cc',
287 'socket/client_socket_factory.h',
288 'socket/client_socket_handle.cc',
289 'socket/client_socket_handle.h',
290 'socket/client_socket_pool.h',
[email protected]ff579d42009-06-24 15:47:02291 'socket/client_socket_pool_base.cc',
292 'socket/client_socket_pool_base.h',
[email protected]f7984fc62009-06-22 23:26:44293 'socket/socket.h',
[email protected]e0c27be2009-07-15 13:09:35294 'socket/socks5_client_socket.cc',
295 'socket/socks5_client_socket.h',
[email protected]3cd17242009-06-23 02:59:02296 'socket/socks_client_socket.cc',
297 'socket/socks_client_socket.h',
[email protected]f7984fc62009-06-22 23:26:44298 'socket/ssl_client_socket.h',
299 'socket/ssl_client_socket_mac.cc',
[email protected]961427442009-07-15 19:00:47300 'socket/ssl_client_socket_mac.h',
[email protected]f7984fc62009-06-22 23:26:44301 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00302 'socket/ssl_client_socket_nss.h',
[email protected]f7984fc62009-06-22 23:26:44303 'socket/ssl_client_socket_win.cc',
304 'socket/ssl_client_socket_win.h',
305 'socket/ssl_test_util.cc',
306 'socket/ssl_test_util.h',
307 'socket/tcp_client_socket.h',
308 'socket/tcp_client_socket_libevent.cc',
309 'socket/tcp_client_socket_libevent.h',
310 'socket/tcp_client_socket_pool.cc',
311 'socket/tcp_client_socket_pool.h',
312 'socket/tcp_client_socket_win.cc',
313 'socket/tcp_client_socket_win.h',
[email protected]961427442009-07-15 19:00:47314 'socket/tcp_pinger.h',
[email protected]2f80c312009-02-25 21:26:55315 'url_request/url_request.cc',
316 'url_request/url_request.h',
317 'url_request/url_request_about_job.cc',
318 'url_request/url_request_about_job.h',
319 'url_request/url_request_context.h',
320 'url_request/url_request_error_job.cc',
321 'url_request/url_request_error_job.h',
322 'url_request/url_request_file_dir_job.cc',
323 'url_request/url_request_file_dir_job.h',
324 'url_request/url_request_file_job.cc',
325 'url_request/url_request_file_job.h',
326 'url_request/url_request_filter.cc',
327 'url_request/url_request_filter.h',
328 'url_request/url_request_ftp_job.cc',
329 'url_request/url_request_ftp_job.h',
330 'url_request/url_request_http_job.cc',
331 'url_request/url_request_http_job.h',
332 'url_request/url_request_inet_job.cc',
333 'url_request/url_request_inet_job.h',
334 'url_request/url_request_job.cc',
335 'url_request/url_request_job.h',
336 'url_request/url_request_job_manager.cc',
337 'url_request/url_request_job_manager.h',
338 'url_request/url_request_job_metrics.cc',
339 'url_request/url_request_job_metrics.h',
340 'url_request/url_request_job_tracker.cc',
341 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33342 'url_request/url_request_new_ftp_job.cc',
343 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55344 'url_request/url_request_simple_job.cc',
345 'url_request/url_request_simple_job.h',
346 'url_request/url_request_status.h',
347 'url_request/url_request_test_job.cc',
348 'url_request/url_request_test_job.h',
349 'url_request/url_request_view_cache_job.cc',
350 'url_request/url_request_view_cache_job.h',
351 ],
352 'sources!': [
353 'build/precompiled_net.h',
354 'build/precompiled_net.cc',
355 ],
356 'export_dependent_settings': [
357 '../base/base.gyp:base',
358 ],
359 'conditions': [
[email protected]c61f6432009-04-22 01:16:42360 ['javascript_engine=="v8"', {
361 'dependencies': [
[email protected]44531a22009-04-28 21:37:56362 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42363 ],
364 }],
[email protected]9d384032009-03-20 23:13:26365 [ 'OS == "linux"', {
366 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56367 '../build/linux/system.gyp:gconf',
368 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26369 '../build/linux/system.gyp:nss',
370 ],
371 }],
[email protected]2f80c312009-02-25 21:26:55372 [ 'OS == "win"', {
373 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
374 'sources!': [
[email protected]f7984fc62009-06-22 23:26:44375 'socket/tcp_client_socket_libevent.cc',
[email protected]2f80c312009-02-25 21:26:55376 ],
377 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55378 'tld_cleanup',
379 ],
380 'configurations': {
381 'Debug': {
382 'msvs_precompiled_header': 'build/precompiled_net.h',
383 'msvs_precompiled_source': 'build/precompiled_net.cc',
384 },
385 },
386 },
387 { # else: OS != "win"
388 'sources!': [
389 'base/ssl_config_service.cc',
390 'base/wininet_util.cc',
391 'base/winsock_init.cc',
392 'proxy/proxy_resolver_winhttp.cc',
393 'url_request/url_request_ftp_job.cc',
394 'url_request/url_request_inet_job.cc',
395 ],
396 },
397 ],
398 [ 'OS == "linux"', {
399 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55400 },
401 { # else: OS != "linux"
402 'sources!': [
403 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00404 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55405 'base/x509_certificate_nss.cc',
[email protected]3d4ae9a42009-07-24 03:48:16406 'ocsp/nss_ocsp.cc',
407 'ocsp/nss_ocsp.h',
[email protected]f7984fc62009-06-22 23:26:44408 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00409 'socket/ssl_client_socket_nss.h',
[email protected]2f80c312009-02-25 21:26:55410 ],
411 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
412 'dependencies': [
413 '../third_party/icu38/icu38.gyp:icui18n',
414 '../third_party/icu38/icu38.gyp:icuuc',
415 ],
416 },
417 ],
418 [ 'OS == "mac"', {
419 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
420 'link_settings': {
421 'libraries': [
422 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
423 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
424 ]
425 },
426 },
427 ],
[email protected]2f80c312009-02-25 21:26:55428 ],
429 },
430 {
431 'target_name': 'net_unittests',
432 'type': 'executable',
433 'dependencies': [
434 'net',
[email protected]6718b412009-03-04 18:26:00435 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55436 '../base/base.gyp:base',
437 '../testing/gtest.gyp:gtest',
[email protected]e86aaca2009-08-12 17:58:57438 '../third_party/zlib/zlib.gyp:zlib',
[email protected]2f80c312009-02-25 21:26:55439 ],
[email protected]9e450f22009-03-10 23:12:16440 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55441 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38442 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55443 'base/base64_unittest.cc',
444 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55445 'base/cookie_monster_unittest.cc',
446 'base/cookie_policy_unittest.cc',
447 'base/data_url_unittest.cc',
448 'base/directory_lister_unittest.cc',
449 'base/escape_unittest.cc',
450 'base/file_stream_unittest.cc',
451 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27452 'base/filter_unittest.h',
[email protected]c26a25a2009-06-02 02:37:05453 'base/force_tls_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55454 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38455 'base/host_cache_unittest.cc',
[email protected]b59ff372009-07-15 22:04:32456 'base/host_resolver_impl_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55457 'base/listen_socket_unittest.cc',
458 'base/listen_socket_unittest.h',
459 'base/mime_sniffer_unittest.cc',
460 'base/mime_util_unittest.cc',
461 'base/net_util_unittest.cc',
462 'base/registry_controlled_domain_unittest.cc',
463 'base/run_all_unittests.cc',
464 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58465 'base/ssl_client_auth_cache_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55466 'base/ssl_config_service_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55467 'base/telnet_server_unittest.cc',
468 'base/test_completion_callback_unittest.cc',
469 'base/wininet_util_unittest.cc',
470 'base/x509_certificate_unittest.cc',
471 'disk_cache/addr_unittest.cc',
472 'disk_cache/backend_unittest.cc',
[email protected]84d4cee2009-06-18 23:46:58473 'disk_cache/bitmap_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55474 'disk_cache/block_files_unittest.cc',
475 'disk_cache/disk_cache_test_base.cc',
476 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55477 'disk_cache/entry_unittest.cc',
478 'disk_cache/mapped_file_unittest.cc',
479 'disk_cache/storage_block_unittest.cc',
480 'ftp/ftp_auth_cache_unittest.cc',
[email protected]c2972192009-07-28 20:30:09481 'ftp/ftp_ctrl_response_buffer_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37482 'ftp/ftp_network_transaction_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41483 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55484 'http/http_auth_cache_unittest.cc',
485 'http/http_auth_handler_basic_unittest.cc',
486 'http/http_auth_handler_digest_unittest.cc',
487 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39488 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55489 'http/http_cache_unittest.cc',
490 'http/http_chunked_decoder_unittest.cc',
491 'http/http_network_layer_unittest.cc',
492 'http/http_network_transaction_unittest.cc',
493 'http/http_response_headers_unittest.cc',
494 'http/http_transaction_unittest.cc',
495 'http/http_transaction_unittest.h',
496 'http/http_util_unittest.cc',
497 'http/http_vary_data_unittest.cc',
[email protected]620f5712009-08-04 22:43:12498 'proxy/init_proxy_resolver_unittest.cc',
[email protected]c6efbc62009-08-06 12:52:19499 'proxy/mock_proxy_resolver.h',
[email protected]861c6c62009-04-20 16:50:56500 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57501 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23502 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18503 'proxy/proxy_list_unittest.cc',
[email protected]90ae1fb2009-08-02 21:07:12504 'proxy/proxy_resolver_js_bindings_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32505 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55506 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31507 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55508 'proxy/proxy_service_unittest.cc',
[email protected]775fd9e2009-07-26 21:12:20509 'proxy/single_threaded_proxy_resolver_unittest.cc',
[email protected]ab838892009-06-30 18:49:05510 'socket/client_socket_pool_base_unittest.cc',
[email protected]e0c27be2009-07-15 13:09:35511 'socket/socks5_client_socket_unittest.cc',
[email protected]76a51ac82009-06-28 07:58:58512 'socket/socks_client_socket_unittest.cc',
[email protected]f7984fc62009-06-22 23:26:44513 'socket/ssl_client_socket_unittest.cc',
514 'socket/tcp_client_socket_pool_unittest.cc',
515 'socket/tcp_client_socket_unittest.cc',
516 'socket/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55517 'url_request/url_request_unittest.cc',
518 'url_request/url_request_unittest.h',
519 ],
520 'conditions': [
[email protected]861c6c62009-04-20 16:50:56521 [ 'OS == "win"', {
522 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
523 },
524 ],
[email protected]2f80c312009-02-25 21:26:55525 [ 'OS != "win"', {
526 'sources!': [
527 'base/wininet_util_unittest.cc',
528 ],
529 },
530 ],
531 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56532 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26533 'dependencies': [
534 '../build/linux/system.gyp:gtk',
535 ],
[email protected]2f80c312009-02-25 21:26:55536 'sources!': [
537 'base/sdch_filter_unittest.cc',
538 'base/ssl_config_service_unittest.cc',
539 ],
540 },
541 ],
542 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56543 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55544 'sources!': [
545 'base/ssl_config_service_unittest.cc',
546 ],
547 },
548 ],
549 # This is needed to trigger the dll copy step on windows.
550 # TODO(mark): Specifying this here shouldn't be necessary.
551 [ 'OS == "win"', {
552 'dependencies': [
553 '../third_party/icu38/icu38.gyp:icudata',
554 ],
555 },
556 ],
557 ],
558 },
559 {
560 'target_name': 'net_perftests',
561 'type': 'executable',
562 'dependencies': [
563 'net',
[email protected]6718b412009-03-04 18:26:00564 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55565 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45566 '../base/base.gyp:test_support_base',
[email protected]7d1ba9392009-08-03 18:35:06567 '../base/base.gyp:test_support_perf',
[email protected]2f80c312009-02-25 21:26:55568 '../testing/gtest.gyp:gtest',
569 ],
[email protected]9e450f22009-03-10 23:12:16570 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55571 'sources': [
[email protected]2f80c312009-02-25 21:26:55572 'base/cookie_monster_perftest.cc',
573 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33574 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55575 ],
576 'conditions': [
577 # This is needed to trigger the dll copy step on windows.
578 # TODO(mark): Specifying this here shouldn't be necessary.
579 [ 'OS == "win"', {
580 'dependencies': [
581 '../third_party/icu38/icu38.gyp:icudata',
582 ],
583 },
584 ],
585 ],
586 },
587 {
588 'target_name': 'stress_cache',
589 'type': 'executable',
590 'dependencies': [
591 'net',
[email protected]6718b412009-03-04 18:26:00592 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55593 '../base/base.gyp:base',
594 ],
595 'sources': [
[email protected]2f80c312009-02-25 21:26:55596 'disk_cache/stress_cache.cc',
597 ],
598 },
599 {
600 'target_name': 'tld_cleanup',
601 'type': 'executable',
602 'dependencies': [
603 '../base/base.gyp:base',
604 '../build/temp_gyp/googleurl.gyp:googleurl',
605 ],
[email protected]b8234462009-03-18 02:30:55606 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55607 'sources': [
608 'tools/tld_cleanup/tld_cleanup.cc',
609 ],
610 },
611 {
612 'target_name': 'crash_cache',
613 'type': 'executable',
614 'dependencies': [
615 'net',
[email protected]6718b412009-03-04 18:26:00616 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55617 '../base/base.gyp:base',
618 ],
[email protected]9e450f22009-03-10 23:12:16619 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55620 'sources': [
621 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00622 ],
623 },
624 {
625 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49626 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00627 'dependencies': [
628 'net',
629 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15630 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00631 ],
632 'sources': [
[email protected]2f80c312009-02-25 21:26:55633 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00634 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50635 'proxy/proxy_config_service_common_unittest.cc',
636 'proxy/proxy_config_service_common_unittest.h',
[email protected]f7984fc62009-06-22 23:26:44637 'socket/socket_test_util.cc',
638 'socket/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55639 ],
640 },
[email protected]ef36c74c2009-03-11 13:32:22641 {
642 'target_name': 'net_resources',
643 'type': 'none',
644 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
645 'rules': [
[email protected]2f80c312009-02-25 21:26:55646 {
[email protected]ef36c74c2009-03-11 13:32:22647 'rule_name': 'grit',
648 'extension': 'grd',
649 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00650 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55651 ],
[email protected]ef36c74c2009-03-11 13:32:22652 'outputs': [
653 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
654 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
655 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55656 ],
[email protected]ef36c74c2009-03-11 13:32:22657 'action':
658 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35659 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55660 },
[email protected]6718b412009-03-04 18:26:00661 ],
[email protected]ef36c74c2009-03-11 13:32:22662 'sources': [
663 'base/net_resources.grd',
664 ],
665 'direct_dependent_settings': {
666 'include_dirs': [
667 '<(SHARED_INTERMEDIATE_DIR)/net',
668 ],
669 },
[email protected]b392f3e2009-05-11 20:01:24670 'conditions': [
671 ['OS=="win"', {
672 'dependencies': ['../build/win/system.gyp:cygwin'],
673 }],
674 ],
[email protected]ef36c74c2009-03-11 13:32:22675 },
[email protected]75b91f92009-06-17 07:28:48676 {
677 'target_name': 'fetch_client',
678 'type': 'executable',
679 'dependencies': [
680 'net',
681 '../base/base.gyp:base',
[email protected]7d1ba9392009-08-03 18:35:06682 '../base/base.gyp:test_support_perf',
[email protected]75b91f92009-06-17 07:28:48683 '../testing/gtest.gyp:gtest',
684 ],
685 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
686 'sources': [
687 'tools/fetch/fetch_client.cc',
688 ],
689 },
[email protected]fe4f06d2009-06-17 07:58:05690 {
691 'target_name': 'fetch_server',
692 'type': 'executable',
693 'dependencies': [
694 'net',
695 '../base/base.gyp:base',
[email protected]7d1ba9392009-08-03 18:35:06696 '../base/base.gyp:test_support_perf',
[email protected]fe4f06d2009-06-17 07:58:05697 '../testing/gtest.gyp:gtest',
698 ],
699 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
700 'sources': [
701 'tools/fetch/fetch_server.cc',
702 'tools/fetch/http_listen_socket.cc',
703 'tools/fetch/http_listen_socket.h',
704 'tools/fetch/http_server.cc',
705 'tools/fetch/http_server.h',
[email protected]d022e4e2009-06-23 04:13:00706 'tools/fetch/http_server_request_info.h',
707 'tools/fetch/http_server_response_info.h',
[email protected]fe4f06d2009-06-17 07:58:05708 'tools/fetch/http_session.cc',
709 'tools/fetch/http_session.h',
710 ],
711 },
[email protected]ef36c74c2009-03-11 13:32:22712 ],
713 'conditions': [
[email protected]6718b412009-03-04 18:26:00714 ['OS=="win"', {
715 'targets': [
[email protected]2f80c312009-02-25 21:26:55716 {
717 # TODO(port): dump_cache is still Windows-specific.
718 'target_name': 'dump_cache',
719 'type': 'executable',
720 'dependencies': [
721 'net',
722 '../base/base.gyp:base',
723 ],
724 'sources': [
725 'tools/dump_cache/dump_cache.cc',
726 'tools/dump_cache/dump_files.cc',
727 'tools/dump_cache/upgrade.cc',
728 ],
729 },
730 ],
731 }],
[email protected]2f80c312009-02-25 21:26:55732 ],
733}