[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1 | # 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', |
| 15 | 'type': 'static_library', |
| 16 | 'dependencies': [ |
| 17 | '../base/base.gyp:base', |
| 18 | '../build/temp_gyp/googleurl.gyp:googleurl', |
[email protected] | 6b675b8 | 2009-02-26 23:18:32 | [diff] [blame] | 19 | '../build/temp_gyp/v8.gyp:v8', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 20 | '../sdch/sdch.gyp:sdch', |
| 21 | '../third_party/bzip2/bzip2.gyp:bzip2', |
| 22 | '../third_party/icu38/icu38.gyp:icui18n', |
| 23 | '../third_party/icu38/icu38.gyp:icuuc', |
| 24 | '../third_party/modp_b64/modp_b64.gyp:modp_b64', |
| 25 | '../third_party/zlib/zlib.gyp:zlib', |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 26 | 'net_resources', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 27 | ], |
[email protected] | 0d54d2e | 2009-03-10 22:25:54 | [diff] [blame] | 28 | 'msvs_guid': '326E9795-E760-410A-B69A-3F79DB3F5243', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 29 | 'sources': [ |
| 30 | 'base/address_list.cc', |
| 31 | 'base/address_list.h', |
| 32 | 'base/auth.h', |
| 33 | 'base/base64.cc', |
| 34 | 'base/base64.h', |
| 35 | 'base/bzip2_filter.cc', |
| 36 | 'base/bzip2_filter.h', |
[email protected] | 6192f73 | 2009-03-25 23:44:20 | [diff] [blame] | 37 | 'base/cache_type.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 38 | 'base/cert_status_flags.cc', |
| 39 | 'base/cert_status_flags.h', |
| 40 | 'base/cert_verifier.cc', |
| 41 | 'base/cert_verifier.h', |
| 42 | 'base/cert_verify_result.h', |
| 43 | 'base/client_socket.cc', |
| 44 | 'base/client_socket.h', |
| 45 | 'base/client_socket_factory.cc', |
| 46 | 'base/client_socket_factory.h', |
| 47 | 'base/client_socket_handle.cc', |
| 48 | 'base/client_socket_handle.h', |
| 49 | 'base/client_socket_pool.cc', |
| 50 | 'base/client_socket_pool.h', |
| 51 | 'base/completion_callback.h', |
| 52 | 'base/connection_type_histograms.cc', |
| 53 | 'base/connection_type_histograms.h', |
| 54 | 'base/cookie_monster.cc', |
| 55 | 'base/cookie_monster.h', |
| 56 | 'base/cookie_policy.cc', |
| 57 | 'base/cookie_policy.h', |
| 58 | 'base/data_url.cc', |
| 59 | 'base/data_url.h', |
| 60 | 'base/directory_lister.cc', |
| 61 | 'base/directory_lister.h', |
| 62 | 'base/dns_resolution_observer.cc', |
| 63 | 'base/dns_resolution_observer.h', |
| 64 | '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', |
| 75 | 'base/gzip_filter.cc', |
| 76 | 'base/gzip_filter.h', |
| 77 | 'base/gzip_header.cc', |
| 78 | 'base/gzip_header.h', |
| 79 | 'base/host_resolver.cc', |
| 80 | 'base/host_resolver.h', |
| 81 | 'base/io_buffer.cc', |
| 82 | 'base/io_buffer.h', |
| 83 | 'base/listen_socket.cc', |
| 84 | 'base/listen_socket.h', |
| 85 | 'base/load_flags.h', |
| 86 | 'base/mime_sniffer.cc', |
| 87 | 'base/mime_sniffer.h', |
| 88 | 'base/mime_util.cc', |
| 89 | 'base/mime_util.h', |
| 90 | 'base/net_error_list.h', |
| 91 | 'base/net_errors.cc', |
| 92 | 'base/net_errors.h', |
| 93 | 'base/net_module.cc', |
| 94 | 'base/net_module.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 95 | 'base/net_util.cc', |
| 96 | 'base/net_util.h', |
| 97 | 'base/net_util_posix.cc', |
| 98 | 'base/net_util_win.cc', |
| 99 | 'base/nss_memio.c', |
| 100 | 'base/platform_mime_util.h', |
| 101 | # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? |
| 102 | 'base/platform_mime_util_linux.cc', |
| 103 | 'base/platform_mime_util_mac.cc', |
| 104 | 'base/platform_mime_util_win.cc', |
| 105 | 'base/registry_controlled_domain.cc', |
| 106 | 'base/registry_controlled_domain.h', |
| 107 | 'base/scoped_cert_chain_context.h', |
| 108 | 'base/sdch_filter.cc', |
| 109 | 'base/sdch_filter.h', |
| 110 | 'base/sdch_manager.cc', |
| 111 | 'base/sdch_manager.h', |
| 112 | 'base/socket.h', |
| 113 | 'base/ssl_client_socket.h', |
| 114 | 'base/ssl_client_socket_mac.cc', |
| 115 | 'base/ssl_client_socket_nss.cc', |
| 116 | 'base/ssl_client_socket_win.cc', |
| 117 | 'base/ssl_client_socket_win.h', |
| 118 | 'base/ssl_config_service.cc', |
| 119 | 'base/ssl_config_service.h', |
| 120 | 'base/ssl_info.h', |
| 121 | 'base/ssl_test_util.cc', |
| 122 | 'base/tcp_client_socket.h', |
| 123 | 'base/tcp_client_socket_libevent.cc', |
| 124 | 'base/tcp_client_socket_win.cc', |
| 125 | 'base/telnet_server.cc', |
| 126 | 'base/telnet_server.h', |
| 127 | 'base/upload_data.cc', |
| 128 | 'base/upload_data.h', |
| 129 | 'base/upload_data_stream.cc', |
| 130 | 'base/upload_data_stream.h', |
| 131 | 'base/wininet_util.cc', |
| 132 | 'base/wininet_util.h', |
| 133 | 'base/winsock_init.cc', |
| 134 | 'base/winsock_init.h', |
| 135 | 'base/x509_certificate.cc', |
| 136 | 'base/x509_certificate.h', |
| 137 | 'base/x509_certificate_mac.cc', |
| 138 | 'base/x509_certificate_nss.cc', |
| 139 | 'base/x509_certificate_win.cc', |
| 140 | 'build/precompiled_net.cc', |
| 141 | 'build/precompiled_net.h', |
| 142 | 'disk_cache/addr.cc', |
| 143 | 'disk_cache/addr.h', |
| 144 | 'disk_cache/backend_impl.cc', |
| 145 | 'disk_cache/backend_impl.h', |
| 146 | 'disk_cache/block_files.cc', |
| 147 | 'disk_cache/block_files.h', |
| 148 | 'disk_cache/cache_util.h', |
| 149 | 'disk_cache/cache_util_posix.cc', |
| 150 | 'disk_cache/cache_util_win.cc', |
| 151 | 'disk_cache/disk_cache.h', |
| 152 | 'disk_cache/disk_format.h', |
| 153 | 'disk_cache/entry_impl.cc', |
| 154 | 'disk_cache/entry_impl.h', |
| 155 | 'disk_cache/errors.h', |
| 156 | 'disk_cache/eviction.cc', |
| 157 | 'disk_cache/eviction.h', |
| 158 | 'disk_cache/file.h', |
| 159 | 'disk_cache/file_block.h', |
| 160 | 'disk_cache/file_lock.cc', |
| 161 | 'disk_cache/file_lock.h', |
| 162 | 'disk_cache/file_posix.cc', |
| 163 | 'disk_cache/file_win.cc', |
| 164 | 'disk_cache/hash.cc', |
| 165 | 'disk_cache/hash.h', |
[email protected] | 17a8396f1 | 2009-03-27 20:12:34 | [diff] [blame] | 166 | 'disk_cache/histogram_macros.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 167 | 'disk_cache/mapped_file.h', |
| 168 | 'disk_cache/mapped_file_posix.cc', |
| 169 | 'disk_cache/mapped_file_win.cc', |
| 170 | 'disk_cache/mem_backend_impl.cc', |
| 171 | 'disk_cache/mem_backend_impl.h', |
| 172 | 'disk_cache/mem_entry_impl.cc', |
| 173 | 'disk_cache/mem_entry_impl.h', |
| 174 | 'disk_cache/mem_rankings.cc', |
| 175 | 'disk_cache/mem_rankings.h', |
| 176 | 'disk_cache/rankings.cc', |
| 177 | 'disk_cache/rankings.h', |
| 178 | 'disk_cache/stats.cc', |
| 179 | 'disk_cache/stats.h', |
| 180 | 'disk_cache/stats_histogram.cc', |
| 181 | 'disk_cache/stats_histogram.h', |
| 182 | 'disk_cache/storage_block-inl.h', |
| 183 | 'disk_cache/storage_block.h', |
| 184 | 'disk_cache/trace.cc', |
| 185 | 'disk_cache/trace.h', |
| 186 | 'ftp/ftp_auth_cache.cc', |
| 187 | 'ftp/ftp_auth_cache.h', |
[email protected] | fffc27d5 | 2009-03-19 23:26:27 | [diff] [blame] | 188 | 'ftp/ftp_directory_parser.cc', |
| 189 | 'ftp/ftp_directory_parser.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 190 | 'ftp/ftp_network_layer.cc', |
| 191 | 'ftp/ftp_network_layer.h', |
| 192 | 'ftp/ftp_network_session.h', |
| 193 | 'ftp/ftp_network_transaction.cc', |
| 194 | 'ftp/ftp_network_transaction.h', |
| 195 | 'ftp/ftp_request_info.h', |
| 196 | 'ftp/ftp_response_info.h', |
| 197 | 'ftp/ftp_transaction.h', |
| 198 | 'ftp/ftp_transaction_factory.h', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 199 | 'http/des.cc', |
| 200 | 'http/des.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 201 | 'http/http_atom_list.h', |
| 202 | 'http/http_auth.cc', |
| 203 | 'http/http_auth.h', |
| 204 | 'http/http_auth_cache.cc', |
| 205 | 'http/http_auth_cache.h', |
| 206 | 'http/http_auth_handler.h', |
| 207 | 'http/http_auth_handler.cc', |
| 208 | 'http/http_auth_handler_basic.cc', |
| 209 | 'http/http_auth_handler_basic.h', |
| 210 | 'http/http_auth_handler_digest.cc', |
| 211 | 'http/http_auth_handler_digest.h', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 212 | 'http/http_auth_handler_ntlm.cc', |
| 213 | 'http/http_auth_handler_ntlm.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 214 | 'http/http_cache.cc', |
| 215 | 'http/http_cache.h', |
| 216 | 'http/http_chunked_decoder.cc', |
| 217 | 'http/http_chunked_decoder.h', |
| 218 | 'http/http_network_layer.cc', |
| 219 | 'http/http_network_layer.h', |
[email protected] | 0d8fa3ec | 2009-04-08 04:22:44 | [diff] [blame^] | 220 | 'http/http_network_session.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 221 | 'http/http_network_session.h', |
| 222 | 'http/http_network_transaction.cc', |
| 223 | 'http/http_network_transaction.h', |
| 224 | 'http/http_request_info.h', |
| 225 | 'http/http_response_headers.cc', |
| 226 | 'http/http_response_headers.h', |
| 227 | 'http/http_response_info.cc', |
| 228 | 'http/http_response_info.h', |
| 229 | 'http/http_transaction.h', |
| 230 | 'http/http_transaction_factory.h', |
| 231 | 'http/http_util.cc', |
| 232 | 'http/http_util.h', |
| 233 | 'http/http_vary_data.cc', |
| 234 | 'http/http_vary_data.h', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 235 | 'http/md4.cc', |
| 236 | 'http/md4.h', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 237 | 'proxy/proxy_config.cc', |
| 238 | 'proxy/proxy_config.h', |
| 239 | 'proxy/proxy_config_service.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 240 | 'proxy/proxy_config_service_fixed.h', |
| 241 | 'proxy/proxy_config_service_win.cc', |
| 242 | 'proxy/proxy_config_service_win.h', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 243 | 'proxy/proxy_info.cc', |
| 244 | 'proxy/proxy_info.h', |
| 245 | 'proxy/proxy_list.cc', |
| 246 | 'proxy/proxy_list.h', |
| 247 | 'proxy/proxy_resolver.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 248 | 'proxy/proxy_resolver_mac.cc', |
[email protected] | 6b675b8 | 2009-02-26 23:18:32 | [diff] [blame] | 249 | 'proxy/proxy_resolver_script.h', |
| 250 | 'proxy/proxy_resolver_v8.cc', |
| 251 | 'proxy/proxy_resolver_v8.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 252 | 'proxy/proxy_resolver_winhttp.cc', |
| 253 | 'proxy/proxy_resolver_winhttp.h', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 254 | 'proxy/proxy_retry_info.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 255 | 'proxy/proxy_script_fetcher.cc', |
| 256 | 'proxy/proxy_script_fetcher.h', |
| 257 | 'proxy/proxy_server.cc', |
| 258 | 'proxy/proxy_server.h', |
| 259 | 'proxy/proxy_service.cc', |
| 260 | 'proxy/proxy_service.h', |
| 261 | 'url_request/mime_sniffer_proxy.cc', |
| 262 | 'url_request/mime_sniffer_proxy.h', |
| 263 | 'url_request/url_request.cc', |
| 264 | 'url_request/url_request.h', |
| 265 | 'url_request/url_request_about_job.cc', |
| 266 | 'url_request/url_request_about_job.h', |
| 267 | 'url_request/url_request_context.h', |
| 268 | 'url_request/url_request_error_job.cc', |
| 269 | 'url_request/url_request_error_job.h', |
| 270 | 'url_request/url_request_file_dir_job.cc', |
| 271 | 'url_request/url_request_file_dir_job.h', |
| 272 | 'url_request/url_request_file_job.cc', |
| 273 | 'url_request/url_request_file_job.h', |
| 274 | 'url_request/url_request_filter.cc', |
| 275 | 'url_request/url_request_filter.h', |
| 276 | 'url_request/url_request_ftp_job.cc', |
| 277 | 'url_request/url_request_ftp_job.h', |
| 278 | 'url_request/url_request_http_job.cc', |
| 279 | 'url_request/url_request_http_job.h', |
| 280 | 'url_request/url_request_inet_job.cc', |
| 281 | 'url_request/url_request_inet_job.h', |
| 282 | 'url_request/url_request_job.cc', |
| 283 | 'url_request/url_request_job.h', |
| 284 | 'url_request/url_request_job_manager.cc', |
| 285 | 'url_request/url_request_job_manager.h', |
| 286 | 'url_request/url_request_job_metrics.cc', |
| 287 | 'url_request/url_request_job_metrics.h', |
| 288 | 'url_request/url_request_job_tracker.cc', |
| 289 | 'url_request/url_request_job_tracker.h', |
[email protected] | b65ce094 | 2009-03-16 20:13:33 | [diff] [blame] | 290 | 'url_request/url_request_new_ftp_job.cc', |
| 291 | 'url_request/url_request_new_ftp_job.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 292 | 'url_request/url_request_simple_job.cc', |
| 293 | 'url_request/url_request_simple_job.h', |
| 294 | 'url_request/url_request_status.h', |
| 295 | 'url_request/url_request_test_job.cc', |
| 296 | 'url_request/url_request_test_job.h', |
| 297 | 'url_request/url_request_view_cache_job.cc', |
| 298 | 'url_request/url_request_view_cache_job.h', |
| 299 | ], |
| 300 | 'sources!': [ |
| 301 | 'build/precompiled_net.h', |
| 302 | 'build/precompiled_net.cc', |
| 303 | ], |
| 304 | 'export_dependent_settings': [ |
| 305 | '../base/base.gyp:base', |
| 306 | ], |
| 307 | 'conditions': [ |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 308 | [ 'OS == "linux"', { |
| 309 | 'dependencies': [ |
| 310 | '../build/linux/system.gyp:nss', |
| 311 | ], |
| 312 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 313 | [ 'OS == "win"', { |
| 314 | 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ], |
| 315 | 'sources!': [ |
| 316 | 'base/tcp_client_socket_libevent.cc', |
| 317 | ], |
| 318 | 'dependencies': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 319 | 'tld_cleanup', |
| 320 | ], |
| 321 | 'configurations': { |
| 322 | 'Debug': { |
| 323 | 'msvs_precompiled_header': 'build/precompiled_net.h', |
| 324 | 'msvs_precompiled_source': 'build/precompiled_net.cc', |
| 325 | }, |
| 326 | }, |
| 327 | }, |
| 328 | { # else: OS != "win" |
| 329 | 'sources!': [ |
| 330 | 'base/ssl_config_service.cc', |
| 331 | 'base/wininet_util.cc', |
| 332 | 'base/winsock_init.cc', |
| 333 | 'proxy/proxy_resolver_winhttp.cc', |
| 334 | 'url_request/url_request_ftp_job.cc', |
| 335 | 'url_request/url_request_inet_job.cc', |
| 336 | ], |
| 337 | }, |
| 338 | ], |
| 339 | [ 'OS == "linux"', { |
| 340 | 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 341 | }, |
| 342 | { # else: OS != "linux" |
| 343 | 'sources!': [ |
| 344 | 'base/nss_memio.c', |
| 345 | 'base/ssl_client_socket_nss.cc', |
| 346 | 'base/x509_certificate_nss.cc', |
| 347 | ], |
| 348 | # Get U_STATIC_IMPLEMENTATION and -I directories on Linux. |
| 349 | 'dependencies': [ |
| 350 | '../third_party/icu38/icu38.gyp:icui18n', |
| 351 | '../third_party/icu38/icu38.gyp:icuuc', |
| 352 | ], |
| 353 | }, |
| 354 | ], |
| 355 | [ 'OS == "mac"', { |
| 356 | 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ], |
| 357 | 'link_settings': { |
| 358 | 'libraries': [ |
| 359 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 360 | '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', |
| 361 | ] |
| 362 | }, |
| 363 | }, |
| 364 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 365 | ], |
| 366 | }, |
| 367 | { |
| 368 | 'target_name': 'net_unittests', |
| 369 | 'type': 'executable', |
| 370 | 'dependencies': [ |
| 371 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 372 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 373 | '../base/base.gyp:base', |
| 374 | '../testing/gtest.gyp:gtest', |
| 375 | ], |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 376 | 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 377 | 'sources': [ |
| 378 | 'base/base64_unittest.cc', |
| 379 | 'base/bzip2_filter_unittest.cc', |
| 380 | 'base/client_socket_pool_unittest.cc', |
| 381 | 'base/cookie_monster_unittest.cc', |
| 382 | 'base/cookie_policy_unittest.cc', |
| 383 | 'base/data_url_unittest.cc', |
| 384 | 'base/directory_lister_unittest.cc', |
| 385 | 'base/escape_unittest.cc', |
| 386 | 'base/file_stream_unittest.cc', |
| 387 | 'base/filter_unittest.cc', |
[email protected] | 56e72f3 | 2009-03-09 18:22:27 | [diff] [blame] | 388 | 'base/filter_unittest.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 389 | 'base/gzip_filter_unittest.cc', |
| 390 | 'base/host_resolver_unittest.cc', |
| 391 | 'base/listen_socket_unittest.cc', |
| 392 | 'base/listen_socket_unittest.h', |
| 393 | 'base/mime_sniffer_unittest.cc', |
| 394 | 'base/mime_util_unittest.cc', |
| 395 | 'base/net_util_unittest.cc', |
| 396 | 'base/registry_controlled_domain_unittest.cc', |
| 397 | 'base/run_all_unittests.cc', |
| 398 | 'base/sdch_filter_unittest.cc', |
| 399 | 'base/ssl_client_socket_unittest.cc', |
| 400 | 'base/ssl_config_service_unittest.cc', |
| 401 | 'base/tcp_client_socket_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 402 | 'base/tcp_pinger_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 403 | 'base/telnet_server_unittest.cc', |
| 404 | 'base/test_completion_callback_unittest.cc', |
| 405 | 'base/wininet_util_unittest.cc', |
| 406 | 'base/x509_certificate_unittest.cc', |
| 407 | 'disk_cache/addr_unittest.cc', |
| 408 | 'disk_cache/backend_unittest.cc', |
| 409 | 'disk_cache/block_files_unittest.cc', |
| 410 | 'disk_cache/disk_cache_test_base.cc', |
| 411 | 'disk_cache/disk_cache_test_base.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 412 | 'disk_cache/entry_unittest.cc', |
| 413 | 'disk_cache/mapped_file_unittest.cc', |
| 414 | 'disk_cache/storage_block_unittest.cc', |
| 415 | 'ftp/ftp_auth_cache_unittest.cc', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 416 | 'http/des_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 417 | 'http/http_auth_cache_unittest.cc', |
| 418 | 'http/http_auth_handler_basic_unittest.cc', |
| 419 | 'http/http_auth_handler_digest_unittest.cc', |
| 420 | 'http/http_auth_unittest.cc', |
| 421 | 'http/http_cache_unittest.cc', |
| 422 | 'http/http_chunked_decoder_unittest.cc', |
| 423 | 'http/http_network_layer_unittest.cc', |
| 424 | 'http/http_network_transaction_unittest.cc', |
| 425 | 'http/http_response_headers_unittest.cc', |
| 426 | 'http/http_transaction_unittest.cc', |
| 427 | 'http/http_transaction_unittest.h', |
| 428 | 'http/http_util_unittest.cc', |
| 429 | 'http/http_vary_data_unittest.cc', |
[email protected] | 96ce2236 | 2009-03-27 20:19:57 | [diff] [blame] | 430 | 'proxy/proxy_config_service_win_unittest.cc', |
[email protected] | 5b45aec0 | 2009-03-31 01:03:23 | [diff] [blame] | 431 | 'proxy/proxy_config_unittest.cc', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 432 | 'proxy/proxy_list_unittest.cc', |
[email protected] | 6b675b8 | 2009-02-26 23:18:32 | [diff] [blame] | 433 | 'proxy/proxy_resolver_v8_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 434 | 'proxy/proxy_script_fetcher_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 435 | 'proxy/proxy_server_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 436 | 'proxy/proxy_service_unittest.cc', |
| 437 | 'url_request/url_request_unittest.cc', |
| 438 | 'url_request/url_request_unittest.h', |
| 439 | ], |
| 440 | 'conditions': [ |
| 441 | [ 'OS != "win"', { |
| 442 | 'sources!': [ |
| 443 | 'base/wininet_util_unittest.cc', |
[email protected] | 96ce2236 | 2009-03-27 20:19:57 | [diff] [blame] | 444 | 'proxy/proxy_config_service_win_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 445 | ], |
| 446 | }, |
| 447 | ], |
| 448 | [ 'OS == "linux"', { |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 449 | 'dependencies': [ |
| 450 | '../build/linux/system.gyp:gtk', |
| 451 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 452 | 'sources!': [ |
| 453 | 'base/sdch_filter_unittest.cc', |
| 454 | 'base/ssl_config_service_unittest.cc', |
| 455 | ], |
| 456 | }, |
| 457 | ], |
| 458 | [ 'OS == "mac"', { |
| 459 | 'sources!': [ |
| 460 | 'base/ssl_config_service_unittest.cc', |
| 461 | ], |
| 462 | }, |
| 463 | ], |
| 464 | # This is needed to trigger the dll copy step on windows. |
| 465 | # TODO(mark): Specifying this here shouldn't be necessary. |
| 466 | [ 'OS == "win"', { |
| 467 | 'dependencies': [ |
| 468 | '../third_party/icu38/icu38.gyp:icudata', |
| 469 | ], |
| 470 | }, |
| 471 | ], |
| 472 | ], |
| 473 | }, |
| 474 | { |
| 475 | 'target_name': 'net_perftests', |
| 476 | 'type': 'executable', |
| 477 | 'dependencies': [ |
| 478 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 479 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 480 | '../base/base.gyp:base', |
[email protected] | e8ef09a | 2009-03-16 23:46:45 | [diff] [blame] | 481 | '../base/base.gyp:test_support_base', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 482 | '../testing/gtest.gyp:gtest', |
| 483 | ], |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 484 | 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 485 | 'sources': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 486 | 'base/cookie_monster_perftest.cc', |
| 487 | 'disk_cache/disk_cache_perftest.cc', |
[email protected] | 448cfef8 | 2009-03-06 01:44:33 | [diff] [blame] | 488 | 'proxy/proxy_resolver_perftest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 489 | ], |
| 490 | 'conditions': [ |
| 491 | # This is needed to trigger the dll copy step on windows. |
| 492 | # TODO(mark): Specifying this here shouldn't be necessary. |
| 493 | [ 'OS == "win"', { |
| 494 | 'dependencies': [ |
| 495 | '../third_party/icu38/icu38.gyp:icudata', |
| 496 | ], |
| 497 | }, |
| 498 | ], |
| 499 | ], |
| 500 | }, |
| 501 | { |
| 502 | 'target_name': 'stress_cache', |
| 503 | 'type': 'executable', |
| 504 | 'dependencies': [ |
| 505 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 506 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 507 | '../base/base.gyp:base', |
| 508 | ], |
| 509 | 'sources': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 510 | 'disk_cache/stress_cache.cc', |
| 511 | ], |
| 512 | }, |
| 513 | { |
| 514 | 'target_name': 'tld_cleanup', |
| 515 | 'type': 'executable', |
| 516 | 'dependencies': [ |
| 517 | '../base/base.gyp:base', |
| 518 | '../build/temp_gyp/googleurl.gyp:googleurl', |
| 519 | ], |
[email protected] | b823446 | 2009-03-18 02:30:55 | [diff] [blame] | 520 | 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 521 | 'sources': [ |
| 522 | 'tools/tld_cleanup/tld_cleanup.cc', |
| 523 | ], |
| 524 | }, |
| 525 | { |
| 526 | 'target_name': 'crash_cache', |
| 527 | 'type': 'executable', |
| 528 | 'dependencies': [ |
| 529 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 530 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 531 | '../base/base.gyp:base', |
| 532 | ], |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 533 | 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 534 | 'sources': [ |
| 535 | 'tools/crash_cache/crash_cache.cc', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 536 | ], |
| 537 | }, |
| 538 | { |
| 539 | 'target_name': 'net_test_support', |
| 540 | 'type': 'static_library', |
| 541 | 'dependencies': [ |
| 542 | 'net', |
| 543 | '../base/base.gyp:base', |
| 544 | ], |
| 545 | 'sources': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 546 | 'disk_cache/disk_cache_test_util.cc', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 547 | 'disk_cache/disk_cache_test_util.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 548 | ], |
| 549 | }, |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 550 | { |
| 551 | 'target_name': 'net_resources', |
| 552 | 'type': 'none', |
| 553 | 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942', |
| 554 | 'rules': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 555 | { |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 556 | 'rule_name': 'grit', |
| 557 | 'extension': 'grd', |
| 558 | 'inputs': [ |
[email protected] | b19f1cd7 | 2009-03-13 21:16:00 | [diff] [blame] | 559 | '../tools/grit/grit.py', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 560 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 561 | 'outputs': [ |
| 562 | '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h', |
| 563 | '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc', |
| 564 | '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 565 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 566 | 'action': |
| 567 | ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'], |
[email protected] | 027ec5f | 2009-03-16 18:30:35 | [diff] [blame] | 568 | 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 569 | }, |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 570 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 571 | 'sources': [ |
| 572 | 'base/net_resources.grd', |
| 573 | ], |
| 574 | 'direct_dependent_settings': { |
| 575 | 'include_dirs': [ |
| 576 | '<(SHARED_INTERMEDIATE_DIR)/net', |
| 577 | ], |
| 578 | }, |
| 579 | }, |
| 580 | ], |
| 581 | 'conditions': [ |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 582 | ['OS=="win"', { |
| 583 | 'targets': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 584 | { |
| 585 | # TODO(port): dump_cache is still Windows-specific. |
| 586 | 'target_name': 'dump_cache', |
| 587 | 'type': 'executable', |
| 588 | 'dependencies': [ |
| 589 | 'net', |
| 590 | '../base/base.gyp:base', |
| 591 | ], |
| 592 | 'sources': [ |
| 593 | 'tools/dump_cache/dump_cache.cc', |
| 594 | 'tools/dump_cache/dump_files.cc', |
| 595 | 'tools/dump_cache/upgrade.cc', |
| 596 | ], |
| 597 | }, |
| 598 | ], |
| 599 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 600 | ], |
| 601 | } |