blob: 4b5f76cc10114aa04b6631332389e1ab5b4feaaa [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',
98 'base/platform_mime_util.h',
99 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
100 'base/platform_mime_util_linux.cc',
101 'base/platform_mime_util_mac.cc',
102 'base/platform_mime_util_win.cc',
103 'base/registry_controlled_domain.cc',
104 'base/registry_controlled_domain.h',
105 'base/scoped_cert_chain_context.h',
106 'base/sdch_filter.cc',
107 'base/sdch_filter.h',
108 'base/sdch_manager.cc',
109 'base/sdch_manager.h',
[email protected]0b45559b2009-06-12 21:45:11110 'base/ssl_cert_request_info.h',
[email protected]56c866a22009-06-18 19:38:58111 'base/ssl_client_auth_cache.cc',
112 'base/ssl_client_auth_cache.h',
[email protected]2f80c312009-02-25 21:26:55113 'base/ssl_config_service.cc',
114 'base/ssl_config_service.h',
115 'base/ssl_info.h',
[email protected]2f80c312009-02-25 21:26:55116 'base/telnet_server.cc',
117 'base/telnet_server.h',
118 'base/upload_data.cc',
119 'base/upload_data.h',
120 'base/upload_data_stream.cc',
121 'base/upload_data_stream.h',
122 'base/wininet_util.cc',
123 'base/wininet_util.h',
124 'base/winsock_init.cc',
125 'base/winsock_init.h',
126 'base/x509_certificate.cc',
127 'base/x509_certificate.h',
128 'base/x509_certificate_mac.cc',
129 'base/x509_certificate_nss.cc',
130 'base/x509_certificate_win.cc',
131 'build/precompiled_net.cc',
132 'build/precompiled_net.h',
133 'disk_cache/addr.cc',
134 'disk_cache/addr.h',
135 'disk_cache/backend_impl.cc',
136 'disk_cache/backend_impl.h',
[email protected]84d4cee2009-06-18 23:46:58137 'disk_cache/bitmap.cc',
138 'disk_cache/bitmap.h',
[email protected]2f80c312009-02-25 21:26:55139 'disk_cache/block_files.cc',
140 'disk_cache/block_files.h',
141 'disk_cache/cache_util.h',
142 'disk_cache/cache_util_posix.cc',
143 'disk_cache/cache_util_win.cc',
144 'disk_cache/disk_cache.h',
145 'disk_cache/disk_format.h',
146 'disk_cache/entry_impl.cc',
147 'disk_cache/entry_impl.h',
148 'disk_cache/errors.h',
149 'disk_cache/eviction.cc',
150 'disk_cache/eviction.h',
151 'disk_cache/file.h',
152 'disk_cache/file_block.h',
153 'disk_cache/file_lock.cc',
154 'disk_cache/file_lock.h',
155 'disk_cache/file_posix.cc',
156 'disk_cache/file_win.cc',
157 'disk_cache/hash.cc',
158 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34159 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55160 'disk_cache/mapped_file.h',
161 'disk_cache/mapped_file_posix.cc',
162 'disk_cache/mapped_file_win.cc',
163 'disk_cache/mem_backend_impl.cc',
164 'disk_cache/mem_backend_impl.h',
165 'disk_cache/mem_entry_impl.cc',
166 'disk_cache/mem_entry_impl.h',
167 'disk_cache/mem_rankings.cc',
168 'disk_cache/mem_rankings.h',
169 'disk_cache/rankings.cc',
170 'disk_cache/rankings.h',
[email protected]84d4cee2009-06-18 23:46:58171 'disk_cache/sparse_control.cc',
172 'disk_cache/sparse_control.h',
[email protected]2f80c312009-02-25 21:26:55173 'disk_cache/stats.cc',
174 'disk_cache/stats.h',
175 'disk_cache/stats_histogram.cc',
176 'disk_cache/stats_histogram.h',
177 'disk_cache/storage_block-inl.h',
178 'disk_cache/storage_block.h',
179 'disk_cache/trace.cc',
180 'disk_cache/trace.h',
181 'ftp/ftp_auth_cache.cc',
182 'ftp/ftp_auth_cache.h',
[email protected]fffc27d52009-03-19 23:26:27183 'ftp/ftp_directory_parser.cc',
184 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55185 'ftp/ftp_network_layer.cc',
186 'ftp/ftp_network_layer.h',
187 'ftp/ftp_network_session.h',
188 'ftp/ftp_network_transaction.cc',
189 'ftp/ftp_network_transaction.h',
190 'ftp/ftp_request_info.h',
191 'ftp/ftp_response_info.h',
192 'ftp/ftp_transaction.h',
193 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41194 'http/des.cc',
195 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55196 'http/http_atom_list.h',
197 'http/http_auth.cc',
198 'http/http_auth.h',
199 'http/http_auth_cache.cc',
200 'http/http_auth_cache.h',
201 'http/http_auth_handler.h',
202 'http/http_auth_handler.cc',
203 'http/http_auth_handler_basic.cc',
204 'http/http_auth_handler_basic.h',
205 'http/http_auth_handler_digest.cc',
206 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41207 'http/http_auth_handler_ntlm.cc',
208 'http/http_auth_handler_ntlm.h',
[email protected]fc48db82009-04-28 21:23:39209 'http/http_byte_range.cc',
210 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55211 'http/http_cache.cc',
212 'http/http_cache.h',
213 'http/http_chunked_decoder.cc',
214 'http/http_chunked_decoder.h',
215 'http/http_network_layer.cc',
216 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44217 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55218 'http/http_network_session.h',
219 'http/http_network_transaction.cc',
220 'http/http_network_transaction.h',
221 'http/http_request_info.h',
222 'http/http_response_headers.cc',
223 'http/http_response_headers.h',
224 'http/http_response_info.cc',
225 'http/http_response_info.h',
226 'http/http_transaction.h',
227 'http/http_transaction_factory.h',
228 'http/http_util.cc',
229 'http/http_util.h',
230 'http/http_vary_data.cc',
231 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41232 'http/md4.cc',
233 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50234 'http/partial_data.cc',
235 'http/partial_data.h',
[email protected]7dc52f22009-03-02 22:37:18236 'proxy/proxy_config.cc',
237 'proxy/proxy_config.h',
238 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55239 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56240 'proxy/proxy_config_service_linux.cc',
241 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55242 'proxy/proxy_config_service_win.cc',
243 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18244 'proxy/proxy_info.cc',
245 'proxy/proxy_info.h',
246 'proxy/proxy_list.cc',
247 'proxy/proxy_list.h',
248 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55249 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32250 'proxy/proxy_resolver_script.h',
251 'proxy/proxy_resolver_v8.cc',
252 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55253 'proxy/proxy_resolver_winhttp.cc',
254 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18255 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55256 'proxy/proxy_script_fetcher.cc',
257 'proxy/proxy_script_fetcher.h',
258 'proxy/proxy_server.cc',
259 'proxy/proxy_server.h',
260 'proxy/proxy_service.cc',
261 'proxy/proxy_service.h',
[email protected]f7984fc62009-06-22 23:26:44262 'socket/client_socket.cc',
263 'socket/client_socket.h',
264 'socket/client_socket_factory.cc',
265 'socket/client_socket_factory.h',
266 'socket/client_socket_handle.cc',
267 'socket/client_socket_handle.h',
268 'socket/client_socket_pool.h',
269 'socket/socket.h',
270 'socket/ssl_client_socket.h',
271 'socket/ssl_client_socket_mac.cc',
272 'socket/ssl_client_socket_nss.cc',
273 'socket/ssl_client_socket_win.cc',
274 'socket/ssl_client_socket_win.h',
275 'socket/ssl_test_util.cc',
276 'socket/ssl_test_util.h',
277 'socket/tcp_client_socket.h',
278 'socket/tcp_client_socket_libevent.cc',
279 'socket/tcp_client_socket_libevent.h',
280 'socket/tcp_client_socket_pool.cc',
281 'socket/tcp_client_socket_pool.h',
282 'socket/tcp_client_socket_win.cc',
283 'socket/tcp_client_socket_win.h',
[email protected]2f80c312009-02-25 21:26:55284 'url_request/url_request.cc',
285 'url_request/url_request.h',
286 'url_request/url_request_about_job.cc',
287 'url_request/url_request_about_job.h',
288 'url_request/url_request_context.h',
289 'url_request/url_request_error_job.cc',
290 'url_request/url_request_error_job.h',
291 'url_request/url_request_file_dir_job.cc',
292 'url_request/url_request_file_dir_job.h',
293 'url_request/url_request_file_job.cc',
294 'url_request/url_request_file_job.h',
295 'url_request/url_request_filter.cc',
296 'url_request/url_request_filter.h',
297 'url_request/url_request_ftp_job.cc',
298 'url_request/url_request_ftp_job.h',
299 'url_request/url_request_http_job.cc',
300 'url_request/url_request_http_job.h',
301 'url_request/url_request_inet_job.cc',
302 'url_request/url_request_inet_job.h',
303 'url_request/url_request_job.cc',
304 'url_request/url_request_job.h',
305 'url_request/url_request_job_manager.cc',
306 'url_request/url_request_job_manager.h',
307 'url_request/url_request_job_metrics.cc',
308 'url_request/url_request_job_metrics.h',
309 'url_request/url_request_job_tracker.cc',
310 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33311 'url_request/url_request_new_ftp_job.cc',
312 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55313 'url_request/url_request_simple_job.cc',
314 'url_request/url_request_simple_job.h',
315 'url_request/url_request_status.h',
316 'url_request/url_request_test_job.cc',
317 'url_request/url_request_test_job.h',
318 'url_request/url_request_view_cache_job.cc',
319 'url_request/url_request_view_cache_job.h',
320 ],
321 'sources!': [
322 'build/precompiled_net.h',
323 'build/precompiled_net.cc',
324 ],
325 'export_dependent_settings': [
326 '../base/base.gyp:base',
327 ],
328 'conditions': [
[email protected]c61f6432009-04-22 01:16:42329 ['javascript_engine=="v8"', {
330 'dependencies': [
[email protected]44531a22009-04-28 21:37:56331 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42332 ],
333 }],
[email protected]9d384032009-03-20 23:13:26334 [ 'OS == "linux"', {
335 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56336 '../build/linux/system.gyp:gconf',
337 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26338 '../build/linux/system.gyp:nss',
339 ],
340 }],
[email protected]2f80c312009-02-25 21:26:55341 [ 'OS == "win"', {
342 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
343 'sources!': [
[email protected]f7984fc62009-06-22 23:26:44344 'socket/tcp_client_socket_libevent.cc',
[email protected]2f80c312009-02-25 21:26:55345 ],
346 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55347 'tld_cleanup',
348 ],
349 'configurations': {
350 'Debug': {
351 'msvs_precompiled_header': 'build/precompiled_net.h',
352 'msvs_precompiled_source': 'build/precompiled_net.cc',
353 },
354 },
355 },
356 { # else: OS != "win"
357 'sources!': [
358 'base/ssl_config_service.cc',
359 'base/wininet_util.cc',
360 'base/winsock_init.cc',
361 'proxy/proxy_resolver_winhttp.cc',
362 'url_request/url_request_ftp_job.cc',
363 'url_request/url_request_inet_job.cc',
364 ],
365 },
366 ],
367 [ 'OS == "linux"', {
368 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55369 },
370 { # else: OS != "linux"
371 'sources!': [
372 'base/nss_memio.c',
[email protected]2f80c312009-02-25 21:26:55373 'base/x509_certificate_nss.cc',
[email protected]f7984fc62009-06-22 23:26:44374 'socket/ssl_client_socket_nss.cc',
[email protected]2f80c312009-02-25 21:26:55375 ],
376 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
377 'dependencies': [
378 '../third_party/icu38/icu38.gyp:icui18n',
379 '../third_party/icu38/icu38.gyp:icuuc',
380 ],
381 },
382 ],
383 [ 'OS == "mac"', {
384 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
385 'link_settings': {
386 'libraries': [
387 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
388 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
389 ]
390 },
391 },
392 ],
[email protected]2f80c312009-02-25 21:26:55393 ],
394 },
395 {
396 'target_name': 'net_unittests',
397 'type': 'executable',
398 'dependencies': [
399 'net',
[email protected]6718b412009-03-04 18:26:00400 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55401 '../base/base.gyp:base',
402 '../testing/gtest.gyp:gtest',
403 ],
[email protected]9e450f22009-03-10 23:12:16404 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55405 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38406 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55407 'base/base64_unittest.cc',
408 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55409 'base/cookie_monster_unittest.cc',
410 'base/cookie_policy_unittest.cc',
411 'base/data_url_unittest.cc',
412 'base/directory_lister_unittest.cc',
413 'base/escape_unittest.cc',
414 'base/file_stream_unittest.cc',
415 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27416 'base/filter_unittest.h',
[email protected]c26a25a2009-06-02 02:37:05417 'base/force_tls_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55418 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38419 'base/host_cache_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55420 'base/host_resolver_unittest.cc',
421 'base/listen_socket_unittest.cc',
422 'base/listen_socket_unittest.h',
423 'base/mime_sniffer_unittest.cc',
424 'base/mime_util_unittest.cc',
425 'base/net_util_unittest.cc',
426 'base/registry_controlled_domain_unittest.cc',
427 'base/run_all_unittests.cc',
428 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58429 'base/ssl_client_auth_cache_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55430 'base/ssl_config_service_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55431 'base/telnet_server_unittest.cc',
432 'base/test_completion_callback_unittest.cc',
433 'base/wininet_util_unittest.cc',
434 'base/x509_certificate_unittest.cc',
435 'disk_cache/addr_unittest.cc',
436 'disk_cache/backend_unittest.cc',
[email protected]84d4cee2009-06-18 23:46:58437 'disk_cache/bitmap_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55438 'disk_cache/block_files_unittest.cc',
439 'disk_cache/disk_cache_test_base.cc',
440 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55441 'disk_cache/entry_unittest.cc',
442 'disk_cache/mapped_file_unittest.cc',
443 'disk_cache/storage_block_unittest.cc',
444 'ftp/ftp_auth_cache_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37445 'ftp/ftp_network_transaction_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41446 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55447 'http/http_auth_cache_unittest.cc',
448 'http/http_auth_handler_basic_unittest.cc',
449 'http/http_auth_handler_digest_unittest.cc',
450 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39451 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55452 'http/http_cache_unittest.cc',
453 'http/http_chunked_decoder_unittest.cc',
454 'http/http_network_layer_unittest.cc',
455 'http/http_network_transaction_unittest.cc',
456 'http/http_response_headers_unittest.cc',
457 'http/http_transaction_unittest.cc',
458 'http/http_transaction_unittest.h',
459 'http/http_util_unittest.cc',
460 'http/http_vary_data_unittest.cc',
[email protected]861c6c62009-04-20 16:50:56461 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57462 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23463 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18464 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32465 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55466 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31467 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55468 'proxy/proxy_service_unittest.cc',
[email protected]f7984fc62009-06-22 23:26:44469 'socket/ssl_client_socket_unittest.cc',
470 'socket/tcp_client_socket_pool_unittest.cc',
471 'socket/tcp_client_socket_unittest.cc',
472 'socket/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55473 'url_request/url_request_unittest.cc',
474 'url_request/url_request_unittest.h',
475 ],
476 'conditions': [
[email protected]861c6c62009-04-20 16:50:56477 [ 'OS == "win"', {
478 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
479 },
480 ],
[email protected]2f80c312009-02-25 21:26:55481 [ 'OS != "win"', {
482 'sources!': [
483 'base/wininet_util_unittest.cc',
484 ],
485 },
486 ],
487 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56488 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26489 'dependencies': [
490 '../build/linux/system.gyp:gtk',
491 ],
[email protected]2f80c312009-02-25 21:26:55492 'sources!': [
493 'base/sdch_filter_unittest.cc',
494 'base/ssl_config_service_unittest.cc',
495 ],
496 },
497 ],
498 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56499 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55500 'sources!': [
501 'base/ssl_config_service_unittest.cc',
502 ],
503 },
504 ],
505 # This is needed to trigger the dll copy step on windows.
506 # TODO(mark): Specifying this here shouldn't be necessary.
507 [ 'OS == "win"', {
508 'dependencies': [
509 '../third_party/icu38/icu38.gyp:icudata',
510 ],
511 },
512 ],
513 ],
514 },
515 {
516 'target_name': 'net_perftests',
517 'type': 'executable',
518 'dependencies': [
519 'net',
[email protected]6718b412009-03-04 18:26:00520 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55521 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45522 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55523 '../testing/gtest.gyp:gtest',
524 ],
[email protected]9e450f22009-03-10 23:12:16525 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55526 'sources': [
[email protected]2f80c312009-02-25 21:26:55527 'base/cookie_monster_perftest.cc',
528 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33529 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55530 ],
531 'conditions': [
532 # This is needed to trigger the dll copy step on windows.
533 # TODO(mark): Specifying this here shouldn't be necessary.
534 [ 'OS == "win"', {
535 'dependencies': [
536 '../third_party/icu38/icu38.gyp:icudata',
537 ],
538 },
539 ],
540 ],
541 },
542 {
543 'target_name': 'stress_cache',
544 'type': 'executable',
545 'dependencies': [
546 'net',
[email protected]6718b412009-03-04 18:26:00547 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55548 '../base/base.gyp:base',
549 ],
550 'sources': [
[email protected]2f80c312009-02-25 21:26:55551 'disk_cache/stress_cache.cc',
552 ],
553 },
554 {
555 'target_name': 'tld_cleanup',
556 'type': 'executable',
557 'dependencies': [
558 '../base/base.gyp:base',
559 '../build/temp_gyp/googleurl.gyp:googleurl',
560 ],
[email protected]b8234462009-03-18 02:30:55561 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55562 'sources': [
563 'tools/tld_cleanup/tld_cleanup.cc',
564 ],
565 },
566 {
567 'target_name': 'crash_cache',
568 'type': 'executable',
569 'dependencies': [
570 'net',
[email protected]6718b412009-03-04 18:26:00571 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55572 '../base/base.gyp:base',
573 ],
[email protected]9e450f22009-03-10 23:12:16574 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55575 'sources': [
576 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00577 ],
578 },
579 {
580 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49581 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00582 'dependencies': [
583 'net',
584 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15585 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00586 ],
587 'sources': [
[email protected]2f80c312009-02-25 21:26:55588 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00589 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50590 'proxy/proxy_config_service_common_unittest.cc',
591 'proxy/proxy_config_service_common_unittest.h',
[email protected]f7984fc62009-06-22 23:26:44592 'socket/socket_test_util.cc',
593 'socket/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55594 ],
595 },
[email protected]ef36c74c2009-03-11 13:32:22596 {
597 'target_name': 'net_resources',
598 'type': 'none',
599 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
600 'rules': [
[email protected]2f80c312009-02-25 21:26:55601 {
[email protected]ef36c74c2009-03-11 13:32:22602 'rule_name': 'grit',
603 'extension': 'grd',
604 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00605 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55606 ],
[email protected]ef36c74c2009-03-11 13:32:22607 'outputs': [
608 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
609 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
610 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55611 ],
[email protected]ef36c74c2009-03-11 13:32:22612 'action':
613 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35614 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55615 },
[email protected]6718b412009-03-04 18:26:00616 ],
[email protected]ef36c74c2009-03-11 13:32:22617 'sources': [
618 'base/net_resources.grd',
619 ],
620 'direct_dependent_settings': {
621 'include_dirs': [
622 '<(SHARED_INTERMEDIATE_DIR)/net',
623 ],
624 },
[email protected]b392f3e2009-05-11 20:01:24625 'conditions': [
626 ['OS=="win"', {
627 'dependencies': ['../build/win/system.gyp:cygwin'],
628 }],
629 ],
[email protected]ef36c74c2009-03-11 13:32:22630 },
[email protected]75b91f92009-06-17 07:28:48631 {
632 'target_name': 'fetch_client',
633 'type': 'executable',
634 'dependencies': [
635 'net',
636 '../base/base.gyp:base',
637 '../base/base.gyp:test_support_base',
638 '../testing/gtest.gyp:gtest',
639 ],
640 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
641 'sources': [
642 'tools/fetch/fetch_client.cc',
643 ],
644 },
[email protected]fe4f06d2009-06-17 07:58:05645 {
646 'target_name': 'fetch_server',
647 'type': 'executable',
648 'dependencies': [
649 'net',
650 '../base/base.gyp:base',
651 '../base/base.gyp:test_support_base',
652 '../testing/gtest.gyp:gtest',
653 ],
654 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
655 'sources': [
656 'tools/fetch/fetch_server.cc',
657 'tools/fetch/http_listen_socket.cc',
658 'tools/fetch/http_listen_socket.h',
659 'tools/fetch/http_server.cc',
660 'tools/fetch/http_server.h',
661 'tools/fetch/http_session.cc',
662 'tools/fetch/http_session.h',
663 ],
664 },
[email protected]ef36c74c2009-03-11 13:32:22665 ],
666 'conditions': [
[email protected]6718b412009-03-04 18:26:00667 ['OS=="win"', {
668 'targets': [
[email protected]2f80c312009-02-25 21:26:55669 {
670 # TODO(port): dump_cache is still Windows-specific.
671 'target_name': 'dump_cache',
672 'type': 'executable',
673 'dependencies': [
674 'net',
675 '../base/base.gyp:base',
676 ],
677 'sources': [
678 'tools/dump_cache/dump_cache.cc',
679 'tools/dump_cache/dump_files.cc',
680 'tools/dump_cache/upgrade.cc',
681 ],
682 },
683 ],
684 }],
[email protected]2f80c312009-02-25 21:26:55685 ],
686}