blob: cbf302d27043dfa5898b10fb22542e01ebc76335 [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',
46 'base/client_socket.cc',
47 'base/client_socket.h',
48 'base/client_socket_factory.cc',
49 'base/client_socket_factory.h',
50 'base/client_socket_handle.cc',
51 'base/client_socket_handle.h',
[email protected]2f80c312009-02-25 21:26:5552 'base/client_socket_pool.h',
53 'base/completion_callback.h',
54 'base/connection_type_histograms.cc',
55 'base/connection_type_histograms.h',
56 'base/cookie_monster.cc',
57 'base/cookie_monster.h',
58 'base/cookie_policy.cc',
59 'base/cookie_policy.h',
60 'base/data_url.cc',
61 'base/data_url.h',
62 'base/directory_lister.cc',
63 'base/directory_lister.h',
[email protected]2f80c312009-02-25 21:26:5564 'base/effective_tld_names.cc',
65 'base/effective_tld_names.dat',
66 'base/escape.cc',
67 'base/escape.h',
68 'base/ev_root_ca_metadata.cc',
69 'base/ev_root_ca_metadata.h',
70 'base/file_stream.h',
71 'base/file_stream_posix.cc',
72 'base/file_stream_win.cc',
73 'base/filter.cc',
74 'base/filter.h',
[email protected]a9cea7542009-05-20 04:30:2375 'base/force_tls_state.cc',
76 'base/force_tls_state.h',
[email protected]2f80c312009-02-25 21:26:5577 'base/gzip_filter.cc',
78 'base/gzip_filter.h',
79 'base/gzip_header.cc',
80 'base/gzip_header.h',
[email protected]8a00f00a2009-06-12 00:49:3881 'base/host_cache.cc',
82 'base/host_cache.h',
[email protected]2f80c312009-02-25 21:26:5583 'base/host_resolver.cc',
84 'base/host_resolver.h',
85 'base/io_buffer.cc',
86 'base/io_buffer.h',
87 'base/listen_socket.cc',
88 'base/listen_socket.h',
89 'base/load_flags.h',
90 'base/mime_sniffer.cc',
91 'base/mime_sniffer.h',
92 'base/mime_util.cc',
93 'base/mime_util.h',
94 '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',
104 'base/platform_mime_util.h',
105 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
106 'base/platform_mime_util_linux.cc',
107 'base/platform_mime_util_mac.cc',
108 'base/platform_mime_util_win.cc',
109 'base/registry_controlled_domain.cc',
110 'base/registry_controlled_domain.h',
111 'base/scoped_cert_chain_context.h',
112 'base/sdch_filter.cc',
113 'base/sdch_filter.h',
114 'base/sdch_manager.cc',
115 'base/sdch_manager.h',
116 'base/socket.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_client_socket.h',
121 'base/ssl_client_socket_mac.cc',
122 'base/ssl_client_socket_nss.cc',
123 'base/ssl_client_socket_win.cc',
124 'base/ssl_client_socket_win.h',
125 'base/ssl_config_service.cc',
126 'base/ssl_config_service.h',
127 'base/ssl_info.h',
128 'base/ssl_test_util.cc',
129 'base/tcp_client_socket.h',
130 'base/tcp_client_socket_libevent.cc',
[email protected]8f1915d2009-04-20 18:37:39131 'base/tcp_client_socket_libevent.h',
[email protected]5e2a9592009-06-05 04:47:24132 'base/tcp_client_socket_pool.cc',
133 'base/tcp_client_socket_pool.h',
[email protected]2f80c312009-02-25 21:26:55134 'base/tcp_client_socket_win.cc',
[email protected]8f1915d2009-04-20 18:37:39135 'base/tcp_client_socket_win.h',
[email protected]2f80c312009-02-25 21:26:55136 'base/telnet_server.cc',
137 'base/telnet_server.h',
138 'base/upload_data.cc',
139 'base/upload_data.h',
140 'base/upload_data_stream.cc',
141 'base/upload_data_stream.h',
142 'base/wininet_util.cc',
143 'base/wininet_util.h',
144 'base/winsock_init.cc',
145 'base/winsock_init.h',
146 'base/x509_certificate.cc',
147 'base/x509_certificate.h',
148 'base/x509_certificate_mac.cc',
149 'base/x509_certificate_nss.cc',
150 'base/x509_certificate_win.cc',
151 'build/precompiled_net.cc',
152 'build/precompiled_net.h',
153 'disk_cache/addr.cc',
154 'disk_cache/addr.h',
155 'disk_cache/backend_impl.cc',
156 'disk_cache/backend_impl.h',
157 'disk_cache/block_files.cc',
158 'disk_cache/block_files.h',
159 'disk_cache/cache_util.h',
160 'disk_cache/cache_util_posix.cc',
161 'disk_cache/cache_util_win.cc',
162 'disk_cache/disk_cache.h',
163 'disk_cache/disk_format.h',
164 'disk_cache/entry_impl.cc',
165 'disk_cache/entry_impl.h',
166 'disk_cache/errors.h',
167 'disk_cache/eviction.cc',
168 'disk_cache/eviction.h',
169 'disk_cache/file.h',
170 'disk_cache/file_block.h',
171 'disk_cache/file_lock.cc',
172 'disk_cache/file_lock.h',
173 'disk_cache/file_posix.cc',
174 'disk_cache/file_win.cc',
175 'disk_cache/hash.cc',
176 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34177 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55178 'disk_cache/mapped_file.h',
179 'disk_cache/mapped_file_posix.cc',
180 'disk_cache/mapped_file_win.cc',
181 'disk_cache/mem_backend_impl.cc',
182 'disk_cache/mem_backend_impl.h',
183 'disk_cache/mem_entry_impl.cc',
184 'disk_cache/mem_entry_impl.h',
185 'disk_cache/mem_rankings.cc',
186 'disk_cache/mem_rankings.h',
187 'disk_cache/rankings.cc',
188 'disk_cache/rankings.h',
189 'disk_cache/stats.cc',
190 'disk_cache/stats.h',
191 'disk_cache/stats_histogram.cc',
192 'disk_cache/stats_histogram.h',
193 'disk_cache/storage_block-inl.h',
194 'disk_cache/storage_block.h',
195 'disk_cache/trace.cc',
196 'disk_cache/trace.h',
197 'ftp/ftp_auth_cache.cc',
198 'ftp/ftp_auth_cache.h',
[email protected]fffc27d52009-03-19 23:26:27199 'ftp/ftp_directory_parser.cc',
200 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55201 'ftp/ftp_network_layer.cc',
202 'ftp/ftp_network_layer.h',
203 'ftp/ftp_network_session.h',
204 'ftp/ftp_network_transaction.cc',
205 'ftp/ftp_network_transaction.h',
206 'ftp/ftp_request_info.h',
207 'ftp/ftp_response_info.h',
208 'ftp/ftp_transaction.h',
209 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41210 'http/des.cc',
211 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55212 'http/http_atom_list.h',
213 'http/http_auth.cc',
214 'http/http_auth.h',
215 'http/http_auth_cache.cc',
216 'http/http_auth_cache.h',
217 'http/http_auth_handler.h',
218 'http/http_auth_handler.cc',
219 'http/http_auth_handler_basic.cc',
220 'http/http_auth_handler_basic.h',
221 'http/http_auth_handler_digest.cc',
222 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41223 'http/http_auth_handler_ntlm.cc',
224 'http/http_auth_handler_ntlm.h',
[email protected]fc48db82009-04-28 21:23:39225 'http/http_byte_range.cc',
226 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55227 'http/http_cache.cc',
228 'http/http_cache.h',
229 'http/http_chunked_decoder.cc',
230 'http/http_chunked_decoder.h',
231 'http/http_network_layer.cc',
232 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44233 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55234 'http/http_network_session.h',
235 'http/http_network_transaction.cc',
236 'http/http_network_transaction.h',
237 'http/http_request_info.h',
238 'http/http_response_headers.cc',
239 'http/http_response_headers.h',
240 'http/http_response_info.cc',
241 'http/http_response_info.h',
242 'http/http_transaction.h',
243 'http/http_transaction_factory.h',
244 'http/http_util.cc',
245 'http/http_util.h',
246 'http/http_vary_data.cc',
247 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41248 'http/md4.cc',
249 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50250 'http/partial_data.cc',
251 'http/partial_data.h',
[email protected]7dc52f22009-03-02 22:37:18252 'proxy/proxy_config.cc',
253 'proxy/proxy_config.h',
254 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55255 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56256 'proxy/proxy_config_service_linux.cc',
257 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55258 'proxy/proxy_config_service_win.cc',
259 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18260 'proxy/proxy_info.cc',
261 'proxy/proxy_info.h',
262 'proxy/proxy_list.cc',
263 'proxy/proxy_list.h',
264 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55265 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32266 'proxy/proxy_resolver_script.h',
267 'proxy/proxy_resolver_v8.cc',
268 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55269 'proxy/proxy_resolver_winhttp.cc',
270 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18271 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55272 'proxy/proxy_script_fetcher.cc',
273 'proxy/proxy_script_fetcher.h',
274 'proxy/proxy_server.cc',
275 'proxy/proxy_server.h',
276 'proxy/proxy_service.cc',
277 'proxy/proxy_service.h',
278 'url_request/mime_sniffer_proxy.cc',
279 'url_request/mime_sniffer_proxy.h',
280 'url_request/url_request.cc',
281 'url_request/url_request.h',
282 'url_request/url_request_about_job.cc',
283 'url_request/url_request_about_job.h',
284 'url_request/url_request_context.h',
285 'url_request/url_request_error_job.cc',
286 'url_request/url_request_error_job.h',
287 'url_request/url_request_file_dir_job.cc',
288 'url_request/url_request_file_dir_job.h',
289 'url_request/url_request_file_job.cc',
290 'url_request/url_request_file_job.h',
291 'url_request/url_request_filter.cc',
292 'url_request/url_request_filter.h',
293 'url_request/url_request_ftp_job.cc',
294 'url_request/url_request_ftp_job.h',
295 'url_request/url_request_http_job.cc',
296 'url_request/url_request_http_job.h',
297 'url_request/url_request_inet_job.cc',
298 'url_request/url_request_inet_job.h',
299 'url_request/url_request_job.cc',
300 'url_request/url_request_job.h',
301 'url_request/url_request_job_manager.cc',
302 'url_request/url_request_job_manager.h',
303 'url_request/url_request_job_metrics.cc',
304 'url_request/url_request_job_metrics.h',
305 'url_request/url_request_job_tracker.cc',
306 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33307 'url_request/url_request_new_ftp_job.cc',
308 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55309 'url_request/url_request_simple_job.cc',
310 'url_request/url_request_simple_job.h',
311 'url_request/url_request_status.h',
312 'url_request/url_request_test_job.cc',
313 'url_request/url_request_test_job.h',
314 'url_request/url_request_view_cache_job.cc',
315 'url_request/url_request_view_cache_job.h',
316 ],
317 'sources!': [
318 'build/precompiled_net.h',
319 'build/precompiled_net.cc',
320 ],
321 'export_dependent_settings': [
322 '../base/base.gyp:base',
323 ],
324 'conditions': [
[email protected]c61f6432009-04-22 01:16:42325 ['javascript_engine=="v8"', {
326 'dependencies': [
[email protected]44531a22009-04-28 21:37:56327 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42328 ],
329 }],
[email protected]9d384032009-03-20 23:13:26330 [ 'OS == "linux"', {
331 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56332 '../build/linux/system.gyp:gconf',
333 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26334 '../build/linux/system.gyp:nss',
335 ],
336 }],
[email protected]2f80c312009-02-25 21:26:55337 [ 'OS == "win"', {
338 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
339 'sources!': [
340 'base/tcp_client_socket_libevent.cc',
341 ],
342 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55343 'tld_cleanup',
344 ],
345 'configurations': {
346 'Debug': {
347 'msvs_precompiled_header': 'build/precompiled_net.h',
348 'msvs_precompiled_source': 'build/precompiled_net.cc',
349 },
350 },
351 },
352 { # else: OS != "win"
353 'sources!': [
354 'base/ssl_config_service.cc',
355 'base/wininet_util.cc',
356 'base/winsock_init.cc',
357 'proxy/proxy_resolver_winhttp.cc',
358 'url_request/url_request_ftp_job.cc',
359 'url_request/url_request_inet_job.cc',
360 ],
361 },
362 ],
363 [ 'OS == "linux"', {
364 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55365 },
366 { # else: OS != "linux"
367 'sources!': [
368 'base/nss_memio.c',
369 'base/ssl_client_socket_nss.cc',
370 'base/x509_certificate_nss.cc',
371 ],
372 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
373 'dependencies': [
374 '../third_party/icu38/icu38.gyp:icui18n',
375 '../third_party/icu38/icu38.gyp:icuuc',
376 ],
377 },
378 ],
379 [ 'OS == "mac"', {
380 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
381 'link_settings': {
382 'libraries': [
383 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
384 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
385 ]
386 },
387 },
388 ],
[email protected]2f80c312009-02-25 21:26:55389 ],
390 },
391 {
392 'target_name': 'net_unittests',
393 'type': 'executable',
394 'dependencies': [
395 'net',
[email protected]6718b412009-03-04 18:26:00396 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55397 '../base/base.gyp:base',
398 '../testing/gtest.gyp:gtest',
399 ],
[email protected]9e450f22009-03-10 23:12:16400 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55401 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38402 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55403 'base/base64_unittest.cc',
404 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55405 'base/cookie_monster_unittest.cc',
406 'base/cookie_policy_unittest.cc',
407 'base/data_url_unittest.cc',
408 'base/directory_lister_unittest.cc',
409 'base/escape_unittest.cc',
410 'base/file_stream_unittest.cc',
411 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27412 'base/filter_unittest.h',
[email protected]c26a25a2009-06-02 02:37:05413 'base/force_tls_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55414 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38415 'base/host_cache_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55416 'base/host_resolver_unittest.cc',
417 'base/listen_socket_unittest.cc',
418 'base/listen_socket_unittest.h',
419 'base/mime_sniffer_unittest.cc',
420 'base/mime_util_unittest.cc',
421 'base/net_util_unittest.cc',
422 'base/registry_controlled_domain_unittest.cc',
423 'base/run_all_unittests.cc',
424 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58425 'base/ssl_client_auth_cache_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55426 'base/ssl_client_socket_unittest.cc',
427 'base/ssl_config_service_unittest.cc',
[email protected]5e2a9592009-06-05 04:47:24428 'base/tcp_client_socket_pool_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55429 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31430 'base/tcp_pinger_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',
437 'disk_cache/block_files_unittest.cc',
438 'disk_cache/disk_cache_test_base.cc',
439 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55440 'disk_cache/entry_unittest.cc',
441 'disk_cache/mapped_file_unittest.cc',
442 'disk_cache/storage_block_unittest.cc',
443 'ftp/ftp_auth_cache_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37444 'ftp/ftp_network_transaction_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41445 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55446 'http/http_auth_cache_unittest.cc',
447 'http/http_auth_handler_basic_unittest.cc',
448 'http/http_auth_handler_digest_unittest.cc',
449 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39450 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55451 'http/http_cache_unittest.cc',
452 'http/http_chunked_decoder_unittest.cc',
453 'http/http_network_layer_unittest.cc',
454 'http/http_network_transaction_unittest.cc',
455 'http/http_response_headers_unittest.cc',
456 'http/http_transaction_unittest.cc',
457 'http/http_transaction_unittest.h',
458 'http/http_util_unittest.cc',
459 'http/http_vary_data_unittest.cc',
[email protected]861c6c62009-04-20 16:50:56460 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57461 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23462 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18463 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32464 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55465 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31466 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55467 'proxy/proxy_service_unittest.cc',
468 'url_request/url_request_unittest.cc',
469 'url_request/url_request_unittest.h',
470 ],
471 'conditions': [
[email protected]861c6c62009-04-20 16:50:56472 [ 'OS == "win"', {
473 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
474 },
475 ],
[email protected]2f80c312009-02-25 21:26:55476 [ 'OS != "win"', {
477 'sources!': [
478 'base/wininet_util_unittest.cc',
479 ],
480 },
481 ],
482 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56483 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26484 'dependencies': [
485 '../build/linux/system.gyp:gtk',
486 ],
[email protected]2f80c312009-02-25 21:26:55487 'sources!': [
488 'base/sdch_filter_unittest.cc',
489 'base/ssl_config_service_unittest.cc',
490 ],
491 },
492 ],
493 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56494 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55495 'sources!': [
496 'base/ssl_config_service_unittest.cc',
497 ],
498 },
499 ],
500 # This is needed to trigger the dll copy step on windows.
501 # TODO(mark): Specifying this here shouldn't be necessary.
502 [ 'OS == "win"', {
503 'dependencies': [
504 '../third_party/icu38/icu38.gyp:icudata',
505 ],
506 },
507 ],
508 ],
509 },
510 {
511 'target_name': 'net_perftests',
512 'type': 'executable',
513 'dependencies': [
514 'net',
[email protected]6718b412009-03-04 18:26:00515 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55516 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45517 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55518 '../testing/gtest.gyp:gtest',
519 ],
[email protected]9e450f22009-03-10 23:12:16520 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55521 'sources': [
[email protected]2f80c312009-02-25 21:26:55522 'base/cookie_monster_perftest.cc',
523 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33524 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55525 ],
526 'conditions': [
527 # This is needed to trigger the dll copy step on windows.
528 # TODO(mark): Specifying this here shouldn't be necessary.
529 [ 'OS == "win"', {
530 'dependencies': [
531 '../third_party/icu38/icu38.gyp:icudata',
532 ],
533 },
534 ],
535 ],
536 },
537 {
538 'target_name': 'stress_cache',
539 'type': 'executable',
540 'dependencies': [
541 'net',
[email protected]6718b412009-03-04 18:26:00542 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55543 '../base/base.gyp:base',
544 ],
545 'sources': [
[email protected]2f80c312009-02-25 21:26:55546 'disk_cache/stress_cache.cc',
547 ],
548 },
549 {
550 'target_name': 'tld_cleanup',
551 'type': 'executable',
552 'dependencies': [
553 '../base/base.gyp:base',
554 '../build/temp_gyp/googleurl.gyp:googleurl',
555 ],
[email protected]b8234462009-03-18 02:30:55556 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55557 'sources': [
558 'tools/tld_cleanup/tld_cleanup.cc',
559 ],
560 },
561 {
562 'target_name': 'crash_cache',
563 'type': 'executable',
564 'dependencies': [
565 'net',
[email protected]6718b412009-03-04 18:26:00566 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55567 '../base/base.gyp:base',
568 ],
[email protected]9e450f22009-03-10 23:12:16569 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55570 'sources': [
571 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00572 ],
573 },
574 {
575 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49576 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00577 'dependencies': [
578 'net',
579 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15580 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00581 ],
582 'sources': [
[email protected]ff007e162009-05-23 09:13:15583 'base/socket_test_util.cc',
584 'base/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55585 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00586 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50587 'proxy/proxy_config_service_common_unittest.cc',
588 'proxy/proxy_config_service_common_unittest.h',
[email protected]2f80c312009-02-25 21:26:55589 ],
590 },
[email protected]ef36c74c2009-03-11 13:32:22591 {
592 'target_name': 'net_resources',
593 'type': 'none',
594 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
595 'rules': [
[email protected]2f80c312009-02-25 21:26:55596 {
[email protected]ef36c74c2009-03-11 13:32:22597 'rule_name': 'grit',
598 'extension': 'grd',
599 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00600 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55601 ],
[email protected]ef36c74c2009-03-11 13:32:22602 'outputs': [
603 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
604 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
605 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55606 ],
[email protected]ef36c74c2009-03-11 13:32:22607 'action':
608 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35609 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55610 },
[email protected]6718b412009-03-04 18:26:00611 ],
[email protected]ef36c74c2009-03-11 13:32:22612 'sources': [
613 'base/net_resources.grd',
614 ],
615 'direct_dependent_settings': {
616 'include_dirs': [
617 '<(SHARED_INTERMEDIATE_DIR)/net',
618 ],
619 },
[email protected]b392f3e2009-05-11 20:01:24620 'conditions': [
621 ['OS=="win"', {
622 'dependencies': ['../build/win/system.gyp:cygwin'],
623 }],
624 ],
[email protected]ef36c74c2009-03-11 13:32:22625 },
[email protected]75b91f92009-06-17 07:28:48626 {
627 'target_name': 'fetch_client',
628 'type': 'executable',
629 'dependencies': [
630 'net',
631 '../base/base.gyp:base',
632 '../base/base.gyp:test_support_base',
633 '../testing/gtest.gyp:gtest',
634 ],
635 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
636 'sources': [
637 'tools/fetch/fetch_client.cc',
638 ],
639 },
[email protected]fe4f06d2009-06-17 07:58:05640 {
641 'target_name': 'fetch_server',
642 'type': 'executable',
643 'dependencies': [
644 'net',
645 '../base/base.gyp:base',
646 '../base/base.gyp:test_support_base',
647 '../testing/gtest.gyp:gtest',
648 ],
649 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
650 'sources': [
651 'tools/fetch/fetch_server.cc',
652 'tools/fetch/http_listen_socket.cc',
653 'tools/fetch/http_listen_socket.h',
654 'tools/fetch/http_server.cc',
655 'tools/fetch/http_server.h',
656 'tools/fetch/http_session.cc',
657 'tools/fetch/http_session.h',
658 ],
659 },
[email protected]ef36c74c2009-03-11 13:32:22660 ],
661 'conditions': [
[email protected]6718b412009-03-04 18:26:00662 ['OS=="win"', {
663 'targets': [
[email protected]2f80c312009-02-25 21:26:55664 {
665 # TODO(port): dump_cache is still Windows-specific.
666 'target_name': 'dump_cache',
667 'type': 'executable',
668 'dependencies': [
669 'net',
670 '../base/base.gyp:base',
671 ],
672 'sources': [
673 'tools/dump_cache/dump_cache.cc',
674 'tools/dump_cache/dump_files.cc',
675 'tools/dump_cache/upgrade.cc',
676 ],
677 },
[email protected]2f80c312009-02-25 21:26:55678 ],
679 }],
[email protected]2f80c312009-02-25 21:26:55680 ],
681}