blob: 5e630cd717acad37d57df00b0647c6bebb73b2cc [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 },
[email protected]2f80c312009-02-25 21:26:559 'targets': [
10 {
[email protected]9c2a57712009-10-21 20:35:1111 'target_name': 'net_base',
[email protected]653bd5f032009-04-08 12:55:4912 'type': '<(library)',
[email protected]2f80c312009-02-25 21:26:5513 'dependencies': [
14 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:1415 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:5516 '../build/temp_gyp/googleurl.gyp:googleurl',
17 '../sdch/sdch.gyp:sdch',
[email protected]280629492009-09-09 06:49:0818 '../third_party/icu/icu.gyp:icui18n',
19 '../third_party/icu/icu.gyp:icuuc',
[email protected]ef36c74c2009-03-11 13:32:2220 'net_resources',
[email protected]2f80c312009-02-25 21:26:5521 ],
22 'sources': [
[email protected]123ab1e32009-10-21 19:12:5723 'base/address_family.h',
[email protected]2f80c312009-02-25 21:26:5524 'base/address_list.cc',
25 'base/address_list.h',
26 'base/auth.h',
27 'base/base64.cc',
28 'base/base64.h',
29 'base/bzip2_filter.cc',
30 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2031 'base/cache_type.h',
[email protected]a755e1072009-10-23 16:58:3732 'base/cert_database.h',
33 'base/cert_database_mac.cc',
34 'base/cert_database_nss.cc',
35 'base/cert_database_win.cc',
[email protected]2f80c312009-02-25 21:26:5536 'base/cert_status_flags.cc',
37 'base/cert_status_flags.h',
38 'base/cert_verifier.cc',
39 'base/cert_verifier.h',
40 'base/cert_verify_result.h',
[email protected]2f80c312009-02-25 21:26:5541 'base/completion_callback.h',
42 'base/connection_type_histograms.cc',
43 'base/connection_type_histograms.h',
44 'base/cookie_monster.cc',
45 'base/cookie_monster.h',
[email protected]5f450e52009-07-28 13:28:1146 'base/cookie_options.h',
[email protected]2f80c312009-02-25 21:26:5547 'base/cookie_policy.cc',
48 'base/cookie_policy.h',
[email protected]5f450e52009-07-28 13:28:1149 'base/cookie_store.h',
[email protected]2f80c312009-02-25 21:26:5550 'base/data_url.cc',
51 'base/data_url.h',
52 'base/directory_lister.cc',
53 'base/directory_lister.h',
[email protected]c36f0642009-09-09 01:10:5054 'base/dns_util.cc',
55 'base/dns_util.h',
[email protected]2f80c312009-02-25 21:26:5556 'base/effective_tld_names.cc',
57 'base/effective_tld_names.dat',
58 'base/escape.cc',
59 'base/escape.h',
60 'base/ev_root_ca_metadata.cc',
61 'base/ev_root_ca_metadata.h',
62 'base/file_stream.h',
63 'base/file_stream_posix.cc',
64 'base/file_stream_win.cc',
65 'base/filter.cc',
66 'base/filter.h',
67 'base/gzip_filter.cc',
68 'base/gzip_filter.h',
69 'base/gzip_header.cc',
70 'base/gzip_header.h',
[email protected]8a00f00a2009-06-12 00:49:3871 'base/host_cache.cc',
72 'base/host_cache.h',
[email protected]2f80c312009-02-25 21:26:5573 'base/host_resolver.cc',
74 'base/host_resolver.h',
[email protected]b59ff372009-07-15 22:04:3275 'base/host_resolver_impl.cc',
76 'base/host_resolver_impl.h',
77 'base/host_resolver_proc.cc',
78 'base/host_resolver_proc.h',
[email protected]2f80c312009-02-25 21:26:5579 'base/io_buffer.cc',
80 'base/io_buffer.h',
[email protected]a755e1072009-10-23 16:58:3781 'base/keygen_handler.h',
82 'base/keygen_handler_mac.cc',
83 'base/keygen_handler_nss.cc',
84 'base/keygen_handler_win.cc',
[email protected]2f80c312009-02-25 21:26:5585 'base/listen_socket.cc',
86 'base/listen_socket.h',
87 'base/load_flags.h',
[email protected]ec08bb22009-08-12 00:25:1288 'base/load_log.h',
[email protected]54e13772009-08-14 03:01:0989 'base/load_log.cc',
90 'base/load_log_event_type_list.h',
91 'base/load_log_util.cc',
92 'base/load_log_util.h',
[email protected]48ab71e2009-06-22 19:19:1693 'base/load_states.h',
[email protected]2f80c312009-02-25 21:26:5594 'base/mime_sniffer.cc',
95 'base/mime_sniffer.h',
96 'base/mime_util.cc',
97 'base/mime_util.h',
[email protected]b59ff372009-07-15 22:04:3298 # TODO(eroman): move this into its own test-support target.
99 'base/mock_host_resolver.cc',
100 'base/mock_host_resolver.h',
[email protected]2f80c312009-02-25 21:26:55101 'base/net_error_list.h',
102 'base/net_errors.cc',
103 'base/net_errors.h',
104 'base/net_module.cc',
105 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:55106 'base/net_util.cc',
107 'base/net_util.h',
108 'base/net_util_posix.cc',
109 'base/net_util_win.cc',
110 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00111 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55112 'base/platform_mime_util.h',
113 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
114 'base/platform_mime_util_linux.cc',
115 'base/platform_mime_util_mac.cc',
116 'base/platform_mime_util_win.cc',
117 'base/registry_controlled_domain.cc',
118 'base/registry_controlled_domain.h',
119 'base/scoped_cert_chain_context.h',
120 'base/sdch_filter.cc',
121 'base/sdch_filter.h',
122 'base/sdch_manager.cc',
123 'base/sdch_manager.h',
[email protected]0b45559b2009-06-12 21:45:11124 'base/ssl_cert_request_info.h',
[email protected]56c866a22009-06-18 19:38:58125 'base/ssl_client_auth_cache.cc',
126 'base/ssl_client_auth_cache.h',
[email protected]e52deec2009-08-21 19:48:39127 'base/ssl_config_service.cc',
[email protected]2f80c312009-02-25 21:26:55128 'base/ssl_config_service.h',
[email protected]db36938c2009-08-19 21:48:42129 'base/ssl_config_service_defaults.h',
[email protected]f37c98f2009-09-09 22:07:32130 'base/ssl_config_service_mac.cc',
131 'base/ssl_config_service_mac.h',
[email protected]db36938c2009-08-19 21:48:42132 'base/ssl_config_service_win.cc',
133 'base/ssl_config_service_win.h',
[email protected]2f80c312009-02-25 21:26:55134 'base/ssl_info.h',
[email protected]77f6fb432009-09-05 14:21:09135 'base/strict_transport_security_state.cc',
136 'base/strict_transport_security_state.h',
[email protected]2f80c312009-02-25 21:26:55137 'base/telnet_server.cc',
138 'base/telnet_server.h',
[email protected]d022e4e2009-06-23 04:13:00139 'base/test_completion_callback.h',
[email protected]2f80c312009-02-25 21:26:55140 'base/upload_data.cc',
141 'base/upload_data.h',
142 'base/upload_data_stream.cc',
143 'base/upload_data_stream.h',
144 'base/wininet_util.cc',
145 'base/wininet_util.h',
146 'base/winsock_init.cc',
147 'base/winsock_init.h',
148 'base/x509_certificate.cc',
149 'base/x509_certificate.h',
150 'base/x509_certificate_mac.cc',
151 'base/x509_certificate_nss.cc',
152 'base/x509_certificate_win.cc',
[email protected]9c2a57712009-10-21 20:35:11153 ],
154 'export_dependent_settings': [
155 '../base/base.gyp:base',
156 ],
157 'conditions': [
158 [ 'OS == "linux"', {
159 'dependencies': [
160 '../build/linux/system.gyp:gconf',
161 '../build/linux/system.gyp:gdk',
162 '../build/linux/system.gyp:nss',
163 ],
164 }],
165 [ 'OS == "win"', {
166 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
167 'dependencies': [
168 'tld_cleanup',
169 ],
170 },
171 { # else: OS != "win"
172 'sources!': [
173 'base/wininet_util.cc',
174 'base/winsock_init.cc',
175 ],
176 },
177 ],
178 [ 'OS == "linux"', {
179 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
180 },
181 { # else: OS != "linux"
182 'sources!': [
[email protected]a755e1072009-10-23 16:58:37183 'base/cert_database_nss.cc',
184 'base/keygen_handler_nss.cc',
[email protected]9c2a57712009-10-21 20:35:11185 'base/nss_memio.c',
186 'base/nss_memio.h',
187 'base/x509_certificate_nss.cc',
188 ],
189 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
190 'dependencies': [
191 '../third_party/icu/icu.gyp:icui18n',
192 '../third_party/icu/icu.gyp:icuuc',
193 ],
194 },
195 ],
196 [ 'OS == "mac"', {
197 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
198 'link_settings': {
199 'libraries': [
200 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
201 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
202 ]
203 },
204 },
205 ],
206 ],
207 },
208 {
209 'target_name': 'net',
210 'type': '<(library)',
211 'dependencies': [
212 '../base/base.gyp:base',
213 '../base/base.gyp:base_i18n',
214 '../build/temp_gyp/googleurl.gyp:googleurl',
215 '../sdch/sdch.gyp:sdch',
216 '../third_party/bzip2/bzip2.gyp:bzip2',
217 '../third_party/icu/icu.gyp:icui18n',
218 '../third_party/icu/icu.gyp:icuuc',
219 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
220 '../third_party/zlib/zlib.gyp:zlib',
221 'net_base',
222 'net_resources',
223 ],
224 'sources': [
[email protected]2f80c312009-02-25 21:26:55225 'disk_cache/addr.cc',
226 'disk_cache/addr.h',
227 'disk_cache/backend_impl.cc',
228 'disk_cache/backend_impl.h',
[email protected]84d4cee2009-06-18 23:46:58229 'disk_cache/bitmap.cc',
230 'disk_cache/bitmap.h',
[email protected]2f80c312009-02-25 21:26:55231 'disk_cache/block_files.cc',
232 'disk_cache/block_files.h',
233 'disk_cache/cache_util.h',
234 'disk_cache/cache_util_posix.cc',
235 'disk_cache/cache_util_win.cc',
236 'disk_cache/disk_cache.h',
237 'disk_cache/disk_format.h',
238 'disk_cache/entry_impl.cc',
239 'disk_cache/entry_impl.h',
240 'disk_cache/errors.h',
241 'disk_cache/eviction.cc',
242 'disk_cache/eviction.h',
243 'disk_cache/file.h',
244 'disk_cache/file_block.h',
245 'disk_cache/file_lock.cc',
246 'disk_cache/file_lock.h',
247 'disk_cache/file_posix.cc',
248 'disk_cache/file_win.cc',
249 'disk_cache/hash.cc',
250 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34251 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55252 'disk_cache/mapped_file.h',
253 'disk_cache/mapped_file_posix.cc',
254 'disk_cache/mapped_file_win.cc',
255 'disk_cache/mem_backend_impl.cc',
256 'disk_cache/mem_backend_impl.h',
257 'disk_cache/mem_entry_impl.cc',
258 'disk_cache/mem_entry_impl.h',
259 'disk_cache/mem_rankings.cc',
260 'disk_cache/mem_rankings.h',
261 'disk_cache/rankings.cc',
262 'disk_cache/rankings.h',
[email protected]84d4cee2009-06-18 23:46:58263 'disk_cache/sparse_control.cc',
264 'disk_cache/sparse_control.h',
[email protected]2f80c312009-02-25 21:26:55265 'disk_cache/stats.cc',
266 'disk_cache/stats.h',
267 'disk_cache/stats_histogram.cc',
268 'disk_cache/stats_histogram.h',
269 'disk_cache/storage_block-inl.h',
270 'disk_cache/storage_block.h',
271 'disk_cache/trace.cc',
272 'disk_cache/trace.h',
[email protected]7adaccb2009-10-13 04:43:21273 'flip/flip_bitmasks.h',
274 'flip/flip_frame_builder.cc',
275 'flip/flip_frame_builder.h',
276 'flip/flip_framer.cc',
277 'flip/flip_framer.h',
278 'flip/flip_network_transaction.cc',
279 'flip/flip_network_transaction.h',
280 'flip/flip_protocol.h',
281 'flip/flip_session.cc',
282 'flip/flip_session.h',
283 'flip/flip_session_pool.cc',
284 'flip/flip_session_pool.h',
285 'flip/flip_transaction_factory.h',
[email protected]2f80c312009-02-25 21:26:55286 'ftp/ftp_auth_cache.cc',
287 'ftp/ftp_auth_cache.h',
[email protected]c2972192009-07-28 20:30:09288 'ftp/ftp_ctrl_response_buffer.cc',
289 'ftp/ftp_ctrl_response_buffer.h',
[email protected]2f80c312009-02-25 21:26:55290 'ftp/ftp_network_layer.cc',
291 'ftp/ftp_network_layer.h',
292 'ftp/ftp_network_session.h',
293 'ftp/ftp_network_transaction.cc',
294 'ftp/ftp_network_transaction.h',
295 'ftp/ftp_request_info.h',
296 'ftp/ftp_response_info.h',
[email protected]139dd552009-08-28 22:40:55297 'ftp/ftp_server_type_histograms.cc',
298 'ftp/ftp_server_type_histograms.h',
[email protected]2f80c312009-02-25 21:26:55299 'ftp/ftp_transaction.h',
300 'ftp/ftp_transaction_factory.h',
[email protected]b1c7cc42009-09-24 21:46:50301 'ftp/ftp_util.cc',
302 'ftp/ftp_util.h',
[email protected]5ae0b862009-02-28 02:02:41303 'http/des.cc',
304 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55305 'http/http_atom_list.h',
306 'http/http_auth.cc',
307 'http/http_auth.h',
308 'http/http_auth_cache.cc',
309 'http/http_auth_cache.h',
310 'http/http_auth_handler.h',
311 'http/http_auth_handler.cc',
312 'http/http_auth_handler_basic.cc',
313 'http/http_auth_handler_basic.h',
314 'http/http_auth_handler_digest.cc',
315 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41316 'http/http_auth_handler_ntlm.cc',
317 'http/http_auth_handler_ntlm.h',
[email protected]ea9dc9a2009-09-05 00:43:32318 'http/http_auth_handler_ntlm_portable.cc',
319 'http/http_auth_handler_ntlm_win.cc',
[email protected]0877e3d2009-10-17 22:29:57320 'http/http_basic_stream.cc',
[email protected]d022e4e2009-06-23 04:13:00321 'http/http_basic_stream.h',
[email protected]fc48db82009-04-28 21:23:39322 'http/http_byte_range.cc',
323 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55324 'http/http_cache.cc',
325 'http/http_cache.h',
326 'http/http_chunked_decoder.cc',
327 'http/http_chunked_decoder.h',
328 'http/http_network_layer.cc',
329 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44330 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55331 'http/http_network_session.h',
332 'http/http_network_transaction.cc',
333 'http/http_network_transaction.h',
334 'http/http_request_info.h',
335 'http/http_response_headers.cc',
336 'http/http_response_headers.h',
337 'http/http_response_info.cc',
338 'http/http_response_info.h',
[email protected]d022e4e2009-06-23 04:13:00339 'http/http_stream.h',
[email protected]0877e3d2009-10-17 22:29:57340 'http/http_stream_parser.cc',
341 'http/http_stream_parser.h',
[email protected]2f80c312009-02-25 21:26:55342 'http/http_transaction.h',
343 'http/http_transaction_factory.h',
344 'http/http_util.cc',
[email protected]e6547c12009-09-18 03:47:01345 'http/http_util_icu.cc',
[email protected]2f80c312009-02-25 21:26:55346 'http/http_util.h',
347 'http/http_vary_data.cc',
348 'http/http_vary_data.h',
[email protected]d022e4e2009-06-23 04:13:00349 'http/http_version.h',
[email protected]5ae0b862009-02-28 02:02:41350 'http/md4.cc',
351 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50352 'http/partial_data.cc',
353 'http/partial_data.h',
[email protected]25d8ea22009-08-25 19:42:29354 'ocsp/nss_ocsp.cc',
355 'ocsp/nss_ocsp.h',
[email protected]620f5712009-08-04 22:43:12356 'proxy/init_proxy_resolver.cc',
357 'proxy/init_proxy_resolver.h',
[email protected]7dc52f22009-03-02 22:37:18358 'proxy/proxy_config.cc',
359 'proxy/proxy_config.h',
360 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55361 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56362 'proxy/proxy_config_service_linux.cc',
363 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55364 'proxy/proxy_config_service_win.cc',
365 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18366 'proxy/proxy_info.cc',
367 'proxy/proxy_info.h',
368 'proxy/proxy_list.cc',
369 'proxy/proxy_list.h',
370 'proxy/proxy_resolver.h',
[email protected]90ae1fb2009-08-02 21:07:12371 'proxy/proxy_resolver_js_bindings.cc',
372 'proxy/proxy_resolver_js_bindings.h',
[email protected]2f80c312009-02-25 21:26:55373 'proxy/proxy_resolver_mac.cc',
[email protected]d022e4e2009-06-23 04:13:00374 'proxy/proxy_resolver_mac.h',
[email protected]6b675b82009-02-26 23:18:32375 'proxy/proxy_resolver_script.h',
376 'proxy/proxy_resolver_v8.cc',
377 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55378 'proxy/proxy_resolver_winhttp.cc',
379 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18380 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55381 'proxy/proxy_script_fetcher.cc',
382 'proxy/proxy_script_fetcher.h',
383 'proxy/proxy_server.cc',
384 'proxy/proxy_server.h',
385 'proxy/proxy_service.cc',
386 'proxy/proxy_service.h',
[email protected]775fd9e2009-07-26 21:12:20387 'proxy/single_threaded_proxy_resolver.cc',
388 'proxy/single_threaded_proxy_resolver.h',
[email protected]f7984fc62009-06-22 23:26:44389 'socket/client_socket.cc',
390 'socket/client_socket.h',
391 'socket/client_socket_factory.cc',
392 'socket/client_socket_factory.h',
393 'socket/client_socket_handle.cc',
394 'socket/client_socket_handle.h',
395 'socket/client_socket_pool.h',
[email protected]ff579d42009-06-24 15:47:02396 'socket/client_socket_pool_base.cc',
397 'socket/client_socket_pool_base.h',
[email protected]f7984fc62009-06-22 23:26:44398 'socket/socket.h',
[email protected]e0c27be2009-07-15 13:09:35399 'socket/socks5_client_socket.cc',
400 'socket/socks5_client_socket.h',
[email protected]3cd17242009-06-23 02:59:02401 'socket/socks_client_socket.cc',
402 'socket/socks_client_socket.h',
[email protected]f7984fc62009-06-22 23:26:44403 'socket/ssl_client_socket.h',
404 'socket/ssl_client_socket_mac.cc',
[email protected]961427442009-07-15 19:00:47405 'socket/ssl_client_socket_mac.h',
[email protected]f7984fc62009-06-22 23:26:44406 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00407 'socket/ssl_client_socket_nss.h',
[email protected]f7984fc62009-06-22 23:26:44408 'socket/ssl_client_socket_win.cc',
409 'socket/ssl_client_socket_win.h',
410 'socket/ssl_test_util.cc',
411 'socket/ssl_test_util.h',
412 'socket/tcp_client_socket.h',
413 'socket/tcp_client_socket_libevent.cc',
414 'socket/tcp_client_socket_libevent.h',
415 'socket/tcp_client_socket_pool.cc',
416 'socket/tcp_client_socket_pool.h',
417 'socket/tcp_client_socket_win.cc',
418 'socket/tcp_client_socket_win.h',
[email protected]961427442009-07-15 19:00:47419 'socket/tcp_pinger.h',
[email protected]aef03132009-10-09 05:04:14420 'socket_stream/socket_stream.cc',
421 'socket_stream/socket_stream.h',
[email protected]5a224392009-09-01 17:07:17422 'third_party/parseftp/ParseFTPList.cpp',
423 'third_party/parseftp/ParseFTPList.h',
[email protected]2f80c312009-02-25 21:26:55424 'url_request/url_request.cc',
425 'url_request/url_request.h',
426 'url_request/url_request_about_job.cc',
427 'url_request/url_request_about_job.h',
428 'url_request/url_request_context.h',
[email protected]fcb7fd92009-10-22 04:18:58429 'url_request/url_request_data_job.cc',
430 'url_request/url_request_data_job.h',
[email protected]2f80c312009-02-25 21:26:55431 'url_request/url_request_error_job.cc',
432 'url_request/url_request_error_job.h',
433 'url_request/url_request_file_dir_job.cc',
434 'url_request/url_request_file_dir_job.h',
435 'url_request/url_request_file_job.cc',
436 'url_request/url_request_file_job.h',
437 'url_request/url_request_filter.cc',
438 'url_request/url_request_filter.h',
439 'url_request/url_request_ftp_job.cc',
440 'url_request/url_request_ftp_job.h',
441 'url_request/url_request_http_job.cc',
442 'url_request/url_request_http_job.h',
443 'url_request/url_request_inet_job.cc',
444 'url_request/url_request_inet_job.h',
445 'url_request/url_request_job.cc',
446 'url_request/url_request_job.h',
447 'url_request/url_request_job_manager.cc',
448 'url_request/url_request_job_manager.h',
449 'url_request/url_request_job_metrics.cc',
450 'url_request/url_request_job_metrics.h',
451 'url_request/url_request_job_tracker.cc',
452 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33453 'url_request/url_request_new_ftp_job.cc',
454 'url_request/url_request_new_ftp_job.h',
[email protected]56d83182009-09-04 20:01:45455 'url_request/url_request_redirect_job.cc',
456 'url_request/url_request_redirect_job.h',
[email protected]2f80c312009-02-25 21:26:55457 'url_request/url_request_simple_job.cc',
458 'url_request/url_request_simple_job.h',
459 'url_request/url_request_status.h',
460 'url_request/url_request_test_job.cc',
461 'url_request/url_request_test_job.h',
[email protected]7bffd082009-10-22 20:06:52462 'url_request/url_request_tracker.cc',
463 'url_request/url_request_tracker.h',
[email protected]13c34d12009-09-14 20:51:04464 'url_request/url_request_view_net_internals_job.cc',
465 'url_request/url_request_view_net_internals_job.h',
466 'url_request/view_cache_helper.cc',
467 'url_request/view_cache_helper.h',
[email protected]6d9fc742009-10-21 07:59:36468 'websockets/websocket.cc',
469 'websockets/websocket.h',
[email protected]2f80c312009-02-25 21:26:55470 ],
[email protected]2f80c312009-02-25 21:26:55471 'export_dependent_settings': [
472 '../base/base.gyp:base',
473 ],
474 'conditions': [
[email protected]c61f6432009-04-22 01:16:42475 ['javascript_engine=="v8"', {
476 'dependencies': [
[email protected]44531a22009-04-28 21:37:56477 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42478 ],
479 }],
[email protected]9d384032009-03-20 23:13:26480 [ 'OS == "linux"', {
481 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56482 '../build/linux/system.gyp:gconf',
483 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26484 '../build/linux/system.gyp:nss',
485 ],
486 }],
[email protected]2f80c312009-02-25 21:26:55487 [ 'OS == "win"', {
488 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
489 'sources!': [
[email protected]ea9dc9a2009-09-05 00:43:32490 'http/http_auth_handler_ntlm_portable.cc',
[email protected]f7984fc62009-06-22 23:26:44491 'socket/tcp_client_socket_libevent.cc',
[email protected]2f80c312009-02-25 21:26:55492 ],
493 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55494 'tld_cleanup',
495 ],
[email protected]2f80c312009-02-25 21:26:55496 },
497 { # else: OS != "win"
498 'sources!': [
[email protected]2f80c312009-02-25 21:26:55499 'proxy/proxy_resolver_winhttp.cc',
500 'url_request/url_request_ftp_job.cc',
501 'url_request/url_request_inet_job.cc',
502 ],
503 },
504 ],
505 [ 'OS == "linux"', {
506 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55507 },
508 { # else: OS != "linux"
509 'sources!': [
[email protected]3d4ae9a42009-07-24 03:48:16510 'ocsp/nss_ocsp.cc',
511 'ocsp/nss_ocsp.h',
[email protected]f7984fc62009-06-22 23:26:44512 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00513 'socket/ssl_client_socket_nss.h',
[email protected]2f80c312009-02-25 21:26:55514 ],
515 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
516 'dependencies': [
[email protected]280629492009-09-09 06:49:08517 '../third_party/icu/icu.gyp:icui18n',
518 '../third_party/icu/icu.gyp:icuuc',
[email protected]2f80c312009-02-25 21:26:55519 ],
520 },
521 ],
522 [ 'OS == "mac"', {
523 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
524 'link_settings': {
525 'libraries': [
526 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
527 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
528 ]
529 },
530 },
531 ],
[email protected]2f80c312009-02-25 21:26:55532 ],
533 },
534 {
535 'target_name': 'net_unittests',
536 'type': 'executable',
537 'dependencies': [
538 'net',
[email protected]6718b412009-03-04 18:26:00539 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55540 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14541 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:55542 '../testing/gtest.gyp:gtest',
[email protected]e86aaca2009-08-12 17:58:57543 '../third_party/zlib/zlib.gyp:zlib',
[email protected]8e99bd12009-08-17 18:45:25544 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]2f80c312009-02-25 21:26:55545 ],
[email protected]9e450f22009-03-10 23:12:16546 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55547 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38548 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55549 'base/base64_unittest.cc',
550 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55551 'base/cookie_monster_unittest.cc',
552 'base/cookie_policy_unittest.cc',
553 'base/data_url_unittest.cc',
554 'base/directory_lister_unittest.cc',
[email protected]c36f0642009-09-09 01:10:50555 'base/dns_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55556 'base/escape_unittest.cc',
557 'base/file_stream_unittest.cc',
558 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27559 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55560 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38561 'base/host_cache_unittest.cc',
[email protected]b59ff372009-07-15 22:04:32562 'base/host_resolver_impl_unittest.cc',
[email protected]54e13772009-08-14 03:01:09563 'base/load_log_unittest.cc',
564 'base/load_log_unittest.h',
565 'base/load_log_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55566 'base/listen_socket_unittest.cc',
567 'base/listen_socket_unittest.h',
568 'base/mime_sniffer_unittest.cc',
569 'base/mime_util_unittest.cc',
570 'base/net_util_unittest.cc',
571 'base/registry_controlled_domain_unittest.cc',
572 'base/run_all_unittests.cc',
573 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58574 'base/ssl_client_auth_cache_unittest.cc',
[email protected]f37c98f2009-09-09 22:07:32575 'base/ssl_config_service_mac_unittest.cc',
[email protected]db36938c2009-08-19 21:48:42576 'base/ssl_config_service_win_unittest.cc',
[email protected]77f6fb432009-09-05 14:21:09577 'base/strict_transport_security_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55578 'base/telnet_server_unittest.cc',
579 'base/test_completion_callback_unittest.cc',
580 'base/wininet_util_unittest.cc',
581 'base/x509_certificate_unittest.cc',
582 'disk_cache/addr_unittest.cc',
583 'disk_cache/backend_unittest.cc',
[email protected]84d4cee2009-06-18 23:46:58584 'disk_cache/bitmap_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55585 'disk_cache/block_files_unittest.cc',
586 'disk_cache/disk_cache_test_base.cc',
587 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55588 'disk_cache/entry_unittest.cc',
589 'disk_cache/mapped_file_unittest.cc',
590 'disk_cache/storage_block_unittest.cc',
591 'ftp/ftp_auth_cache_unittest.cc',
[email protected]c2972192009-07-28 20:30:09592 'ftp/ftp_ctrl_response_buffer_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37593 'ftp/ftp_network_transaction_unittest.cc',
[email protected]b1c7cc42009-09-24 21:46:50594 'ftp/ftp_util_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41595 'http/des_unittest.cc',
[email protected]7adaccb2009-10-13 04:43:21596 'flip/flip_framer_test.cc',
597 'flip/flip_network_transaction_unittest.cc',
598 'flip/flip_session_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55599 'http/http_auth_cache_unittest.cc',
600 'http/http_auth_handler_basic_unittest.cc',
601 'http/http_auth_handler_digest_unittest.cc',
602 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39603 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55604 'http/http_cache_unittest.cc',
605 'http/http_chunked_decoder_unittest.cc',
606 'http/http_network_layer_unittest.cc',
607 'http/http_network_transaction_unittest.cc',
608 'http/http_response_headers_unittest.cc',
609 'http/http_transaction_unittest.cc',
610 'http/http_transaction_unittest.h',
611 'http/http_util_unittest.cc',
612 'http/http_vary_data_unittest.cc',
[email protected]620f5712009-08-04 22:43:12613 'proxy/init_proxy_resolver_unittest.cc',
[email protected]c6efbc62009-08-06 12:52:19614 'proxy/mock_proxy_resolver.h',
[email protected]861c6c62009-04-20 16:50:56615 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57616 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23617 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18618 'proxy/proxy_list_unittest.cc',
[email protected]90ae1fb2009-08-02 21:07:12619 'proxy/proxy_resolver_js_bindings_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32620 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55621 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31622 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55623 'proxy/proxy_service_unittest.cc',
[email protected]775fd9e2009-07-26 21:12:20624 'proxy/single_threaded_proxy_resolver_unittest.cc',
[email protected]ab838892009-06-30 18:49:05625 'socket/client_socket_pool_base_unittest.cc',
[email protected]e0c27be2009-07-15 13:09:35626 'socket/socks5_client_socket_unittest.cc',
[email protected]76a51ac82009-06-28 07:58:58627 'socket/socks_client_socket_unittest.cc',
[email protected]f7984fc62009-06-22 23:26:44628 'socket/ssl_client_socket_unittest.cc',
629 'socket/tcp_client_socket_pool_unittest.cc',
630 'socket/tcp_client_socket_unittest.cc',
631 'socket/tcp_pinger_unittest.cc',
[email protected]7bffd082009-10-22 20:06:52632 'url_request/url_request_tracker_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55633 'url_request/url_request_unittest.cc',
634 'url_request/url_request_unittest.h',
[email protected]6d9fc742009-10-21 07:59:36635 'websockets/websocket_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55636 ],
637 'conditions': [
[email protected]861c6c62009-04-20 16:50:56638 [ 'OS == "win"', {
639 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
640 },
641 ],
[email protected]2f80c312009-02-25 21:26:55642 [ 'OS != "win"', {
643 'sources!': [
644 'base/wininet_util_unittest.cc',
645 ],
646 },
647 ],
648 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56649 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26650 'dependencies': [
651 '../build/linux/system.gyp:gtk',
652 ],
[email protected]2f80c312009-02-25 21:26:55653 'sources!': [
654 'base/sdch_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55655 ],
656 },
657 ],
658 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56659 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55660 },
661 ],
662 # This is needed to trigger the dll copy step on windows.
663 # TODO(mark): Specifying this here shouldn't be necessary.
664 [ 'OS == "win"', {
665 'dependencies': [
[email protected]280629492009-09-09 06:49:08666 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55667 ],
668 },
669 ],
670 ],
671 },
672 {
673 'target_name': 'net_perftests',
674 'type': 'executable',
675 'dependencies': [
676 'net',
[email protected]6718b412009-03-04 18:26:00677 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55678 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14679 '../base/base.gyp:base_i18n',
[email protected]e8ef09a2009-03-16 23:46:45680 '../base/base.gyp:test_support_base',
[email protected]7d1ba9392009-08-03 18:35:06681 '../base/base.gyp:test_support_perf',
[email protected]2f80c312009-02-25 21:26:55682 '../testing/gtest.gyp:gtest',
683 ],
[email protected]9e450f22009-03-10 23:12:16684 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55685 'sources': [
[email protected]2f80c312009-02-25 21:26:55686 'base/cookie_monster_perftest.cc',
687 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33688 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55689 ],
690 'conditions': [
691 # This is needed to trigger the dll copy step on windows.
692 # TODO(mark): Specifying this here shouldn't be necessary.
693 [ 'OS == "win"', {
694 'dependencies': [
[email protected]280629492009-09-09 06:49:08695 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55696 ],
697 },
698 ],
699 ],
700 },
701 {
702 'target_name': 'stress_cache',
703 'type': 'executable',
704 'dependencies': [
705 'net',
[email protected]6718b412009-03-04 18:26:00706 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55707 '../base/base.gyp:base',
708 ],
709 'sources': [
[email protected]2f80c312009-02-25 21:26:55710 'disk_cache/stress_cache.cc',
711 ],
712 },
713 {
714 'target_name': 'tld_cleanup',
715 'type': 'executable',
716 'dependencies': [
717 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14718 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:55719 '../build/temp_gyp/googleurl.gyp:googleurl',
720 ],
[email protected]b8234462009-03-18 02:30:55721 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55722 'sources': [
723 'tools/tld_cleanup/tld_cleanup.cc',
724 ],
725 },
726 {
727 'target_name': 'crash_cache',
728 'type': 'executable',
729 'dependencies': [
730 'net',
[email protected]6718b412009-03-04 18:26:00731 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55732 '../base/base.gyp:base',
733 ],
[email protected]9e450f22009-03-10 23:12:16734 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55735 'sources': [
736 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00737 ],
738 },
739 {
740 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49741 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00742 'dependencies': [
743 'net',
744 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15745 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00746 ],
747 'sources': [
[email protected]2f80c312009-02-25 21:26:55748 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00749 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50750 'proxy/proxy_config_service_common_unittest.cc',
751 'proxy/proxy_config_service_common_unittest.h',
[email protected]f7984fc62009-06-22 23:26:44752 'socket/socket_test_util.cc',
753 'socket/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55754 ],
755 },
[email protected]ef36c74c2009-03-11 13:32:22756 {
757 'target_name': 'net_resources',
758 'type': 'none',
759 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
760 'rules': [
[email protected]2f80c312009-02-25 21:26:55761 {
[email protected]ef36c74c2009-03-11 13:32:22762 'rule_name': 'grit',
763 'extension': 'grd',
764 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00765 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55766 ],
[email protected]ef36c74c2009-03-11 13:32:22767 'outputs': [
768 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
769 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
770 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55771 ],
[email protected]ef36c74c2009-03-11 13:32:22772 'action':
773 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35774 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55775 },
[email protected]6718b412009-03-04 18:26:00776 ],
[email protected]ef36c74c2009-03-11 13:32:22777 'sources': [
778 'base/net_resources.grd',
779 ],
780 'direct_dependent_settings': {
781 'include_dirs': [
782 '<(SHARED_INTERMEDIATE_DIR)/net',
783 ],
784 },
[email protected]b392f3e2009-05-11 20:01:24785 'conditions': [
786 ['OS=="win"', {
787 'dependencies': ['../build/win/system.gyp:cygwin'],
788 }],
789 ],
[email protected]ef36c74c2009-03-11 13:32:22790 },
[email protected]75b91f92009-06-17 07:28:48791 {
792 'target_name': 'fetch_client',
793 'type': 'executable',
794 'dependencies': [
795 'net',
796 '../base/base.gyp:base',
[email protected]75b91f92009-06-17 07:28:48797 '../testing/gtest.gyp:gtest',
798 ],
799 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
800 'sources': [
801 'tools/fetch/fetch_client.cc',
802 ],
803 },
[email protected]fe4f06d2009-06-17 07:58:05804 {
805 'target_name': 'fetch_server',
806 'type': 'executable',
807 'dependencies': [
808 'net',
809 '../base/base.gyp:base',
[email protected]fe4f06d2009-06-17 07:58:05810 '../testing/gtest.gyp:gtest',
811 ],
812 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
813 'sources': [
814 'tools/fetch/fetch_server.cc',
815 'tools/fetch/http_listen_socket.cc',
816 'tools/fetch/http_listen_socket.h',
817 'tools/fetch/http_server.cc',
818 'tools/fetch/http_server.h',
[email protected]d022e4e2009-06-23 04:13:00819 'tools/fetch/http_server_request_info.h',
820 'tools/fetch/http_server_response_info.h',
[email protected]fe4f06d2009-06-17 07:58:05821 'tools/fetch/http_session.cc',
822 'tools/fetch/http_session.h',
823 ],
824 },
[email protected]ef36c74c2009-03-11 13:32:22825 ],
826 'conditions': [
[email protected]6718b412009-03-04 18:26:00827 ['OS=="win"', {
828 'targets': [
[email protected]2f80c312009-02-25 21:26:55829 {
830 # TODO(port): dump_cache is still Windows-specific.
831 'target_name': 'dump_cache',
832 'type': 'executable',
833 'dependencies': [
834 'net',
835 '../base/base.gyp:base',
836 ],
837 'sources': [
[email protected]c44344e2009-09-02 22:05:50838 'tools/dump_cache/cache_dumper.cc',
839 'tools/dump_cache/cache_dumper.h',
[email protected]2f80c312009-02-25 21:26:55840 'tools/dump_cache/dump_cache.cc',
841 'tools/dump_cache/dump_files.cc',
842 'tools/dump_cache/upgrade.cc',
[email protected]c44344e2009-09-02 22:05:50843 'tools/dump_cache/url_to_filename_encoder.h',
[email protected]2f80c312009-02-25 21:26:55844 ],
845 },
846 ],
847 }],
[email protected]2f80c312009-02-25 21:26:55848 ],
849}
[email protected]f5c990c2009-10-06 03:02:38850
851# Local Variables:
852# tab-width:2
853# indent-tabs-mode:nil
854# End:
855# vim: set expandtab tabstop=2 shiftwidth=2: