[email protected] | cb370a063 | 2010-01-30 08:24:12 | [diff] [blame] | 1 | # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 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] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 9 | 'targets': [ |
| 10 | { |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 11 | 'target_name': 'net_base', |
[email protected] | 653bd5f03 | 2009-04-08 12:55:49 | [diff] [blame] | 12 | 'type': '<(library)', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 13 | 'dependencies': [ |
| 14 | '../base/base.gyp:base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 15 | '../base/base.gyp:base_i18n', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 16 | '../build/temp_gyp/googleurl.gyp:googleurl', |
| 17 | '../sdch/sdch.gyp:sdch', |
[email protected] | 28062949 | 2009-09-09 06:49:08 | [diff] [blame] | 18 | '../third_party/icu/icu.gyp:icui18n', |
| 19 | '../third_party/icu/icu.gyp:icuuc', |
[email protected] | ca21ee3 | 2009-10-23 18:03:22 | [diff] [blame] | 20 | '../third_party/zlib/zlib.gyp:zlib', |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 21 | 'net_resources', |
[email protected] | 5bafc4f | 2010-09-08 14:07:38 | [diff] [blame] | 22 | 'ssl_false_start_blacklist_process#host', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 23 | ], |
| 24 | 'sources': [ |
[email protected] | 123ab1e3 | 2009-10-21 19:12:57 | [diff] [blame] | 25 | 'base/address_family.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 26 | 'base/address_list.cc', |
| 27 | 'base/address_list.h', |
[email protected] | eb8605c | 2010-05-21 22:17:47 | [diff] [blame] | 28 | 'base/address_list_net_log_param.cc', |
| 29 | 'base/address_list_net_log_param.h', |
[email protected] | 9349cfb | 2010-08-31 18:00:53 | [diff] [blame] | 30 | 'base/auth.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 31 | 'base/auth.h', |
[email protected] | ee16679 | 2010-12-09 08:14:10 | [diff] [blame] | 32 | 'base/bandwidth_metrics.cc', |
| 33 | 'base/bandwidth_metrics.h', |
[email protected] | 6192f73 | 2009-03-25 23:44:20 | [diff] [blame] | 34 | 'base/cache_type.h', |
[email protected] | ec11be6 | 2010-04-28 19:28:09 | [diff] [blame] | 35 | 'base/capturing_net_log.cc', |
| 36 | 'base/capturing_net_log.h', |
[email protected] | 58678c5 | 2010-08-31 22:13:52 | [diff] [blame] | 37 | 'base/cert_database.cc', |
[email protected] | a755e107 | 2009-10-23 16:58:37 | [diff] [blame] | 38 | 'base/cert_database.h', |
| 39 | 'base/cert_database_mac.cc', |
| 40 | 'base/cert_database_nss.cc', |
[email protected] | 1e5fead | 2010-10-08 14:33:11 | [diff] [blame] | 41 | 'base/cert_database_openssl.cc', |
[email protected] | a755e107 | 2009-10-23 16:58:37 | [diff] [blame] | 42 | 'base/cert_database_win.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 43 | 'base/cert_status_flags.cc', |
| 44 | 'base/cert_status_flags.h', |
| 45 | 'base/cert_verifier.cc', |
| 46 | 'base/cert_verifier.h', |
| 47 | 'base/cert_verify_result.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 48 | 'base/completion_callback.h', |
| 49 | 'base/connection_type_histograms.cc', |
| 50 | 'base/connection_type_histograms.h', |
| 51 | 'base/cookie_monster.cc', |
| 52 | 'base/cookie_monster.h', |
[email protected] | 5f450e5 | 2009-07-28 13:28:11 | [diff] [blame] | 53 | 'base/cookie_options.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 54 | 'base/cookie_policy.h', |
[email protected] | 9b2331d9 | 2010-10-04 23:11:19 | [diff] [blame] | 55 | 'base/cookie_store.cc', |
[email protected] | 5f450e5 | 2009-07-28 13:28:11 | [diff] [blame] | 56 | 'base/cookie_store.h', |
[email protected] | 88b9db7 | 2011-01-13 01:48:43 | [diff] [blame] | 57 | 'base/crypto_module.h', |
| 58 | 'base/crypto_module_nss.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 59 | 'base/data_url.cc', |
| 60 | 'base/data_url.h', |
| 61 | 'base/directory_lister.cc', |
| 62 | 'base/directory_lister.h', |
[email protected] | 37e658b | 2010-07-28 17:23:04 | [diff] [blame] | 63 | 'base/dns_reload_timer.cc', |
| 64 | 'base/dns_reload_timer.h', |
[email protected] | b2471359 | 2010-08-11 19:50:02 | [diff] [blame] | 65 | 'base/dnssec_chain_verifier.cc', |
| 66 | 'base/dnssec_chain_verifier.h', |
| 67 | 'base/dnssec_keyset.cc', |
| 68 | 'base/dnssec_keyset.h', |
| 69 | 'base/dnssec_proto.h', |
[email protected] | c36f064 | 2009-09-09 01:10:50 | [diff] [blame] | 70 | 'base/dns_util.cc', |
| 71 | 'base/dns_util.h', |
[email protected] | b3ccac8 | 2010-08-04 15:54:40 | [diff] [blame] | 72 | 'base/dnsrr_resolver.cc', |
| 73 | 'base/dnsrr_resolver.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 74 | 'base/escape.cc', |
| 75 | 'base/escape.h', |
| 76 | 'base/ev_root_ca_metadata.cc', |
| 77 | 'base/ev_root_ca_metadata.h', |
| 78 | 'base/file_stream.h', |
| 79 | 'base/file_stream_posix.cc', |
| 80 | 'base/file_stream_win.cc', |
| 81 | 'base/filter.cc', |
| 82 | 'base/filter.h', |
| 83 | 'base/gzip_filter.cc', |
| 84 | 'base/gzip_filter.h', |
| 85 | 'base/gzip_header.cc', |
| 86 | 'base/gzip_header.h', |
[email protected] | 8a00f00a | 2009-06-12 00:49:38 | [diff] [blame] | 87 | 'base/host_cache.cc', |
| 88 | 'base/host_cache.h', |
[email protected] | b6a5018 | 2010-05-12 22:47:14 | [diff] [blame] | 89 | 'base/host_mapping_rules.cc', |
| 90 | 'base/host_mapping_rules.h', |
[email protected] | 564b491 | 2010-03-09 16:30:42 | [diff] [blame] | 91 | 'base/host_port_pair.cc', |
| 92 | 'base/host_port_pair.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 93 | 'base/host_resolver.cc', |
| 94 | 'base/host_resolver.h', |
[email protected] | b59ff37 | 2009-07-15 22:04:32 | [diff] [blame] | 95 | 'base/host_resolver_impl.cc', |
| 96 | 'base/host_resolver_impl.h', |
| 97 | 'base/host_resolver_proc.cc', |
| 98 | 'base/host_resolver_proc.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 99 | 'base/io_buffer.cc', |
| 100 | 'base/io_buffer.h', |
[email protected] | 88b9db7 | 2011-01-13 01:48:43 | [diff] [blame] | 101 | 'base/keygen_handler.cc', |
[email protected] | a755e107 | 2009-10-23 16:58:37 | [diff] [blame] | 102 | 'base/keygen_handler.h', |
| 103 | 'base/keygen_handler_mac.cc', |
| 104 | 'base/keygen_handler_nss.cc', |
[email protected] | 1e5fead | 2010-10-08 14:33:11 | [diff] [blame] | 105 | 'base/keygen_handler_openssl.cc', |
[email protected] | a755e107 | 2009-10-23 16:58:37 | [diff] [blame] | 106 | 'base/keygen_handler_win.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 107 | 'base/listen_socket.cc', |
| 108 | 'base/listen_socket.h', |
| 109 | 'base/load_flags.h', |
[email protected] | f90ad12 | 2010-05-18 20:02:23 | [diff] [blame] | 110 | 'base/load_flags_list.h', |
[email protected] | 48ab71e | 2009-06-22 19:19:16 | [diff] [blame] | 111 | 'base/load_states.h', |
[email protected] | 9087aa3 | 2010-02-18 08:03:38 | [diff] [blame] | 112 | 'base/mapped_host_resolver.cc', |
| 113 | 'base/mapped_host_resolver.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 114 | 'base/mime_sniffer.cc', |
| 115 | 'base/mime_sniffer.h', |
| 116 | 'base/mime_util.cc', |
| 117 | 'base/mime_util.h', |
[email protected] | b59ff37 | 2009-07-15 22:04:32 | [diff] [blame] | 118 | # TODO(eroman): move this into its own test-support target. |
| 119 | 'base/mock_host_resolver.cc', |
| 120 | 'base/mock_host_resolver.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 121 | 'base/net_error_list.h', |
| 122 | 'base/net_errors.cc', |
| 123 | 'base/net_errors.h', |
[email protected] | 9e743cd | 2010-03-16 07:03:53 | [diff] [blame] | 124 | 'base/net_log.cc', |
| 125 | 'base/net_log.h', |
| 126 | 'base/net_log_event_type_list.h', |
[email protected] | 92056b9 | 2010-05-22 00:36:46 | [diff] [blame] | 127 | 'base/net_log_source_type_list.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 128 | 'base/net_module.cc', |
| 129 | 'base/net_module.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 130 | 'base/net_util.cc', |
| 131 | 'base/net_util.h', |
| 132 | 'base/net_util_posix.cc', |
| 133 | 'base/net_util_win.cc', |
[email protected] | 100d5fb9 | 2009-12-21 21:08:35 | [diff] [blame] | 134 | 'base/network_change_notifier.cc', |
| 135 | 'base/network_change_notifier.h', |
[email protected] | 100d5fb9 | 2009-12-21 21:08:35 | [diff] [blame] | 136 | 'base/network_change_notifier_linux.cc', |
| 137 | 'base/network_change_notifier_linux.h', |
| 138 | 'base/network_change_notifier_mac.cc', |
| 139 | 'base/network_change_notifier_mac.h', |
[email protected] | 6d603aa | 2010-02-19 18:44:58 | [diff] [blame] | 140 | 'base/network_change_notifier_netlink_linux.cc', |
| 141 | 'base/network_change_notifier_netlink_linux.h', |
[email protected] | 100d5fb9 | 2009-12-21 21:08:35 | [diff] [blame] | 142 | 'base/network_change_notifier_win.cc', |
| 143 | 'base/network_change_notifier_win.h', |
[email protected] | 9328443b | 2010-07-30 06:09:40 | [diff] [blame] | 144 | 'base/network_config_watcher_mac.cc', |
| 145 | 'base/network_config_watcher_mac.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 146 | 'base/nss_memio.c', |
[email protected] | d022e4e | 2009-06-23 04:13:00 | [diff] [blame] | 147 | 'base/nss_memio.h', |
[email protected] | 0c6523f | 2010-12-10 10:56:24 | [diff] [blame] | 148 | 'base/openssl_memory_private_key_store.cc', |
| 149 | 'base/openssl_private_key_store.h', |
[email protected] | e5a3eef | 2010-07-22 02:31:04 | [diff] [blame] | 150 | 'base/pem_tokenizer.cc', |
| 151 | 'base/pem_tokenizer.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 152 | 'base/platform_mime_util.h', |
| 153 | # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? |
| 154 | 'base/platform_mime_util_linux.cc', |
| 155 | 'base/platform_mime_util_mac.cc', |
| 156 | 'base/platform_mime_util_win.cc', |
| 157 | 'base/registry_controlled_domain.cc', |
| 158 | 'base/registry_controlled_domain.h', |
| 159 | 'base/scoped_cert_chain_context.h', |
| 160 | 'base/sdch_filter.cc', |
| 161 | 'base/sdch_filter.h', |
| 162 | 'base/sdch_manager.cc', |
| 163 | 'base/sdch_manager.h', |
[email protected] | 9349cfb | 2010-08-31 18:00:53 | [diff] [blame] | 164 | 'base/ssl_cert_request_info.cc', |
[email protected] | 0b45559b | 2009-06-12 21:45:11 | [diff] [blame] | 165 | 'base/ssl_cert_request_info.h', |
[email protected] | d8654bf | 2010-07-18 16:01:32 | [diff] [blame] | 166 | 'base/ssl_cipher_suite_names.cc', |
| 167 | 'base/ssl_cipher_suite_names.h', |
[email protected] | 56c866a2 | 2009-06-18 19:38:58 | [diff] [blame] | 168 | 'base/ssl_client_auth_cache.cc', |
| 169 | 'base/ssl_client_auth_cache.h', |
[email protected] | e52deec | 2009-08-21 19:48:39 | [diff] [blame] | 170 | 'base/ssl_config_service.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 171 | 'base/ssl_config_service.h', |
[email protected] | 7e4468d5 | 2010-09-22 19:42:00 | [diff] [blame] | 172 | 'base/ssl_config_service_defaults.cc', |
[email protected] | db36938c | 2009-08-19 21:48:42 | [diff] [blame] | 173 | 'base/ssl_config_service_defaults.h', |
[email protected] | f37c98f | 2009-09-09 22:07:32 | [diff] [blame] | 174 | 'base/ssl_config_service_mac.cc', |
| 175 | 'base/ssl_config_service_mac.h', |
[email protected] | db36938c | 2009-08-19 21:48:42 | [diff] [blame] | 176 | 'base/ssl_config_service_win.cc', |
| 177 | 'base/ssl_config_service_win.h', |
[email protected] | 5bafc4f | 2010-09-08 14:07:38 | [diff] [blame] | 178 | 'base/ssl_false_start_blacklist.cc', |
[email protected] | 9349cfb | 2010-08-31 18:00:53 | [diff] [blame] | 179 | 'base/ssl_info.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 180 | 'base/ssl_info.h', |
[email protected] | cb370a063 | 2010-01-30 08:24:12 | [diff] [blame] | 181 | 'base/static_cookie_policy.cc', |
| 182 | 'base/static_cookie_policy.h', |
[email protected] | 32765f8 | 2010-12-16 00:01:37 | [diff] [blame] | 183 | 'base/test_root_certs.cc', |
| 184 | 'base/test_root_certs.h', |
| 185 | 'base/test_root_certs_mac.cc', |
| 186 | 'base/test_root_certs_nss.cc', |
| 187 | 'base/test_root_certs_openssl.cc', |
| 188 | 'base/test_root_certs_win.cc', |
[email protected] | 326e679 | 2009-12-11 21:04:42 | [diff] [blame] | 189 | 'base/transport_security_state.cc', |
| 190 | 'base/transport_security_state.h', |
[email protected] | a540c2d | 2009-12-12 00:47:37 | [diff] [blame] | 191 | 'base/sys_addrinfo.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 192 | 'base/upload_data.cc', |
| 193 | 'base/upload_data.h', |
| 194 | 'base/upload_data_stream.cc', |
| 195 | 'base/upload_data_stream.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 196 | 'base/winsock_init.cc', |
| 197 | 'base/winsock_init.h', |
| 198 | 'base/x509_certificate.cc', |
| 199 | 'base/x509_certificate.h', |
| 200 | 'base/x509_certificate_mac.cc', |
| 201 | 'base/x509_certificate_nss.cc', |
[email protected] | 1e5fead | 2010-10-08 14:33:11 | [diff] [blame] | 202 | 'base/x509_certificate_openssl.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 203 | 'base/x509_certificate_win.cc', |
[email protected] | d866fb5 | 2010-03-26 23:36:04 | [diff] [blame] | 204 | 'base/x509_cert_types.cc', |
| 205 | 'base/x509_cert_types.h', |
| 206 | 'base/x509_cert_types_mac.cc', |
[email protected] | 5c51876 | 2010-10-25 12:59:54 | [diff] [blame] | 207 | 'base/x509_openssl_util.cc', |
| 208 | 'base/x509_openssl_util.h', |
[email protected] | 53ae7c4 | 2010-06-18 17:45:35 | [diff] [blame] | 209 | 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', |
| 210 | 'third_party/mozilla_security_manager/nsKeygenHandler.h', |
[email protected] | 58678c5 | 2010-08-31 22:13:52 | [diff] [blame] | 211 | 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', |
| 212 | 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', |
[email protected] | b683c6a | 2010-08-20 02:39:35 | [diff] [blame] | 213 | 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', |
| 214 | 'third_party/mozilla_security_manager/nsNSSCertTrust.h', |
[email protected] | bb63903 | 2010-08-12 19:49:40 | [diff] [blame] | 215 | 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', |
| 216 | 'third_party/mozilla_security_manager/nsPKCS12Blob.h', |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 217 | ], |
| 218 | 'export_dependent_settings': [ |
| 219 | '../base/base.gyp:base', |
| 220 | ], |
[email protected] | 5bafc4f | 2010-09-08 14:07:38 | [diff] [blame] | 221 | 'actions': [ |
| 222 | { |
| 223 | 'action_name': 'ssl_false_start_blacklist', |
| 224 | 'inputs': [ |
| 225 | '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', |
| 226 | 'base/ssl_false_start_blacklist.txt', |
| 227 | ], |
| 228 | 'outputs': [ |
| 229 | '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc', |
| 230 | ], |
| 231 | 'action': |
| 232 | ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', |
| 233 | 'base/ssl_false_start_blacklist.txt', |
| 234 | '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc', |
| 235 | ], |
| 236 | 'message': 'Generating SSL False Start blacklist', |
| 237 | 'process_outputs_as_sources': 1, |
| 238 | }, |
| 239 | ], |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 240 | 'conditions': [ |
[email protected] | 50462ec | 2010-01-29 22:28:32 | [diff] [blame] | 241 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 242 | 'dependencies': [ |
| 243 | '../build/linux/system.gyp:gconf', |
| 244 | '../build/linux/system.gyp:gdk', |
[email protected] | b3ccac8 | 2010-08-04 15:54:40 | [diff] [blame] | 245 | '../build/linux/system.gyp:libresolv', |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 246 | ], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 247 | 'conditions': [ |
| 248 | ['use_openssl==1', { |
| 249 | 'dependencies': [ |
[email protected] | 32e1dee | 2010-12-09 18:36:24 | [diff] [blame] | 250 | '../third_party/openssl/openssl.gyp:openssl', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 251 | ], |
| 252 | }, { # else: not using openssl. Use NSS. |
| 253 | 'dependencies': [ |
| 254 | '../build/linux/system.gyp:nss', |
| 255 | ], |
| 256 | }], |
| 257 | ], |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 258 | }, |
| 259 | { # else: OS is not in the above list |
| 260 | 'sources!': [ |
| 261 | 'base/cert_database_nss.cc', |
[email protected] | 88b9db7 | 2011-01-13 01:48:43 | [diff] [blame] | 262 | 'base/crypto_module_nss.cc', |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 263 | 'base/keygen_handler_nss.cc', |
[email protected] | 32765f8 | 2010-12-16 00:01:37 | [diff] [blame] | 264 | 'base/test_root_certs_nss.cc', |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 265 | 'base/x509_certificate_nss.cc', |
[email protected] | 53ae7c4 | 2010-06-18 17:45:35 | [diff] [blame] | 266 | 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', |
| 267 | 'third_party/mozilla_security_manager/nsKeygenHandler.h', |
[email protected] | 58678c5 | 2010-08-31 22:13:52 | [diff] [blame] | 268 | 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', |
| 269 | 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', |
[email protected] | b683c6a | 2010-08-20 02:39:35 | [diff] [blame] | 270 | 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', |
| 271 | 'third_party/mozilla_security_manager/nsNSSCertTrust.h', |
[email protected] | bb63903 | 2010-08-12 19:49:40 | [diff] [blame] | 272 | 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', |
| 273 | 'third_party/mozilla_security_manager/nsPKCS12Blob.h', |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 274 | ], |
| 275 | }, |
| 276 | ], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 277 | [ 'use_openssl==1', { |
[email protected] | 1e5fead | 2010-10-08 14:33:11 | [diff] [blame] | 278 | 'sources!': [ |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 279 | 'base/cert_database_nss.cc', |
[email protected] | 88b9db7 | 2011-01-13 01:48:43 | [diff] [blame] | 280 | 'base/crypto_module_nss.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 281 | 'base/dnssec_keyset.cc', |
| 282 | 'base/dnssec_keyset.h', |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 283 | 'base/keygen_handler_nss.cc', |
| 284 | 'base/nss_memio.c', |
| 285 | 'base/nss_memio.h', |
[email protected] | 32765f8 | 2010-12-16 00:01:37 | [diff] [blame] | 286 | 'base/test_root_certs_nss.cc', |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 287 | 'base/x509_certificate_nss.cc', |
[email protected] | 1e5fead | 2010-10-08 14:33:11 | [diff] [blame] | 288 | 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', |
| 289 | 'third_party/mozilla_security_manager/nsKeygenHandler.h', |
| 290 | 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', |
| 291 | 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', |
| 292 | 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', |
| 293 | 'third_party/mozilla_security_manager/nsNSSCertTrust.h', |
| 294 | 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', |
| 295 | 'third_party/mozilla_security_manager/nsPKCS12Blob.h', |
| 296 | ], |
| 297 | }, |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 298 | { # else: not using openssl. |
| 299 | 'sources!': [ |
| 300 | 'base/cert_database_openssl.cc', |
| 301 | 'base/keygen_handler_openssl.cc', |
[email protected] | 0c6523f | 2010-12-10 10:56:24 | [diff] [blame] | 302 | 'base/openssl_memory_private_key_store.cc', |
| 303 | 'base/openssl_private_key_store.h', |
[email protected] | 32765f8 | 2010-12-16 00:01:37 | [diff] [blame] | 304 | 'base/test_root_certs_openssl.cc', |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 305 | 'base/x509_certificate_openssl.cc', |
| 306 | 'base/x509_openssl_util.cc', |
| 307 | 'base/x509_openssl_util.h', |
| 308 | ], |
| 309 | }, |
[email protected] | 1e5fead | 2010-10-08 14:33:11 | [diff] [blame] | 310 | ], |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 311 | [ 'OS == "win"', { |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 312 | 'dependencies': [ |
[email protected] | b2471359 | 2010-08-11 19:50:02 | [diff] [blame] | 313 | '../third_party/nss/nss.gyp:nss', |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 314 | 'tld_cleanup', |
| 315 | ], |
| 316 | }, |
| 317 | { # else: OS != "win" |
[email protected] | d8d4a0a | 2010-06-12 15:27:47 | [diff] [blame] | 318 | 'dependencies': [ |
| 319 | '../third_party/libevent/libevent.gyp:libevent', |
| 320 | ], |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 321 | 'sources!': [ |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 322 | 'base/winsock_init.cc', |
| 323 | ], |
| 324 | }, |
| 325 | ], |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 326 | [ 'OS == "mac"', { |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 327 | 'dependencies': [ |
[email protected] | b2471359 | 2010-08-11 19:50:02 | [diff] [blame] | 328 | '../third_party/nss/nss.gyp:nss', |
[email protected] | f505a9b | 2010-01-28 19:44:02 | [diff] [blame] | 329 | ], |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 330 | 'link_settings': { |
| 331 | 'libraries': [ |
| 332 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 333 | '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', |
[email protected] | 899c3e9 | 2010-08-28 15:53:50 | [diff] [blame] | 334 | '$(SDKROOT)/usr/lib/libresolv.dylib', |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 335 | ] |
| 336 | }, |
| 337 | }, |
| 338 | ], |
| 339 | ], |
| 340 | }, |
| 341 | { |
| 342 | 'target_name': 'net', |
| 343 | 'type': '<(library)', |
| 344 | 'dependencies': [ |
| 345 | '../base/base.gyp:base', |
| 346 | '../base/base.gyp:base_i18n', |
| 347 | '../build/temp_gyp/googleurl.gyp:googleurl', |
| 348 | '../sdch/sdch.gyp:sdch', |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 349 | '../third_party/icu/icu.gyp:icui18n', |
| 350 | '../third_party/icu/icu.gyp:icuuc', |
[email protected] | 9c2a5771 | 2009-10-21 20:35:11 | [diff] [blame] | 351 | '../third_party/zlib/zlib.gyp:zlib', |
| 352 | 'net_base', |
| 353 | 'net_resources', |
| 354 | ], |
| 355 | 'sources': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 356 | 'disk_cache/addr.cc', |
| 357 | 'disk_cache/addr.h', |
| 358 | 'disk_cache/backend_impl.cc', |
| 359 | 'disk_cache/backend_impl.h', |
[email protected] | 84d4cee | 2009-06-18 23:46:58 | [diff] [blame] | 360 | 'disk_cache/bitmap.cc', |
| 361 | 'disk_cache/bitmap.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 362 | 'disk_cache/block_files.cc', |
| 363 | 'disk_cache/block_files.h', |
| 364 | 'disk_cache/cache_util.h', |
| 365 | 'disk_cache/cache_util_posix.cc', |
| 366 | 'disk_cache/cache_util_win.cc', |
| 367 | 'disk_cache/disk_cache.h', |
[email protected] | b104b50 | 2010-10-18 20:21:31 | [diff] [blame] | 368 | 'disk_cache/disk_format.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 369 | 'disk_cache/disk_format.h', |
| 370 | 'disk_cache/entry_impl.cc', |
| 371 | 'disk_cache/entry_impl.h', |
| 372 | 'disk_cache/errors.h', |
| 373 | 'disk_cache/eviction.cc', |
| 374 | 'disk_cache/eviction.h', |
[email protected] | c03b979 | 2010-09-13 18:10:51 | [diff] [blame] | 375 | 'disk_cache/experiments.h', |
[email protected] | b104b50 | 2010-10-18 20:21:31 | [diff] [blame] | 376 | 'disk_cache/file.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 377 | 'disk_cache/file.h', |
| 378 | 'disk_cache/file_block.h', |
| 379 | 'disk_cache/file_lock.cc', |
| 380 | 'disk_cache/file_lock.h', |
| 381 | 'disk_cache/file_posix.cc', |
| 382 | 'disk_cache/file_win.cc', |
| 383 | 'disk_cache/hash.cc', |
| 384 | 'disk_cache/hash.h', |
[email protected] | 17a8396f1 | 2009-03-27 20:12:34 | [diff] [blame] | 385 | 'disk_cache/histogram_macros.h', |
[email protected] | fb2622f | 2010-07-13 18:00:56 | [diff] [blame] | 386 | 'disk_cache/in_flight_backend_io.cc', |
| 387 | 'disk_cache/in_flight_backend_io.h', |
| 388 | 'disk_cache/in_flight_io.cc', |
| 389 | 'disk_cache/in_flight_io.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 390 | 'disk_cache/mapped_file.h', |
| 391 | 'disk_cache/mapped_file_posix.cc', |
| 392 | 'disk_cache/mapped_file_win.cc', |
| 393 | 'disk_cache/mem_backend_impl.cc', |
| 394 | 'disk_cache/mem_backend_impl.h', |
| 395 | 'disk_cache/mem_entry_impl.cc', |
| 396 | 'disk_cache/mem_entry_impl.h', |
| 397 | 'disk_cache/mem_rankings.cc', |
| 398 | 'disk_cache/mem_rankings.h', |
| 399 | 'disk_cache/rankings.cc', |
| 400 | 'disk_cache/rankings.h', |
[email protected] | 84d4cee | 2009-06-18 23:46:58 | [diff] [blame] | 401 | 'disk_cache/sparse_control.cc', |
| 402 | 'disk_cache/sparse_control.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 403 | 'disk_cache/stats.cc', |
| 404 | 'disk_cache/stats.h', |
| 405 | 'disk_cache/stats_histogram.cc', |
| 406 | 'disk_cache/stats_histogram.h', |
| 407 | 'disk_cache/storage_block-inl.h', |
| 408 | 'disk_cache/storage_block.h', |
| 409 | 'disk_cache/trace.cc', |
| 410 | 'disk_cache/trace.h', |
| 411 | 'ftp/ftp_auth_cache.cc', |
| 412 | 'ftp/ftp_auth_cache.h', |
[email protected] | c297219 | 2009-07-28 20:30:09 | [diff] [blame] | 413 | 'ftp/ftp_ctrl_response_buffer.cc', |
| 414 | 'ftp/ftp_ctrl_response_buffer.h', |
[email protected] | 1d799dd | 2009-10-28 17:00:49 | [diff] [blame] | 415 | 'ftp/ftp_directory_listing_buffer.cc', |
| 416 | 'ftp/ftp_directory_listing_buffer.h', |
[email protected] | a115b0107 | 2009-12-04 09:58:32 | [diff] [blame] | 417 | 'ftp/ftp_directory_listing_parser.cc', |
| 418 | 'ftp/ftp_directory_listing_parser.h', |
| 419 | 'ftp/ftp_directory_listing_parser_ls.cc', |
| 420 | 'ftp/ftp_directory_listing_parser_ls.h', |
[email protected] | 8425e66e | 2009-12-07 19:51:46 | [diff] [blame] | 421 | 'ftp/ftp_directory_listing_parser_netware.cc', |
| 422 | 'ftp/ftp_directory_listing_parser_netware.h', |
[email protected] | a115b0107 | 2009-12-04 09:58:32 | [diff] [blame] | 423 | 'ftp/ftp_directory_listing_parser_vms.cc', |
| 424 | 'ftp/ftp_directory_listing_parser_vms.h', |
| 425 | 'ftp/ftp_directory_listing_parser_windows.cc', |
| 426 | 'ftp/ftp_directory_listing_parser_windows.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 427 | 'ftp/ftp_network_layer.cc', |
| 428 | 'ftp/ftp_network_layer.h', |
[email protected] | b104b50 | 2010-10-18 20:21:31 | [diff] [blame] | 429 | 'ftp/ftp_network_session.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 430 | 'ftp/ftp_network_session.h', |
| 431 | 'ftp/ftp_network_transaction.cc', |
| 432 | 'ftp/ftp_network_transaction.h', |
| 433 | 'ftp/ftp_request_info.h', |
| 434 | 'ftp/ftp_response_info.h', |
[email protected] | 139dd55 | 2009-08-28 22:40:55 | [diff] [blame] | 435 | 'ftp/ftp_server_type_histograms.cc', |
| 436 | 'ftp/ftp_server_type_histograms.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 437 | 'ftp/ftp_transaction.h', |
| 438 | 'ftp/ftp_transaction_factory.h', |
[email protected] | b1c7cc4 | 2009-09-24 21:46:50 | [diff] [blame] | 439 | 'ftp/ftp_util.cc', |
| 440 | 'ftp/ftp_util.h', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 441 | 'http/des.cc', |
| 442 | 'http/des.h', |
[email protected] | 9b43769 | 2010-09-09 20:02:48 | [diff] [blame] | 443 | 'http/disk_cache_based_ssl_host_info.cc', |
| 444 | 'http/disk_cache_based_ssl_host_info.h', |
[email protected] | 564b491 | 2010-03-09 16:30:42 | [diff] [blame] | 445 | 'http/http_alternate_protocols.cc', |
| 446 | 'http/http_alternate_protocols.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 447 | 'http/http_atom_list.h', |
| 448 | 'http/http_auth.cc', |
| 449 | 'http/http_auth.h', |
| 450 | 'http/http_auth_cache.cc', |
| 451 | 'http/http_auth_cache.h', |
[email protected] | 228404f | 2010-06-24 04:31:41 | [diff] [blame] | 452 | 'http/http_auth_controller.cc', |
| 453 | 'http/http_auth_controller.h', |
[email protected] | eb3cac7 | 2010-02-26 21:07:45 | [diff] [blame] | 454 | 'http/http_auth_filter.cc', |
| 455 | 'http/http_auth_filter.h', |
[email protected] | 1ce73ede | 2010-03-25 12:17:44 | [diff] [blame] | 456 | 'http/http_auth_filter_win.h', |
[email protected] | 8372717 | 2010-06-04 17:58:08 | [diff] [blame] | 457 | 'http/http_auth_gssapi_posix.cc', |
| 458 | 'http/http_auth_gssapi_posix.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 459 | 'http/http_auth_handler.cc', |
[email protected] | fa55e19 | 2010-02-15 14:25:50 | [diff] [blame] | 460 | 'http/http_auth_handler.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 461 | 'http/http_auth_handler_basic.cc', |
| 462 | 'http/http_auth_handler_basic.h', |
| 463 | 'http/http_auth_handler_digest.cc', |
| 464 | 'http/http_auth_handler_digest.h', |
[email protected] | fa55e19 | 2010-02-15 14:25:50 | [diff] [blame] | 465 | 'http/http_auth_handler_factory.cc', |
| 466 | 'http/http_auth_handler_factory.h', |
[email protected] | 4fd4a6d | 2010-01-21 21:38:05 | [diff] [blame] | 467 | 'http/http_auth_handler_negotiate.h', |
[email protected] | 65d3438 | 2010-07-01 18:12:26 | [diff] [blame] | 468 | 'http/http_auth_handler_negotiate.cc', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 469 | 'http/http_auth_handler_ntlm.cc', |
| 470 | 'http/http_auth_handler_ntlm.h', |
[email protected] | ea9dc9a | 2009-09-05 00:43:32 | [diff] [blame] | 471 | 'http/http_auth_handler_ntlm_portable.cc', |
| 472 | 'http/http_auth_handler_ntlm_win.cc', |
[email protected] | 7da0b33 | 2010-01-08 14:56:56 | [diff] [blame] | 473 | 'http/http_auth_sspi_win.cc', |
| 474 | 'http/http_auth_sspi_win.h', |
[email protected] | 0877e3d | 2009-10-17 22:29:57 | [diff] [blame] | 475 | 'http/http_basic_stream.cc', |
[email protected] | d022e4e | 2009-06-23 04:13:00 | [diff] [blame] | 476 | 'http/http_basic_stream.h', |
[email protected] | fc48db8 | 2009-04-28 21:23:39 | [diff] [blame] | 477 | 'http/http_byte_range.cc', |
| 478 | 'http/http_byte_range.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 479 | 'http/http_cache.cc', |
| 480 | 'http/http_cache.h', |
[email protected] | 983a1da | 2009-11-11 19:59:23 | [diff] [blame] | 481 | 'http/http_cache_transaction.cc', |
| 482 | 'http/http_cache_transaction.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 483 | 'http/http_chunked_decoder.cc', |
| 484 | 'http/http_chunked_decoder.h', |
[email protected] | b104b50 | 2010-10-18 20:21:31 | [diff] [blame] | 485 | 'http/http_net_log_params.cc', |
[email protected] | a7ea883 | 2010-07-12 17:54:54 | [diff] [blame] | 486 | 'http/http_net_log_params.h', |
[email protected] | ac03952 | 2010-06-15 16:39:44 | [diff] [blame] | 487 | 'http/http_network_delegate.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 488 | 'http/http_network_layer.cc', |
| 489 | 'http/http_network_layer.h', |
[email protected] | 0d8fa3ec | 2009-04-08 04:22:44 | [diff] [blame] | 490 | 'http/http_network_session.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 491 | 'http/http_network_session.h', |
[email protected] | 87bfa3f | 2010-09-30 14:54:56 | [diff] [blame] | 492 | 'http/http_network_session_peer.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 493 | 'http/http_network_transaction.cc', |
| 494 | 'http/http_network_transaction.h', |
[email protected] | 270c641 | 2010-03-29 22:02:47 | [diff] [blame] | 495 | 'http/http_request_headers.cc', |
| 496 | 'http/http_request_headers.h', |
[email protected] | 9b2331d9 | 2010-10-04 23:11:19 | [diff] [blame] | 497 | 'http/http_request_info.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 498 | 'http/http_request_info.h', |
[email protected] | 0b0bf03 | 2010-09-21 18:08:50 | [diff] [blame] | 499 | 'http/http_response_body_drainer.cc', |
| 500 | 'http/http_response_body_drainer.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 501 | 'http/http_response_headers.cc', |
| 502 | 'http/http_response_headers.h', |
| 503 | 'http/http_response_info.cc', |
| 504 | 'http/http_response_info.h', |
[email protected] | d022e4e | 2009-06-23 04:13:00 | [diff] [blame] | 505 | 'http/http_stream.h', |
[email protected] | 8e6441ca | 2010-08-19 05:56:38 | [diff] [blame] | 506 | 'http/http_stream_factory.cc', |
| 507 | 'http/http_stream_factory.h', |
[email protected] | 0877e3d | 2009-10-17 22:29:57 | [diff] [blame] | 508 | 'http/http_stream_parser.cc', |
| 509 | 'http/http_stream_parser.h', |
[email protected] | 8e6441ca | 2010-08-19 05:56:38 | [diff] [blame] | 510 | 'http/http_stream_request.cc', |
| 511 | 'http/http_stream_request.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 512 | 'http/http_transaction.h', |
| 513 | 'http/http_transaction_factory.h', |
[email protected] | d7f1663 | 2010-03-29 18:02:36 | [diff] [blame] | 514 | 'http/url_security_manager.h', |
[email protected] | 930cbb5 | 2010-04-02 17:27:10 | [diff] [blame] | 515 | 'http/url_security_manager.cc', |
[email protected] | d7f1663 | 2010-03-29 18:02:36 | [diff] [blame] | 516 | 'http/url_security_manager_posix.cc', |
| 517 | 'http/url_security_manager_win.cc', |
[email protected] | a7ea883 | 2010-07-12 17:54:54 | [diff] [blame] | 518 | 'http/http_proxy_client_socket.cc', |
| 519 | 'http/http_proxy_client_socket.h', |
[email protected] | e772db3f | 2010-07-12 18:11:13 | [diff] [blame] | 520 | 'http/http_proxy_client_socket_pool.cc', |
| 521 | 'http/http_proxy_client_socket_pool.h', |
[email protected] | fe2f62a | 2010-10-01 03:34:07 | [diff] [blame] | 522 | 'http/http_proxy_utils.cc', |
| 523 | 'http/http_proxy_utils.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 524 | 'http/http_util.cc', |
[email protected] | e6547c1 | 2009-09-18 03:47:01 | [diff] [blame] | 525 | 'http/http_util_icu.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 526 | 'http/http_util.h', |
| 527 | 'http/http_vary_data.cc', |
| 528 | 'http/http_vary_data.h', |
[email protected] | d022e4e | 2009-06-23 04:13:00 | [diff] [blame] | 529 | 'http/http_version.h', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 530 | 'http/md4.cc', |
| 531 | 'http/md4.h', |
[email protected] | 8bf26f49a | 2009-06-12 17:35:50 | [diff] [blame] | 532 | 'http/partial_data.cc', |
| 533 | 'http/partial_data.h', |
[email protected] | 511f6f5 | 2010-12-17 03:58:29 | [diff] [blame] | 534 | 'http/proxy_client_socket.h', |
[email protected] | 8e6441ca | 2010-08-19 05:56:38 | [diff] [blame] | 535 | 'http/stream_factory.h', |
[email protected] | 25d8ea2 | 2009-08-25 19:42:29 | [diff] [blame] | 536 | 'ocsp/nss_ocsp.cc', |
| 537 | 'ocsp/nss_ocsp.h', |
[email protected] | 620f571 | 2009-08-04 22:43:12 | [diff] [blame] | 538 | 'proxy/init_proxy_resolver.cc', |
| 539 | 'proxy/init_proxy_resolver.h', |
[email protected] | 61b84d5 | 2010-07-09 03:32:00 | [diff] [blame] | 540 | 'proxy/multi_threaded_proxy_resolver.cc', |
| 541 | 'proxy/multi_threaded_proxy_resolver.h', |
[email protected] | 11965500 | 2010-07-23 06:02:40 | [diff] [blame] | 542 | 'proxy/polling_proxy_config_service.cc', |
| 543 | 'proxy/polling_proxy_config_service.h', |
[email protected] | 7541206c | 2010-02-19 20:24:06 | [diff] [blame] | 544 | 'proxy/proxy_bypass_rules.cc', |
| 545 | 'proxy/proxy_bypass_rules.h', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 546 | 'proxy/proxy_config.cc', |
| 547 | 'proxy/proxy_config.h', |
| 548 | 'proxy/proxy_config_service.h', |
[email protected] | 1e60547 | 2010-12-16 21:41:40 | [diff] [blame] | 549 | 'proxy/proxy_config_service_fixed.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 550 | 'proxy/proxy_config_service_fixed.h', |
[email protected] | 861c6c6 | 2009-04-20 16:50:56 | [diff] [blame] | 551 | 'proxy/proxy_config_service_linux.cc', |
| 552 | 'proxy/proxy_config_service_linux.h', |
[email protected] | a9944f0 | 2009-12-10 10:37:27 | [diff] [blame] | 553 | 'proxy/proxy_config_service_mac.cc', |
| 554 | 'proxy/proxy_config_service_mac.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 555 | 'proxy/proxy_config_service_win.cc', |
| 556 | 'proxy/proxy_config_service_win.h', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 557 | 'proxy/proxy_info.cc', |
| 558 | 'proxy/proxy_info.h', |
| 559 | 'proxy/proxy_list.cc', |
| 560 | 'proxy/proxy_list.h', |
| 561 | 'proxy/proxy_resolver.h', |
[email protected] | 90ae1fb | 2009-08-02 21:07:12 | [diff] [blame] | 562 | 'proxy/proxy_resolver_js_bindings.cc', |
| 563 | 'proxy/proxy_resolver_js_bindings.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 564 | 'proxy/proxy_resolver_mac.cc', |
[email protected] | d022e4e | 2009-06-23 04:13:00 | [diff] [blame] | 565 | 'proxy/proxy_resolver_mac.h', |
[email protected] | 59872eb | 2010-06-22 18:56:12 | [diff] [blame] | 566 | 'proxy/proxy_resolver_request_context.h', |
[email protected] | 6b675b8 | 2009-02-26 23:18:32 | [diff] [blame] | 567 | 'proxy/proxy_resolver_script.h', |
[email protected] | 2447640 | 2010-07-20 20:55:17 | [diff] [blame] | 568 | 'proxy/proxy_resolver_script_data.cc', |
| 569 | 'proxy/proxy_resolver_script_data.h', |
[email protected] | 6b675b8 | 2009-02-26 23:18:32 | [diff] [blame] | 570 | 'proxy/proxy_resolver_v8.cc', |
| 571 | 'proxy/proxy_resolver_v8.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 572 | 'proxy/proxy_resolver_winhttp.cc', |
| 573 | 'proxy/proxy_resolver_winhttp.h', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 574 | 'proxy/proxy_retry_info.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 575 | 'proxy/proxy_script_fetcher.h', |
[email protected] | 8693361 | 2010-10-16 23:10:33 | [diff] [blame] | 576 | 'proxy/proxy_script_fetcher_impl.cc', |
| 577 | 'proxy/proxy_script_fetcher_impl.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 578 | 'proxy/proxy_server.cc', |
[email protected] | a9944f0 | 2009-12-10 10:37:27 | [diff] [blame] | 579 | 'proxy/proxy_server_mac.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 580 | 'proxy/proxy_server.h', |
| 581 | 'proxy/proxy_service.cc', |
| 582 | 'proxy/proxy_service.h', |
[email protected] | 1ca2b45 | 2010-04-17 00:07:04 | [diff] [blame] | 583 | 'proxy/sync_host_resolver_bridge.cc', |
| 584 | 'proxy/sync_host_resolver_bridge.h', |
[email protected] | 9008c86f | 2010-08-06 07:10:24 | [diff] [blame] | 585 | 'socket/client_socket.cc', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 586 | 'socket/client_socket.h', |
| 587 | 'socket/client_socket_factory.cc', |
| 588 | 'socket/client_socket_factory.h', |
| 589 | 'socket/client_socket_handle.cc', |
| 590 | 'socket/client_socket_handle.h', |
| 591 | 'socket/client_socket_pool.h', |
[email protected] | 241c5c2c | 2010-06-21 18:46:00 | [diff] [blame] | 592 | 'socket/client_socket_pool.cc', |
[email protected] | ff579d4 | 2009-06-24 15:47:02 | [diff] [blame] | 593 | 'socket/client_socket_pool_base.cc', |
| 594 | 'socket/client_socket_pool_base.h', |
[email protected] | b89f7e4 | 2010-05-20 20:37:00 | [diff] [blame] | 595 | 'socket/client_socket_pool_histograms.cc', |
| 596 | 'socket/client_socket_pool_histograms.h', |
[email protected] | 2431756e | 2010-09-29 20:26:13 | [diff] [blame] | 597 | 'socket/client_socket_pool_manager.cc', |
| 598 | 'socket/client_socket_pool_manager.h', |
[email protected] | 345c613b | 2010-11-22 19:33:18 | [diff] [blame] | 599 | 'socket/dns_cert_provenance_checker.cc', |
| 600 | 'socket/dns_cert_provenance_checker.h', |
[email protected] | f61c397 | 2010-12-23 09:54:15 | [diff] [blame] | 601 | 'socket/nss_ssl_util.cc', |
| 602 | 'socket/nss_ssl_util.h', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 603 | 'socket/socket.h', |
[email protected] | e0c27be | 2009-07-15 13:09:35 | [diff] [blame] | 604 | 'socket/socks5_client_socket.cc', |
| 605 | 'socket/socks5_client_socket.h', |
[email protected] | 3cd1724 | 2009-06-23 02:59:02 | [diff] [blame] | 606 | 'socket/socks_client_socket.cc', |
| 607 | 'socket/socks_client_socket.h', |
[email protected] | a796bcec | 2010-03-22 17:17:26 | [diff] [blame] | 608 | 'socket/socks_client_socket_pool.cc', |
| 609 | 'socket/socks_client_socket_pool.h', |
[email protected] | 7cf4091 | 2010-12-09 18:25:03 | [diff] [blame] | 610 | 'socket/ssl_client_socket.cc', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 611 | 'socket/ssl_client_socket.h', |
| 612 | 'socket/ssl_client_socket_mac.cc', |
[email protected] | 96142744 | 2009-07-15 19:00:47 | [diff] [blame] | 613 | 'socket/ssl_client_socket_mac.h', |
[email protected] | fd4f139f | 2010-06-11 17:02:20 | [diff] [blame] | 614 | 'socket/ssl_client_socket_mac_factory.cc', |
| 615 | 'socket/ssl_client_socket_mac_factory.h', |
[email protected] | 2028539 | 2010-06-11 03:12:08 | [diff] [blame] | 616 | 'socket/ssl_client_socket_nss.cc', |
| 617 | 'socket/ssl_client_socket_nss.h', |
[email protected] | fd4f139f | 2010-06-11 17:02:20 | [diff] [blame] | 618 | 'socket/ssl_client_socket_nss_factory.cc', |
| 619 | 'socket/ssl_client_socket_nss_factory.h', |
[email protected] | d518cd9 | 2010-09-29 12:27:44 | [diff] [blame] | 620 | 'socket/ssl_client_socket_openssl.cc', |
| 621 | 'socket/ssl_client_socket_openssl.h', |
[email protected] | e60e47a | 2010-07-14 03:37:18 | [diff] [blame] | 622 | 'socket/ssl_client_socket_pool.cc', |
| 623 | 'socket/ssl_client_socket_pool.h', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 624 | 'socket/ssl_client_socket_win.cc', |
| 625 | 'socket/ssl_client_socket_win.h', |
[email protected] | 47f7d74 | 2010-11-11 04:12:53 | [diff] [blame] | 626 | 'socket/ssl_error_params.cc', |
| 627 | 'socket/ssl_error_params.h', |
[email protected] | f61c397 | 2010-12-23 09:54:15 | [diff] [blame] | 628 | 'socket/ssl_server_socket.h', |
| 629 | 'socket/ssl_server_socket_nss.cc', |
| 630 | 'socket/ssl_server_socket_nss.h', |
[email protected] | b8b73cf | 2010-12-15 15:56:19 | [diff] [blame] | 631 | 'socket/ssl_host_info.cc', |
| 632 | 'socket/ssl_host_info.h', |
[email protected] | 7f7e9239 | 2010-10-26 18:29:29 | [diff] [blame] | 633 | 'socket/tcp_client_socket.cc', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 634 | 'socket/tcp_client_socket.h', |
| 635 | 'socket/tcp_client_socket_libevent.cc', |
| 636 | 'socket/tcp_client_socket_libevent.h', |
| 637 | 'socket/tcp_client_socket_pool.cc', |
| 638 | 'socket/tcp_client_socket_pool.h', |
| 639 | 'socket/tcp_client_socket_win.cc', |
| 640 | 'socket/tcp_client_socket_win.h', |
[email protected] | aef0313 | 2009-10-09 05:04:14 | [diff] [blame] | 641 | 'socket_stream/socket_stream.cc', |
| 642 | 'socket_stream/socket_stream.h', |
[email protected] | 6a2c3677 | 2010-03-01 02:37:13 | [diff] [blame] | 643 | 'socket_stream/socket_stream_job.cc', |
| 644 | 'socket_stream/socket_stream_job.h', |
| 645 | 'socket_stream/socket_stream_job_manager.cc', |
| 646 | 'socket_stream/socket_stream_job_manager.h', |
[email protected] | c7f689be | 2009-11-11 05:53:12 | [diff] [blame] | 647 | 'socket_stream/socket_stream_metrics.cc', |
| 648 | 'socket_stream/socket_stream_metrics.h', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 649 | 'spdy/spdy_bitmasks.h', |
| 650 | 'spdy/spdy_frame_builder.cc', |
| 651 | 'spdy/spdy_frame_builder.h', |
| 652 | 'spdy/spdy_framer.cc', |
| 653 | 'spdy/spdy_framer.h', |
[email protected] | 65d56aa | 2010-06-14 04:13:40 | [diff] [blame] | 654 | 'spdy/spdy_http_stream.cc', |
| 655 | 'spdy/spdy_http_stream.h', |
[email protected] | fa522e7 | 2010-09-15 23:36:29 | [diff] [blame] | 656 | 'spdy/spdy_http_utils.cc', |
| 657 | 'spdy/spdy_http_utils.h', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 658 | 'spdy/spdy_io_buffer.cc', |
| 659 | 'spdy/spdy_io_buffer.h', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 660 | 'spdy/spdy_protocol.h', |
[email protected] | fe2f62a | 2010-10-01 03:34:07 | [diff] [blame] | 661 | 'spdy/spdy_proxy_client_socket.cc', |
| 662 | 'spdy/spdy_proxy_client_socket.h', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 663 | 'spdy/spdy_session.cc', |
| 664 | 'spdy/spdy_session.h', |
| 665 | 'spdy/spdy_session_pool.cc', |
| 666 | 'spdy/spdy_session_pool.h', |
[email protected] | 74188f2 | 2010-04-09 20:18:50 | [diff] [blame] | 667 | 'spdy/spdy_settings_storage.cc', |
| 668 | 'spdy/spdy_settings_storage.h', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 669 | 'spdy/spdy_stream.cc', |
| 670 | 'spdy/spdy_stream.h', |
[email protected] | be4d55fe | 2010-06-01 13:40:02 | [diff] [blame] | 671 | 'url_request/https_prober.h', |
| 672 | 'url_request/https_prober.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 673 | 'url_request/url_request.cc', |
| 674 | 'url_request/url_request.h', |
| 675 | 'url_request/url_request_about_job.cc', |
| 676 | 'url_request/url_request_about_job.h', |
[email protected] | f1d8192 | 2010-07-31 17:47:09 | [diff] [blame] | 677 | 'url_request/url_request_context.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 678 | 'url_request/url_request_context.h', |
[email protected] | fcb7fd9 | 2009-10-22 04:18:58 | [diff] [blame] | 679 | 'url_request/url_request_data_job.cc', |
| 680 | 'url_request/url_request_data_job.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 681 | 'url_request/url_request_error_job.cc', |
| 682 | 'url_request/url_request_error_job.h', |
| 683 | 'url_request/url_request_file_dir_job.cc', |
| 684 | 'url_request/url_request_file_dir_job.h', |
| 685 | 'url_request/url_request_file_job.cc', |
| 686 | 'url_request/url_request_file_job.h', |
| 687 | 'url_request/url_request_filter.cc', |
| 688 | 'url_request/url_request_filter.h', |
[email protected] | e7fe528 | 2010-03-16 12:40:13 | [diff] [blame] | 689 | 'url_request/url_request_ftp_job.cc', |
| 690 | 'url_request/url_request_ftp_job.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 691 | 'url_request/url_request_http_job.cc', |
| 692 | 'url_request/url_request_http_job.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 693 | 'url_request/url_request_job.cc', |
| 694 | 'url_request/url_request_job.h', |
| 695 | 'url_request/url_request_job_manager.cc', |
| 696 | 'url_request/url_request_job_manager.h', |
| 697 | 'url_request/url_request_job_metrics.cc', |
| 698 | 'url_request/url_request_job_metrics.h', |
| 699 | 'url_request/url_request_job_tracker.cc', |
| 700 | 'url_request/url_request_job_tracker.h', |
[email protected] | 261283423 | 2010-05-14 21:52:36 | [diff] [blame] | 701 | 'url_request/url_request_netlog_params.cc', |
| 702 | 'url_request/url_request_netlog_params.h', |
[email protected] | 56d8318 | 2009-09-04 20:01:45 | [diff] [blame] | 703 | 'url_request/url_request_redirect_job.cc', |
| 704 | 'url_request/url_request_redirect_job.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 705 | 'url_request/url_request_simple_job.cc', |
| 706 | 'url_request/url_request_simple_job.h', |
| 707 | 'url_request/url_request_status.h', |
| 708 | 'url_request/url_request_test_job.cc', |
| 709 | 'url_request/url_request_test_job.h', |
[email protected] | 6b3f964 | 2010-11-25 02:29:06 | [diff] [blame] | 710 | 'url_request/url_request_throttler_entry.cc', |
| 711 | 'url_request/url_request_throttler_entry.h', |
| 712 | 'url_request/url_request_throttler_entry_interface.h', |
| 713 | 'url_request/url_request_throttler_header_adapter.h', |
| 714 | 'url_request/url_request_throttler_header_adapter.cc', |
| 715 | 'url_request/url_request_throttler_header_interface.h', |
| 716 | 'url_request/url_request_throttler_manager.cc', |
| 717 | 'url_request/url_request_throttler_manager.h', |
[email protected] | 13c34d1 | 2009-09-14 20:51:04 | [diff] [blame] | 718 | 'url_request/view_cache_helper.cc', |
| 719 | 'url_request/view_cache_helper.h', |
[email protected] | 6d9fc74 | 2009-10-21 07:59:36 | [diff] [blame] | 720 | 'websockets/websocket.cc', |
| 721 | 'websockets/websocket.h', |
[email protected] | 3985966a | 2010-06-01 03:11:16 | [diff] [blame] | 722 | 'websockets/websocket_frame_handler.cc', |
| 723 | 'websockets/websocket_frame_handler.h', |
[email protected] | af63c90 | 2010-03-17 05:09:22 | [diff] [blame] | 724 | 'websockets/websocket_handshake.cc', |
| 725 | 'websockets/websocket_handshake.h', |
[email protected] | 511d0a0 | 2010-03-26 07:35:55 | [diff] [blame] | 726 | 'websockets/websocket_handshake_draft75.cc', |
| 727 | 'websockets/websocket_handshake_draft75.h', |
[email protected] | 817fc50 | 2010-06-03 08:58:08 | [diff] [blame] | 728 | 'websockets/websocket_handshake_handler.cc', |
| 729 | 'websockets/websocket_handshake_handler.h', |
[email protected] | 6a2c3677 | 2010-03-01 02:37:13 | [diff] [blame] | 730 | 'websockets/websocket_job.cc', |
| 731 | 'websockets/websocket_job.h', |
[email protected] | 78994ab0 | 2010-12-08 18:06:44 | [diff] [blame] | 732 | 'websockets/websocket_net_log_params.cc', |
[email protected] | 6983889c | 2010-08-12 04:15:21 | [diff] [blame] | 733 | 'websockets/websocket_net_log_params.h', |
[email protected] | 4c4eac0 | 2009-11-04 10:02:28 | [diff] [blame] | 734 | 'websockets/websocket_throttle.cc', |
| 735 | 'websockets/websocket_throttle.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 736 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 737 | 'export_dependent_settings': [ |
| 738 | '../base/base.gyp:base', |
| 739 | ], |
| 740 | 'conditions': [ |
[email protected] | c61f643 | 2009-04-22 01:16:42 | [diff] [blame] | 741 | ['javascript_engine=="v8"', { |
| 742 | 'dependencies': [ |
[email protected] | 44531a2 | 2009-04-28 21:37:56 | [diff] [blame] | 743 | '../v8/tools/gyp/v8.gyp:v8', |
[email protected] | c61f643 | 2009-04-22 01:16:42 | [diff] [blame] | 744 | ], |
| 745 | }], |
[email protected] | f50278cd | 2010-08-24 17:34:08 | [diff] [blame] | 746 | ['chromeos==1', { |
| 747 | 'sources!': [ |
| 748 | 'proxy/proxy_config_service_linux.cc', |
| 749 | 'proxy/proxy_config_service_linux.h', |
| 750 | ], |
| 751 | }], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 752 | ['use_openssl==1', { |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 753 | 'sources!': [ |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 754 | 'ocsp/nss_ocsp.cc', |
| 755 | 'ocsp/nss_ocsp.h', |
[email protected] | d8fbf58 | 2010-11-04 21:51:12 | [diff] [blame] | 756 | 'socket/dns_cert_provenance_check.cc', |
| 757 | 'socket/dns_cert_provenance_check.h', |
[email protected] | 7fd3fd82 | 2010-12-23 12:15:49 | [diff] [blame] | 758 | 'socket/nss_ssl_util.cc', |
| 759 | 'socket/nss_ssl_util.h', |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 760 | 'socket/ssl_client_socket_nss.cc', |
| 761 | 'socket/ssl_client_socket_nss.h', |
| 762 | 'socket/ssl_client_socket_nss_factory.cc', |
| 763 | 'socket/ssl_client_socket_nss_factory.h', |
[email protected] | f61c397 | 2010-12-23 09:54:15 | [diff] [blame] | 764 | 'socket/ssl_server_socket_nss.cc', |
| 765 | 'socket/ssl_server_socket_nss.h', |
[email protected] | 5f7e5cb2 | 2010-11-15 16:08:10 | [diff] [blame] | 766 | ], |
| 767 | }, |
| 768 | { # else !use_openssl: remove the unneeded files |
| 769 | 'sources!': [ |
| 770 | 'socket/ssl_client_socket_openssl.cc', |
| 771 | 'socket/ssl_client_socket_openssl.h', |
[email protected] | d518cd9 | 2010-09-29 12:27:44 | [diff] [blame] | 772 | ], |
| 773 | }, |
| 774 | ], |
[email protected] | 50462ec | 2010-01-29 22:28:32 | [diff] [blame] | 775 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 776 | 'dependencies': [ |
| 777 | '../build/linux/system.gyp:gconf', |
| 778 | '../build/linux/system.gyp:gdk', |
[email protected] | bbbe9ad | 2010-11-04 14:56:20 | [diff] [blame] | 779 | ], |
| 780 | 'conditions': [ |
| 781 | ['use_openssl==1', { |
| 782 | 'dependencies': [ |
[email protected] | 32e1dee | 2010-12-09 18:36:24 | [diff] [blame] | 783 | '../third_party/openssl/openssl.gyp:openssl', |
[email protected] | bbbe9ad | 2010-11-04 14:56:20 | [diff] [blame] | 784 | ], |
| 785 | }, |
| 786 | { # else use_openssl==0, use NSS |
| 787 | 'dependencies': [ |
| 788 | '../build/linux/system.gyp:nss', |
| 789 | ], |
| 790 | }], |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 791 | ], |
| 792 | }, |
| 793 | { # else: OS is not in the above list |
| 794 | 'sources!': [ |
| 795 | 'ocsp/nss_ocsp.cc', |
| 796 | 'ocsp/nss_ocsp.h', |
| 797 | ], |
| 798 | }, |
| 799 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 800 | [ 'OS == "win"', { |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 801 | 'sources!': [ |
[email protected] | ea9dc9a | 2009-09-05 00:43:32 | [diff] [blame] | 802 | 'http/http_auth_handler_ntlm_portable.cc', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 803 | 'socket/tcp_client_socket_libevent.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 804 | ], |
| 805 | 'dependencies': [ |
[email protected] | f505a9b | 2010-01-28 19:44:02 | [diff] [blame] | 806 | '../third_party/nss/nss.gyp:nss', |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 807 | 'third_party/nss/ssl.gyp:ssl', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 808 | 'tld_cleanup', |
| 809 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 810 | }, |
| 811 | { # else: OS != "win" |
[email protected] | d8d4a0a | 2010-06-12 15:27:47 | [diff] [blame] | 812 | 'dependencies': [ |
| 813 | '../third_party/libevent/libevent.gyp:libevent', |
| 814 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 815 | 'sources!': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 816 | 'proxy/proxy_resolver_winhttp.cc', |
[email protected] | fd4f139f | 2010-06-11 17:02:20 | [diff] [blame] | 817 | 'socket/ssl_client_socket_nss_factory.cc', |
| 818 | 'socket/ssl_client_socket_nss_factory.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 819 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 820 | }, |
| 821 | ], |
| 822 | [ 'OS == "mac"', { |
[email protected] | 3dd6f5e | 2010-06-01 20:28:03 | [diff] [blame] | 823 | 'dependencies': [ |
| 824 | '../third_party/nss/nss.gyp:nss', |
| 825 | 'third_party/nss/ssl.gyp:ssl', |
[email protected] | f505a9b | 2010-01-28 19:44:02 | [diff] [blame] | 826 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 827 | 'link_settings': { |
| 828 | 'libraries': [ |
| 829 | '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 830 | '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', |
| 831 | ] |
| 832 | }, |
| 833 | }, |
[email protected] | fd4f139f | 2010-06-11 17:02:20 | [diff] [blame] | 834 | { # else: OS != "mac" |
| 835 | 'sources!': [ |
| 836 | 'socket/ssl_client_socket_mac_factory.cc', |
| 837 | 'socket/ssl_client_socket_mac_factory.h', |
| 838 | ], |
| 839 | }, |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 840 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 841 | ], |
| 842 | }, |
| 843 | { |
| 844 | 'target_name': 'net_unittests', |
| 845 | 'type': 'executable', |
| 846 | 'dependencies': [ |
| 847 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 848 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 849 | '../base/base.gyp:base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 850 | '../base/base.gyp:base_i18n', |
[email protected] | 06489a01 | 2009-12-10 08:12:54 | [diff] [blame] | 851 | '../testing/gmock.gyp:gmock', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 852 | '../testing/gtest.gyp:gtest', |
[email protected] | e86aaca | 2009-08-12 17:58:57 | [diff] [blame] | 853 | '../third_party/zlib/zlib.gyp:zlib', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 854 | ], |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 855 | 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 856 | 'sources': [ |
[email protected] | 8a00f00a | 2009-06-12 00:49:38 | [diff] [blame] | 857 | 'base/address_list_unittest.cc', |
[email protected] | bb63903 | 2010-08-12 19:49:40 | [diff] [blame] | 858 | 'base/cert_database_nss_unittest.cc', |
[email protected] | 822581d | 2010-12-16 17:27:15 | [diff] [blame] | 859 | 'base/cert_verifier_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 860 | 'base/cookie_monster_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 861 | 'base/data_url_unittest.cc', |
| 862 | 'base/directory_lister_unittest.cc', |
[email protected] | b2471359 | 2010-08-11 19:50:02 | [diff] [blame] | 863 | 'base/dnssec_unittest.cc', |
[email protected] | c36f064 | 2009-09-09 01:10:50 | [diff] [blame] | 864 | 'base/dns_util_unittest.cc', |
[email protected] | b3ccac8 | 2010-08-04 15:54:40 | [diff] [blame] | 865 | 'base/dnsrr_resolver_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 866 | 'base/escape_unittest.cc', |
| 867 | 'base/file_stream_unittest.cc', |
| 868 | 'base/filter_unittest.cc', |
| 869 | 'base/gzip_filter_unittest.cc', |
[email protected] | 8a00f00a | 2009-06-12 00:49:38 | [diff] [blame] | 870 | 'base/host_cache_unittest.cc', |
[email protected] | b6a5018 | 2010-05-12 22:47:14 | [diff] [blame] | 871 | 'base/host_mapping_rules_unittest.cc', |
[email protected] | b59ff37 | 2009-07-15 22:04:32 | [diff] [blame] | 872 | 'base/host_resolver_impl_unittest.cc', |
[email protected] | cdafbff | 2010-03-02 17:47:02 | [diff] [blame] | 873 | 'base/keygen_handler_unittest.cc', |
[email protected] | 8543761 | 2010-03-22 11:55:23 | [diff] [blame] | 874 | 'base/leak_annotations.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 875 | 'base/listen_socket_unittest.cc', |
| 876 | 'base/listen_socket_unittest.h', |
[email protected] | 9087aa3 | 2010-02-18 08:03:38 | [diff] [blame] | 877 | 'base/mapped_host_resolver_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 878 | 'base/mime_sniffer_unittest.cc', |
| 879 | 'base/mime_util_unittest.cc', |
[email protected] | d2db029 | 2011-01-26 20:23:44 | [diff] [blame^] | 880 | 'base/mock_filter_context.cc', |
| 881 | 'base/mock_filter_context.h', |
[email protected] | e8188fe | 2010-12-09 17:33:21 | [diff] [blame] | 882 | 'base/net_log_unittest.cc', |
[email protected] | 9e743cd | 2010-03-16 07:03:53 | [diff] [blame] | 883 | 'base/net_log_unittest.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 884 | 'base/net_util_unittest.cc', |
[email protected] | e5a3eef | 2010-07-22 02:31:04 | [diff] [blame] | 885 | 'base/pem_tokenizer_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 886 | 'base/registry_controlled_domain_unittest.cc', |
| 887 | 'base/run_all_unittests.cc', |
| 888 | 'base/sdch_filter_unittest.cc', |
[email protected] | d8654bf | 2010-07-18 16:01:32 | [diff] [blame] | 889 | 'base/ssl_cipher_suite_names_unittest.cc', |
[email protected] | 56c866a2 | 2009-06-18 19:38:58 | [diff] [blame] | 890 | 'base/ssl_client_auth_cache_unittest.cc', |
[email protected] | f37c98f | 2009-09-09 22:07:32 | [diff] [blame] | 891 | 'base/ssl_config_service_mac_unittest.cc', |
[email protected] | a0709c0d | 2010-09-01 17:04:52 | [diff] [blame] | 892 | 'base/ssl_config_service_unittest.cc', |
[email protected] | db36938c | 2009-08-19 21:48:42 | [diff] [blame] | 893 | 'base/ssl_config_service_win_unittest.cc', |
[email protected] | 5bafc4f | 2010-09-08 14:07:38 | [diff] [blame] | 894 | 'base/ssl_false_start_blacklist_unittest.cc', |
[email protected] | cb370a063 | 2010-01-30 08:24:12 | [diff] [blame] | 895 | 'base/static_cookie_policy_unittest.cc', |
[email protected] | 326e679 | 2009-12-11 21:04:42 | [diff] [blame] | 896 | 'base/transport_security_state_unittest.cc', |
[email protected] | a710ad60 | 2009-11-20 23:39:29 | [diff] [blame] | 897 | 'base/test_certificate_data.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 898 | 'base/test_completion_callback_unittest.cc', |
[email protected] | 95d88ffe | 2010-02-04 21:25:33 | [diff] [blame] | 899 | 'base/upload_data_stream_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 900 | 'base/x509_certificate_unittest.cc', |
[email protected] | 11f4034 | 2010-11-22 13:35:49 | [diff] [blame] | 901 | 'base/x509_cert_types_mac_unittest.cc', |
[email protected] | 90e6d4b | 2010-11-16 13:58:24 | [diff] [blame] | 902 | 'base/x509_openssl_util_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 903 | 'disk_cache/addr_unittest.cc', |
| 904 | 'disk_cache/backend_unittest.cc', |
[email protected] | 84d4cee | 2009-06-18 23:46:58 | [diff] [blame] | 905 | 'disk_cache/bitmap_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 906 | 'disk_cache/block_files_unittest.cc', |
[email protected] | 831a1a76 | 2010-10-12 05:57:08 | [diff] [blame] | 907 | 'disk_cache/cache_util_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 908 | 'disk_cache/disk_cache_test_base.cc', |
| 909 | 'disk_cache/disk_cache_test_base.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 910 | 'disk_cache/entry_unittest.cc', |
| 911 | 'disk_cache/mapped_file_unittest.cc', |
| 912 | 'disk_cache/storage_block_unittest.cc', |
| 913 | 'ftp/ftp_auth_cache_unittest.cc', |
[email protected] | c297219 | 2009-07-28 20:30:09 | [diff] [blame] | 914 | 'ftp/ftp_ctrl_response_buffer_unittest.cc', |
[email protected] | 1d799dd | 2009-10-28 17:00:49 | [diff] [blame] | 915 | 'ftp/ftp_directory_listing_buffer_unittest.cc', |
[email protected] | a115b0107 | 2009-12-04 09:58:32 | [diff] [blame] | 916 | 'ftp/ftp_directory_listing_parser_ls_unittest.cc', |
[email protected] | 8425e66e | 2009-12-07 19:51:46 | [diff] [blame] | 917 | 'ftp/ftp_directory_listing_parser_netware_unittest.cc', |
[email protected] | a115b0107 | 2009-12-04 09:58:32 | [diff] [blame] | 918 | 'ftp/ftp_directory_listing_parser_vms_unittest.cc', |
| 919 | 'ftp/ftp_directory_listing_parser_windows_unittest.cc', |
[email protected] | 69b43fe | 2009-06-15 09:47:37 | [diff] [blame] | 920 | 'ftp/ftp_network_transaction_unittest.cc', |
[email protected] | b1c7cc4 | 2009-09-24 21:46:50 | [diff] [blame] | 921 | 'ftp/ftp_util_unittest.cc', |
[email protected] | 5ae0b86 | 2009-02-28 02:02:41 | [diff] [blame] | 922 | 'http/des_unittest.cc', |
[email protected] | 564b491 | 2010-03-09 16:30:42 | [diff] [blame] | 923 | 'http/http_alternate_protocols_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 924 | 'http/http_auth_cache_unittest.cc', |
[email protected] | eb3cac7 | 2010-02-26 21:07:45 | [diff] [blame] | 925 | 'http/http_auth_filter_unittest.cc', |
[email protected] | 8372717 | 2010-06-04 17:58:08 | [diff] [blame] | 926 | 'http/http_auth_gssapi_posix_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 927 | 'http/http_auth_handler_basic_unittest.cc', |
| 928 | 'http/http_auth_handler_digest_unittest.cc', |
[email protected] | fa55e19 | 2010-02-15 14:25:50 | [diff] [blame] | 929 | 'http/http_auth_handler_factory_unittest.cc', |
[email protected] | 3fd9dae | 2010-06-21 11:39:00 | [diff] [blame] | 930 | 'http/http_auth_handler_mock.cc', |
| 931 | 'http/http_auth_handler_mock.h', |
[email protected] | e607ee67 | 2010-04-28 17:16:34 | [diff] [blame] | 932 | 'http/http_auth_handler_negotiate_unittest.cc', |
[email protected] | 7775c7d | 2010-06-21 17:50:21 | [diff] [blame] | 933 | 'http/http_auth_handler_unittest.cc', |
[email protected] | 7da0b33 | 2010-01-08 14:56:56 | [diff] [blame] | 934 | 'http/http_auth_sspi_win_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 935 | 'http/http_auth_unittest.cc', |
[email protected] | fc48db8 | 2009-04-28 21:23:39 | [diff] [blame] | 936 | 'http/http_byte_range_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 937 | 'http/http_cache_unittest.cc', |
| 938 | 'http/http_chunked_decoder_unittest.cc', |
| 939 | 'http/http_network_layer_unittest.cc', |
| 940 | 'http/http_network_transaction_unittest.cc', |
[email protected] | e772db3f | 2010-07-12 18:11:13 | [diff] [blame] | 941 | 'http/http_proxy_client_socket_pool_unittest.cc', |
[email protected] | 270c641 | 2010-03-29 22:02:47 | [diff] [blame] | 942 | 'http/http_request_headers_unittest.cc', |
[email protected] | 0b0bf03 | 2010-09-21 18:08:50 | [diff] [blame] | 943 | 'http/http_response_body_drainer_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 944 | 'http/http_response_headers_unittest.cc', |
[email protected] | 81cdfcd | 2010-10-16 00:49:00 | [diff] [blame] | 945 | 'http/http_stream_factory_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 946 | 'http/http_transaction_unittest.cc', |
| 947 | 'http/http_transaction_unittest.h', |
| 948 | 'http/http_util_unittest.cc', |
| 949 | 'http/http_vary_data_unittest.cc', |
[email protected] | d2db029 | 2011-01-26 20:23:44 | [diff] [blame^] | 950 | 'http/mock_allow_url_security_manager.cc', |
| 951 | 'http/mock_allow_url_security_manager.h', |
[email protected] | 3ad259a | 2010-07-16 17:26:47 | [diff] [blame] | 952 | 'http/mock_gssapi_library_posix.cc', |
| 953 | 'http/mock_gssapi_library_posix.h', |
[email protected] | 5c2471b | 2010-04-20 17:25:09 | [diff] [blame] | 954 | 'http/mock_sspi_library_win.h', |
| 955 | 'http/mock_sspi_library_win.cc', |
[email protected] | ffdb96f | 2010-05-05 20:02:30 | [diff] [blame] | 956 | 'http/url_security_manager_unittest.cc', |
[email protected] | 620f571 | 2009-08-04 22:43:12 | [diff] [blame] | 957 | 'proxy/init_proxy_resolver_unittest.cc', |
[email protected] | c6efbc6 | 2009-08-06 12:52:19 | [diff] [blame] | 958 | 'proxy/mock_proxy_resolver.h', |
[email protected] | 61b84d5 | 2010-07-09 03:32:00 | [diff] [blame] | 959 | 'proxy/multi_threaded_proxy_resolver_unittest.cc', |
[email protected] | 7541206c | 2010-02-19 20:24:06 | [diff] [blame] | 960 | 'proxy/proxy_bypass_rules_unittest.cc', |
[email protected] | 861c6c6 | 2009-04-20 16:50:56 | [diff] [blame] | 961 | 'proxy/proxy_config_service_linux_unittest.cc', |
[email protected] | 96ce2236 | 2009-03-27 20:19:57 | [diff] [blame] | 962 | 'proxy/proxy_config_service_win_unittest.cc', |
[email protected] | 5b45aec0 | 2009-03-31 01:03:23 | [diff] [blame] | 963 | 'proxy/proxy_config_unittest.cc', |
[email protected] | 7dc52f2 | 2009-03-02 22:37:18 | [diff] [blame] | 964 | 'proxy/proxy_list_unittest.cc', |
[email protected] | 90ae1fb | 2009-08-02 21:07:12 | [diff] [blame] | 965 | 'proxy/proxy_resolver_js_bindings_unittest.cc', |
[email protected] | 6b675b8 | 2009-02-26 23:18:32 | [diff] [blame] | 966 | 'proxy/proxy_resolver_v8_unittest.cc', |
[email protected] | 8693361 | 2010-10-16 23:10:33 | [diff] [blame] | 967 | 'proxy/proxy_script_fetcher_impl_unittest.cc', |
[email protected] | 8b03e8d | 2009-03-02 06:53:31 | [diff] [blame] | 968 | 'proxy/proxy_server_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 969 | 'proxy/proxy_service_unittest.cc', |
[email protected] | 1ca2b45 | 2010-04-17 00:07:04 | [diff] [blame] | 970 | 'proxy/sync_host_resolver_bridge_unittest.cc', |
[email protected] | ab83889 | 2009-06-30 18:49:05 | [diff] [blame] | 971 | 'socket/client_socket_pool_base_unittest.cc', |
[email protected] | 5e660958 | 2010-10-05 18:14:20 | [diff] [blame] | 972 | 'socket/deterministic_socket_data_unittest.cc', |
[email protected] | e0c27be | 2009-07-15 13:09:35 | [diff] [blame] | 973 | 'socket/socks5_client_socket_unittest.cc', |
[email protected] | a796bcec | 2010-03-22 17:17:26 | [diff] [blame] | 974 | 'socket/socks_client_socket_pool_unittest.cc', |
[email protected] | 76a51ac8 | 2009-06-28 07:58:58 | [diff] [blame] | 975 | 'socket/socks_client_socket_unittest.cc', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 976 | 'socket/ssl_client_socket_unittest.cc', |
[email protected] | e60e47a | 2010-07-14 03:37:18 | [diff] [blame] | 977 | 'socket/ssl_client_socket_pool_unittest.cc', |
[email protected] | f61c397 | 2010-12-23 09:54:15 | [diff] [blame] | 978 | 'socket/ssl_server_socket_unittest.cc', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 979 | 'socket/tcp_client_socket_pool_unittest.cc', |
| 980 | 'socket/tcp_client_socket_unittest.cc', |
[email protected] | 26a6459 | 2009-12-15 08:04:40 | [diff] [blame] | 981 | 'socket_stream/socket_stream_metrics_unittest.cc', |
[email protected] | 5f7d8d7 | 2009-10-27 09:40:11 | [diff] [blame] | 982 | 'socket_stream/socket_stream_unittest.cc', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 983 | 'spdy/spdy_framer_test.cc', |
[email protected] | 65d56aa | 2010-06-14 04:13:40 | [diff] [blame] | 984 | 'spdy/spdy_http_stream_unittest.cc', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 985 | 'spdy/spdy_network_transaction_unittest.cc', |
| 986 | 'spdy/spdy_protocol_test.cc', |
[email protected] | fe2f62a | 2010-10-01 03:34:07 | [diff] [blame] | 987 | 'spdy/spdy_proxy_client_socket_unittest.cc', |
[email protected] | dab9c7d | 2010-02-06 21:44:32 | [diff] [blame] | 988 | 'spdy/spdy_session_unittest.cc', |
[email protected] | 4f38642 | 2010-07-20 04:19:49 | [diff] [blame] | 989 | 'spdy/spdy_stream_unittest.cc', |
[email protected] | 75f30cc2 | 2010-06-28 21:41:38 | [diff] [blame] | 990 | 'spdy/spdy_test_util.cc', |
[email protected] | 2ff8b31 | 2010-04-26 22:20:54 | [diff] [blame] | 991 | 'spdy/spdy_test_util.h', |
[email protected] | 9af13ce | 2010-09-16 21:45:48 | [diff] [blame] | 992 | 'test/python_utils_unittest.cc', |
[email protected] | 196f286c | 2010-06-07 14:57:17 | [diff] [blame] | 993 | 'tools/dump_cache/url_to_filename_encoder.cc', |
| 994 | 'tools/dump_cache/url_to_filename_encoder.h', |
| 995 | 'tools/dump_cache/url_to_filename_encoder_unittest.cc', |
[email protected] | 8cd1ba5a | 2010-08-17 23:47:23 | [diff] [blame] | 996 | 'tools/dump_cache/url_utilities.h', |
| 997 | 'tools/dump_cache/url_utilities.cc', |
| 998 | 'tools/dump_cache/url_utilities_unittest.cc', |
[email protected] | ac9f979 | 2010-08-06 14:09:30 | [diff] [blame] | 999 | 'url_request/url_request_job_tracker_unittest.cc', |
[email protected] | 6b3f964 | 2010-11-25 02:29:06 | [diff] [blame] | 1000 | 'url_request/url_request_throttler_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1001 | 'url_request/url_request_unittest.cc', |
[email protected] | cec6f9b0 | 2010-05-27 22:06:31 | [diff] [blame] | 1002 | 'url_request/view_cache_helper_unittest.cc', |
[email protected] | 3985966a | 2010-06-01 03:11:16 | [diff] [blame] | 1003 | 'websockets/websocket_frame_handler_unittest.cc', |
[email protected] | 511d0a0 | 2010-03-26 07:35:55 | [diff] [blame] | 1004 | 'websockets/websocket_handshake_draft75_unittest.cc', |
[email protected] | 817fc50 | 2010-06-03 08:58:08 | [diff] [blame] | 1005 | 'websockets/websocket_handshake_handler_unittest.cc', |
[email protected] | af63c90 | 2010-03-17 05:09:22 | [diff] [blame] | 1006 | 'websockets/websocket_handshake_unittest.cc', |
[email protected] | 6a2c3677 | 2010-03-01 02:37:13 | [diff] [blame] | 1007 | 'websockets/websocket_job_unittest.cc', |
[email protected] | 7ee45785 | 2010-11-12 11:19:56 | [diff] [blame] | 1008 | 'websockets/websocket_net_log_params_unittest.cc', |
[email protected] | 4c4eac0 | 2009-11-04 10:02:28 | [diff] [blame] | 1009 | 'websockets/websocket_throttle_unittest.cc', |
[email protected] | 6d9fc74 | 2009-10-21 07:59:36 | [diff] [blame] | 1010 | 'websockets/websocket_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1011 | ], |
| 1012 | 'conditions': [ |
[email protected] | f50278cd | 2010-08-24 17:34:08 | [diff] [blame] | 1013 | ['chromeos==1', { |
| 1014 | 'sources!': [ |
| 1015 | 'proxy/proxy_config_service_linux_unittest.cc', |
| 1016 | ], |
| 1017 | }], |
[email protected] | 50462ec | 2010-01-29 22:28:32 | [diff] [blame] | 1018 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 1019 | 'dependencies': [ |
| 1020 | '../build/linux/system.gyp:gtk', |
[email protected] | 6913847 | 2010-06-25 22:44:48 | [diff] [blame] | 1021 | '../build/linux/system.gyp:nss', |
[email protected] | 9d38403 | 2009-03-20 23:13:26 | [diff] [blame] | 1022 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1023 | 'sources!': [ |
| 1024 | 'base/sdch_filter_unittest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1025 | ], |
| 1026 | }, |
[email protected] | bb63903 | 2010-08-12 19:49:40 | [diff] [blame] | 1027 | { # else: OS is not in the above list |
| 1028 | 'sources!': [ |
| 1029 | 'base/cert_database_nss_unittest.cc', |
| 1030 | ], |
| 1031 | } |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1032 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 1033 | [ 'OS == "linux"', { |
[email protected] | d9df2b5 | 2009-12-10 12:06:15 | [diff] [blame] | 1034 | 'conditions': [ |
| 1035 | ['linux_use_tcmalloc==1', { |
| 1036 | 'dependencies': [ |
| 1037 | '../base/allocator/allocator.gyp:allocator', |
| 1038 | ], |
| 1039 | }], |
| 1040 | ], |
| 1041 | }], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 1042 | [ 'use_openssl==1', { |
| 1043 | # When building for OpenSSL, we need to exclude NSS specific tests. |
| 1044 | # TODO(bulach): Add equivalent tests when the underlying |
| 1045 | # functionality is ported to OpenSSL. |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 1046 | 'sources!': [ |
| 1047 | 'base/cert_database_nss_unittest.cc', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 1048 | 'base/dnssec_unittest.cc', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 1049 | ], |
| 1050 | }, |
[email protected] | 90e6d4b | 2010-11-16 13:58:24 | [diff] [blame] | 1051 | { # else, remove openssl specific tests |
| 1052 | 'sources!': [ |
| 1053 | 'base/x509_openssl_util_unittest.cc', |
| 1054 | ], |
| 1055 | } |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 1056 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1057 | [ 'OS == "win"', { |
[email protected] | 8372717 | 2010-06-04 17:58:08 | [diff] [blame] | 1058 | 'sources!': [ |
| 1059 | 'http/http_auth_gssapi_posix_unittest.cc', |
| 1060 | ], |
[email protected] | cdafbff | 2010-03-02 17:47:02 | [diff] [blame] | 1061 | # This is needed to trigger the dll copy step on windows. |
| 1062 | # TODO(mark): Specifying this here shouldn't be necessary. |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1063 | 'dependencies': [ |
[email protected] | 28062949 | 2009-09-09 06:49:08 | [diff] [blame] | 1064 | '../third_party/icu/icu.gyp:icudata', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1065 | ], |
| 1066 | }, |
| 1067 | ], |
| 1068 | ], |
| 1069 | }, |
| 1070 | { |
| 1071 | 'target_name': 'net_perftests', |
| 1072 | 'type': 'executable', |
| 1073 | 'dependencies': [ |
| 1074 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1075 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1076 | '../base/base.gyp:base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 1077 | '../base/base.gyp:base_i18n', |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 1078 | '../base/base.gyp:test_support_perf', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1079 | '../testing/gtest.gyp:gtest', |
| 1080 | ], |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 1081 | 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1082 | 'sources': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1083 | 'base/cookie_monster_perftest.cc', |
| 1084 | 'disk_cache/disk_cache_perftest.cc', |
[email protected] | 448cfef8 | 2009-03-06 01:44:33 | [diff] [blame] | 1085 | 'proxy/proxy_resolver_perftest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1086 | ], |
| 1087 | 'conditions': [ |
| 1088 | # This is needed to trigger the dll copy step on windows. |
| 1089 | # TODO(mark): Specifying this here shouldn't be necessary. |
| 1090 | [ 'OS == "win"', { |
| 1091 | 'dependencies': [ |
[email protected] | 28062949 | 2009-09-09 06:49:08 | [diff] [blame] | 1092 | '../third_party/icu/icu.gyp:icudata', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1093 | ], |
| 1094 | }, |
| 1095 | ], |
| 1096 | ], |
| 1097 | }, |
| 1098 | { |
| 1099 | 'target_name': 'stress_cache', |
| 1100 | 'type': 'executable', |
| 1101 | 'dependencies': [ |
| 1102 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1103 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1104 | '../base/base.gyp:base', |
| 1105 | ], |
| 1106 | 'sources': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1107 | 'disk_cache/stress_cache.cc', |
| 1108 | ], |
| 1109 | }, |
| 1110 | { |
| 1111 | 'target_name': 'tld_cleanup', |
| 1112 | 'type': 'executable', |
| 1113 | 'dependencies': [ |
| 1114 | '../base/base.gyp:base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 1115 | '../base/base.gyp:base_i18n', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1116 | '../build/temp_gyp/googleurl.gyp:googleurl', |
| 1117 | ], |
[email protected] | b823446 | 2009-03-18 02:30:55 | [diff] [blame] | 1118 | 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1119 | 'sources': [ |
| 1120 | 'tools/tld_cleanup/tld_cleanup.cc', |
| 1121 | ], |
| 1122 | }, |
| 1123 | { |
| 1124 | 'target_name': 'crash_cache', |
| 1125 | 'type': 'executable', |
| 1126 | 'dependencies': [ |
| 1127 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1128 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1129 | '../base/base.gyp:base', |
| 1130 | ], |
[email protected] | 9e450f2 | 2009-03-10 23:12:16 | [diff] [blame] | 1131 | 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1132 | 'sources': [ |
| 1133 | 'tools/crash_cache/crash_cache.cc', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1134 | ], |
| 1135 | }, |
| 1136 | { |
[email protected] | f9ff629f | 2010-09-03 23:54:36 | [diff] [blame] | 1137 | 'target_name': 'run_testserver', |
| 1138 | 'type': 'executable', |
| 1139 | 'dependencies': [ |
| 1140 | 'net', |
| 1141 | 'net_test_support', |
| 1142 | '../base/base.gyp:base', |
| 1143 | '../testing/gtest.gyp:gtest', |
| 1144 | ], |
| 1145 | 'msvs_guid': '506F2468-6B1D-48E2-A67C-9D9C6BAC0EC5', |
| 1146 | 'sources': [ |
| 1147 | 'tools/testserver/run_testserver.cc', |
| 1148 | ], |
| 1149 | }, |
| 1150 | { |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1151 | 'target_name': 'net_test_support', |
[email protected] | 653bd5f03 | 2009-04-08 12:55:49 | [diff] [blame] | 1152 | 'type': '<(library)', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1153 | 'dependencies': [ |
| 1154 | 'net', |
| 1155 | '../base/base.gyp:base', |
[email protected] | 5f38d71 | 2010-10-26 06:46:59 | [diff] [blame] | 1156 | '../base/base.gyp:test_support_base', |
[email protected] | ff007e16 | 2009-05-23 09:13:15 | [diff] [blame] | 1157 | '../testing/gtest.gyp:gtest', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1158 | ], |
| 1159 | 'sources': [ |
[email protected] | 702a6a72 | 2010-03-17 18:24:51 | [diff] [blame] | 1160 | 'base/cert_test_util.cc', |
| 1161 | 'base/cert_test_util.h', |
[email protected] | d2db029 | 2011-01-26 20:23:44 | [diff] [blame^] | 1162 | 'base/cookie_monster_store_test.cc', |
| 1163 | 'base/cookie_monster_store_test.h', |
| 1164 | 'base/net_test_suite.cc', |
| 1165 | 'base/net_test_suite.h', |
[email protected] | ad74a59 | 2011-01-21 18:40:55 | [diff] [blame] | 1166 | 'base/test_completion_callback.cc', |
| 1167 | 'base/test_completion_callback.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1168 | 'disk_cache/disk_cache_test_util.cc', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1169 | 'disk_cache/disk_cache_test_util.h', |
[email protected] | ab501a6a | 2009-05-12 15:07:50 | [diff] [blame] | 1170 | 'proxy/proxy_config_service_common_unittest.cc', |
| 1171 | 'proxy/proxy_config_service_common_unittest.h', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 1172 | 'socket/socket_test_util.cc', |
| 1173 | 'socket/socket_test_util.h', |
[email protected] | 9af13ce | 2010-09-16 21:45:48 | [diff] [blame] | 1174 | 'test/python_utils.cc', |
| 1175 | 'test/python_utils.h', |
[email protected] | 1b9565c | 2010-07-21 01:19:31 | [diff] [blame] | 1176 | 'test/test_server.cc', |
[email protected] | 95409e1 | 2010-08-17 20:07:11 | [diff] [blame] | 1177 | 'test/test_server_posix.cc', |
| 1178 | 'test/test_server_win.cc', |
[email protected] | 1b9565c | 2010-07-21 01:19:31 | [diff] [blame] | 1179 | 'test/test_server.h', |
[email protected] | d2db029 | 2011-01-26 20:23:44 | [diff] [blame^] | 1180 | 'url_request/url_request_test_util.cc', |
| 1181 | 'url_request/url_request_test_util.h', |
[email protected] | 702a6a72 | 2010-03-17 18:24:51 | [diff] [blame] | 1182 | ], |
| 1183 | 'conditions': [ |
[email protected] | 6c204656 | 2010-05-07 23:47:50 | [diff] [blame] | 1184 | ['inside_chromium_build==1', { |
| 1185 | 'dependencies': [ |
| 1186 | '../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', |
[email protected] | 5ceb5e9 | 2010-11-11 08:47:14 | [diff] [blame] | 1187 | '../chrome/browser/policy/proto/device_management_proto.gyp:device_management_proto', |
[email protected] | 9cac94e | 2010-10-01 16:35:12 | [diff] [blame] | 1188 | '../third_party/protobuf/protobuf.gyp:py_proto', |
[email protected] | 6c204656 | 2010-05-07 23:47:50 | [diff] [blame] | 1189 | ], |
| 1190 | }], |
[email protected] | 702a6a72 | 2010-03-17 18:24:51 | [diff] [blame] | 1191 | ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 1192 | 'conditions': [ |
| 1193 | ['use_openssl==1', { |
| 1194 | 'dependencies': [ |
[email protected] | 32e1dee | 2010-12-09 18:36:24 | [diff] [blame] | 1195 | '../third_party/openssl/openssl.gyp:openssl', |
[email protected] | 32765f8 | 2010-12-16 00:01:37 | [diff] [blame] | 1196 | ], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 1197 | }, { |
| 1198 | 'dependencies': [ |
| 1199 | '../build/linux/system.gyp:nss', |
| 1200 | ], |
| 1201 | }], |
[email protected] | 702a6a72 | 2010-03-17 18:24:51 | [diff] [blame] | 1202 | ], |
| 1203 | }], |
[email protected] | 8543761 | 2010-03-22 11:55:23 | [diff] [blame] | 1204 | ['OS == "linux"', { |
| 1205 | 'conditions': [ |
| 1206 | ['linux_use_tcmalloc==1', { |
| 1207 | 'dependencies': [ |
| 1208 | '../base/allocator/allocator.gyp:allocator', |
| 1209 | ], |
| 1210 | }], |
| 1211 | ], |
| 1212 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1213 | ], |
| 1214 | }, |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1215 | { |
| 1216 | 'target_name': 'net_resources', |
| 1217 | 'type': 'none', |
| 1218 | 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942', |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 1219 | 'variables': { |
| 1220 | 'grit_cmd': ['python', '../tools/grit/grit.py'], |
[email protected] | b15b5e3 | 2011-01-08 01:07:52 | [diff] [blame] | 1221 | 'grit_info_cmd': ['python', '../tools/grit/grit_info.py', |
| 1222 | '<@(grit_defines)'], |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 1223 | 'input_paths': [ |
| 1224 | 'base/net_resources.grd', |
| 1225 | ], |
| 1226 | }, |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1227 | 'rules': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1228 | { |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1229 | 'rule_name': 'grit', |
| 1230 | 'extension': 'grd', |
| 1231 | 'inputs': [ |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 1232 | '<!@(<(grit_info_cmd) --inputs <(input_paths))', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1233 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1234 | 'outputs': [ |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 1235 | '<!@(<(grit_info_cmd) ' |
| 1236 | '--outputs \'<(SHARED_INTERMEDIATE_DIR)/net\' <(input_paths))', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1237 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1238 | 'action': |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 1239 | ['<@(grit_cmd)', |
| 1240 | '-i', '<(RULE_INPUT_PATH)', 'build', |
[email protected] | bb6aba3 | 2011-01-07 19:04:43 | [diff] [blame] | 1241 | '-o', '<(SHARED_INTERMEDIATE_DIR)/net', |
| 1242 | '<@(grit_defines)'], |
[email protected] | 027ec5f | 2009-03-16 18:30:35 | [diff] [blame] | 1243 | 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1244 | }, |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1245 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1246 | 'sources': [ |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 1247 | '<@(input_paths)', |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1248 | ], |
| 1249 | 'direct_dependent_settings': { |
| 1250 | 'include_dirs': [ |
| 1251 | '<(SHARED_INTERMEDIATE_DIR)/net', |
| 1252 | ], |
| 1253 | }, |
[email protected] | b392f3e | 2009-05-11 20:01:24 | [diff] [blame] | 1254 | 'conditions': [ |
| 1255 | ['OS=="win"', { |
| 1256 | 'dependencies': ['../build/win/system.gyp:cygwin'], |
| 1257 | }], |
| 1258 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1259 | }, |
[email protected] | 75b91f9 | 2009-06-17 07:28:48 | [diff] [blame] | 1260 | { |
| 1261 | 'target_name': 'fetch_client', |
| 1262 | 'type': 'executable', |
| 1263 | 'dependencies': [ |
| 1264 | 'net', |
| 1265 | '../base/base.gyp:base', |
[email protected] | 75b91f9 | 2009-06-17 07:28:48 | [diff] [blame] | 1266 | '../testing/gtest.gyp:gtest', |
| 1267 | ], |
| 1268 | 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123', |
| 1269 | 'sources': [ |
| 1270 | 'tools/fetch/fetch_client.cc', |
| 1271 | ], |
| 1272 | }, |
[email protected] | fe4f06d | 2009-06-17 07:58:05 | [diff] [blame] | 1273 | { |
| 1274 | 'target_name': 'fetch_server', |
| 1275 | 'type': 'executable', |
| 1276 | 'dependencies': [ |
| 1277 | 'net', |
| 1278 | '../base/base.gyp:base', |
[email protected] | fe4f06d | 2009-06-17 07:58:05 | [diff] [blame] | 1279 | '../testing/gtest.gyp:gtest', |
| 1280 | ], |
| 1281 | 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124', |
| 1282 | 'sources': [ |
| 1283 | 'tools/fetch/fetch_server.cc', |
| 1284 | 'tools/fetch/http_listen_socket.cc', |
| 1285 | 'tools/fetch/http_listen_socket.h', |
| 1286 | 'tools/fetch/http_server.cc', |
| 1287 | 'tools/fetch/http_server.h', |
[email protected] | d022e4e | 2009-06-23 04:13:00 | [diff] [blame] | 1288 | 'tools/fetch/http_server_request_info.h', |
| 1289 | 'tools/fetch/http_server_response_info.h', |
[email protected] | fe4f06d | 2009-06-17 07:58:05 | [diff] [blame] | 1290 | 'tools/fetch/http_session.cc', |
| 1291 | 'tools/fetch/http_session.h', |
| 1292 | ], |
| 1293 | }, |
[email protected] | c402da4 | 2009-12-10 02:38:03 | [diff] [blame] | 1294 | { |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 1295 | 'target_name': 'http_listen_socket', |
| 1296 | 'type': '<(library)', |
| 1297 | 'dependencies': [ |
| 1298 | 'net', |
| 1299 | '../base/base.gyp:base', |
| 1300 | '../testing/gtest.gyp:gtest', |
| 1301 | ], |
| 1302 | 'msvs_guid': 'FCB894A4-CC6C-48C2-B495-52C80527E9BE', |
| 1303 | 'sources': [ |
| 1304 | 'server/http_listen_socket.cc', |
| 1305 | 'server/http_listen_socket.h', |
[email protected] | 1889dc1b | 2010-10-14 22:03:13 | [diff] [blame] | 1306 | 'server/http_server_request_info.cc', |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 1307 | 'server/http_server_request_info.h', |
| 1308 | ], |
| 1309 | }, |
| 1310 | { |
[email protected] | b40f05a | 2010-09-09 20:13:23 | [diff] [blame] | 1311 | 'target_name': 'dnssec_chain_verify', |
| 1312 | 'type': 'executable', |
| 1313 | 'dependencies': [ |
| 1314 | 'net_base', |
| 1315 | ], |
| 1316 | 'sources': [ |
| 1317 | 'tools/dnssec_chain_verify/dnssec_chain_verify.cc', |
| 1318 | ] |
| 1319 | }, |
| 1320 | { |
[email protected] | 5bafc4f | 2010-09-08 14:07:38 | [diff] [blame] | 1321 | 'target_name': 'ssl_false_start_blacklist_process', |
| 1322 | 'type': 'executable', |
| 1323 | 'toolsets': ['host'], |
| 1324 | 'include_dirs': [ |
| 1325 | '..', |
| 1326 | ], |
| 1327 | 'sources': [ |
| 1328 | 'base/ssl_false_start_blacklist_process.cc', |
| 1329 | ], |
| 1330 | }, |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 1331 | ], |
| 1332 | 'conditions': [ |
[email protected] | b64abf63 | 2010-11-24 10:19:22 | [diff] [blame] | 1333 | ['OS=="linux"', { |
| 1334 | 'targets': [ |
| 1335 | { |
| 1336 | 'target_name': 'flip_in_mem_edsm_server', |
| 1337 | 'type': 'executable', |
| 1338 | 'cflags': [ |
| 1339 | '-Wno-deprecated', |
| 1340 | ], |
| 1341 | 'dependencies': [ |
| 1342 | '../base/base.gyp:base', |
| 1343 | 'net.gyp:net', |
| 1344 | '../third_party/openssl/openssl.gyp:openssl', |
| 1345 | ], |
| 1346 | 'sources': [ |
| 1347 | 'tools/dump_cache/url_to_filename_encoder.cc', |
| 1348 | 'tools/dump_cache/url_to_filename_encoder.h', |
| 1349 | 'tools/dump_cache/url_utilities.h', |
| 1350 | 'tools/dump_cache/url_utilities.cc', |
[email protected] | 918e8ad | 2010-09-30 15:15:52 | [diff] [blame] | 1351 | |
[email protected] | b64abf63 | 2010-11-24 10:19:22 | [diff] [blame] | 1352 | 'tools/flip_server/balsa_enums.h', |
| 1353 | 'tools/flip_server/balsa_frame.cc', |
| 1354 | 'tools/flip_server/balsa_frame.h', |
| 1355 | 'tools/flip_server/balsa_headers.cc', |
| 1356 | 'tools/flip_server/balsa_headers.h', |
| 1357 | 'tools/flip_server/balsa_headers_token_utils.cc', |
| 1358 | 'tools/flip_server/balsa_headers_token_utils.h', |
| 1359 | 'tools/flip_server/balsa_visitor_interface.h', |
| 1360 | 'tools/flip_server/buffer_interface.h', |
| 1361 | 'tools/flip_server/create_listener.cc', |
| 1362 | 'tools/flip_server/create_listener.h', |
| 1363 | 'tools/flip_server/epoll_server.cc', |
| 1364 | 'tools/flip_server/epoll_server.h', |
| 1365 | 'tools/flip_server/flip_in_mem_edsm_server.cc', |
| 1366 | 'tools/flip_server/http_message_constants.cc', |
| 1367 | 'tools/flip_server/http_message_constants.h', |
| 1368 | 'tools/flip_server/loadtime_measurement.h', |
| 1369 | 'tools/flip_server/porting.txt', |
| 1370 | 'tools/flip_server/ring_buffer.cc', |
| 1371 | 'tools/flip_server/ring_buffer.h', |
| 1372 | 'tools/flip_server/simple_buffer.cc', |
| 1373 | 'tools/flip_server/simple_buffer.h', |
| 1374 | 'tools/flip_server/split.h', |
| 1375 | 'tools/flip_server/split.cc', |
| 1376 | 'tools/flip_server/string_piece_utils.h', |
| 1377 | 'tools/flip_server/thread.h', |
| 1378 | 'tools/flip_server/url_to_filename_encoder.h', |
| 1379 | 'tools/flip_server/url_utilities.h', |
| 1380 | ], |
| 1381 | }, |
| 1382 | ] |
| 1383 | }], |
[email protected] | 8f205b0 | 2010-11-10 22:48:17 | [diff] [blame] | 1384 | ['OS=="linux"', { |
| 1385 | 'targets': [ |
| 1386 | { |
| 1387 | 'target_name': 'snap_start_unittests', |
| 1388 | 'type': 'executable', |
| 1389 | 'dependencies': [ |
| 1390 | 'net', |
| 1391 | 'net_test_support', |
| 1392 | 'openssl_helper', |
| 1393 | '../build/linux/system.gyp:nss', |
| 1394 | '../testing/gmock.gyp:gmock', |
| 1395 | '../testing/gtest.gyp:gtest', |
| 1396 | ], |
| 1397 | 'sources': [ |
| 1398 | 'base/run_all_unittests.cc', |
| 1399 | 'socket/ssl_client_socket_snapstart_unittest.cc', |
| 1400 | ] |
| 1401 | }, |
| 1402 | { |
| 1403 | 'target_name': 'openssl_helper', |
| 1404 | 'type': 'executable', |
| 1405 | 'dependencies': [ |
| 1406 | '../third_party/openssl/openssl.gyp:openssl', |
| 1407 | ], |
| 1408 | 'sources': [ |
| 1409 | 'test/openssl_helper.cc', |
| 1410 | ], |
| 1411 | }, |
| 1412 | ], |
| 1413 | }], |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 1414 | ['OS=="win"', { |
| 1415 | 'targets': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1416 | { |
| 1417 | # TODO(port): dump_cache is still Windows-specific. |
| 1418 | 'target_name': 'dump_cache', |
| 1419 | 'type': 'executable', |
| 1420 | 'dependencies': [ |
| 1421 | 'net', |
[email protected] | ad74a59 | 2011-01-21 18:40:55 | [diff] [blame] | 1422 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1423 | '../base/base.gyp:base', |
| 1424 | ], |
| 1425 | 'sources': [ |
[email protected] | c44344e | 2009-09-02 22:05:50 | [diff] [blame] | 1426 | 'tools/dump_cache/cache_dumper.cc', |
| 1427 | 'tools/dump_cache/cache_dumper.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1428 | 'tools/dump_cache/dump_cache.cc', |
| 1429 | 'tools/dump_cache/dump_files.cc', |
| 1430 | 'tools/dump_cache/upgrade.cc', |
[email protected] | 196f286c | 2010-06-07 14:57:17 | [diff] [blame] | 1431 | 'tools/dump_cache/url_to_filename_encoder.cc', |
[email protected] | c44344e | 2009-09-02 22:05:50 | [diff] [blame] | 1432 | 'tools/dump_cache/url_to_filename_encoder.h', |
[email protected] | 8cd1ba5a | 2010-08-17 23:47:23 | [diff] [blame] | 1433 | 'tools/dump_cache/url_utilities.h', |
| 1434 | 'tools/dump_cache/url_utilities.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1435 | ], |
| 1436 | }, |
| 1437 | ], |
| 1438 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1439 | ], |
| 1440 | } |
[email protected] | f5c990c | 2009-10-06 03:02:38 | [diff] [blame] | 1441 | |
| 1442 | # Local Variables: |
| 1443 | # tab-width:2 |
| 1444 | # indent-tabs-mode:nil |
| 1445 | # End: |
| 1446 | # vim: set expandtab tabstop=2 shiftwidth=2: |