[email protected] | e4c029f | 2013-01-20 01:10:24 | [diff] [blame] | 1 | # Copyright 2013 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, |
[email protected] | 6acbd8dd | 2011-08-24 21:19:20 | [diff] [blame] | 8 | 'linux_link_kerberos%': 0, |
| 9 | 'conditions': [ |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 10 | ['chromeos==1 or embedded==1 or OS=="ios"', { |
| 11 | # Disable Kerberos on ChromeOS and iOS, at least for now. |
[email protected] | 6acbd8dd | 2011-08-24 21:19:20 | [diff] [blame] | 12 | # It needs configuration (krb5.conf and so on). |
| 13 | 'use_kerberos%': 0, |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 14 | }, { # chromeos == 0 and embedded==0 and OS!="ios" |
[email protected] | 6acbd8dd | 2011-08-24 21:19:20 | [diff] [blame] | 15 | 'use_kerberos%': 1, |
| 16 | }], |
[email protected] | 7b265e8d | 2013-02-20 20:35:45 | [diff] [blame] | 17 | ['OS=="android" and target_arch != "ia32"', { |
[email protected] | 9e079cb | 2012-06-26 13:38:02 | [diff] [blame] | 18 | # The way the cache uses mmap() is inefficient on some Android devices. |
| 19 | # If this flag is set, we hackily avoid using mmap() in the disk cache. |
[email protected] | 7b265e8d | 2013-02-20 20:35:45 | [diff] [blame] | 20 | # We are pretty confident that mmap-ing the index would not hurt any |
| 21 | # existing x86 android devices, but we cannot be so sure about the |
| 22 | # variety of ARM devices. So enable it for x86 only for now. |
[email protected] | 9e079cb | 2012-06-26 13:38:02 | [diff] [blame] | 23 | 'posix_avoid_mmap%': 1, |
| 24 | }, { |
| 25 | 'posix_avoid_mmap%': 0, |
| 26 | }], |
[email protected] | fe380ae | 2012-08-30 10:05:51 | [diff] [blame] | 27 | ['OS=="ios"', { |
| 28 | # Websockets and socket stream are not used on iOS. |
| 29 | 'enable_websockets%': 0, |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 30 | # iOS does not use V8. |
| 31 | 'use_v8_in_net%': 0, |
[email protected] | 33c81486 | 2012-09-18 15:16:03 | [diff] [blame] | 32 | 'enable_built_in_dns%': 0, |
[email protected] | fe380ae | 2012-08-30 10:05:51 | [diff] [blame] | 33 | }, { |
| 34 | 'enable_websockets%': 1, |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 35 | 'use_v8_in_net%': 1, |
[email protected] | 33c81486 | 2012-09-18 15:16:03 | [diff] [blame] | 36 | 'enable_built_in_dns%': 1, |
[email protected] | fe380ae | 2012-08-30 10:05:51 | [diff] [blame] | 37 | }], |
[email protected] | 6acbd8dd | 2011-08-24 21:19:20 | [diff] [blame] | 38 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 39 | }, |
[email protected] | 99ff993 | 2011-09-07 14:14:54 | [diff] [blame] | 40 | 'includes': [ |
| 41 | '../build/win_precompile.gypi', |
[email protected] | 18f84065 | 2014-04-10 20:31:37 | [diff] [blame] | 42 | 'net.gypi', |
[email protected] | 99ff993 | 2011-09-07 14:14:54 | [diff] [blame] | 43 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 44 | 'targets': [ |
| 45 | { |
[email protected] | d7f0449 | 2014-05-13 07:01:34 | [diff] [blame] | 46 | 'target_name': 'net_derived_sources', |
| 47 | 'type': 'none', |
| 48 | 'sources': [ |
| 49 | 'base/registry_controlled_domains/effective_tld_names.gperf', |
| 50 | 'base/registry_controlled_domains/effective_tld_names_unittest1.gperf', |
| 51 | 'base/registry_controlled_domains/effective_tld_names_unittest2.gperf', |
| 52 | 'base/registry_controlled_domains/effective_tld_names_unittest3.gperf', |
| 53 | 'base/registry_controlled_domains/effective_tld_names_unittest4.gperf', |
| 54 | 'base/registry_controlled_domains/effective_tld_names_unittest5.gperf', |
| 55 | 'base/registry_controlled_domains/effective_tld_names_unittest6.gperf', |
| 56 | ], |
| 57 | 'rules': [ |
| 58 | { |
| 59 | 'rule_name': 'dafsa', |
| 60 | 'extension': 'gperf', |
| 61 | 'outputs': [ |
| 62 | '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc', |
| 63 | ], |
| 64 | 'inputs': [ |
| 65 | 'tools/tld_cleanup/make_dafsa.py', |
| 66 | ], |
| 67 | 'action': [ |
| 68 | 'python', |
| 69 | 'tools/tld_cleanup/make_dafsa.py', |
| 70 | '<(RULE_INPUT_PATH)', |
| 71 | '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc', |
| 72 | ], |
| 73 | }, |
| 74 | ], |
| 75 | 'direct_dependent_settings': { |
| 76 | 'include_dirs': [ |
| 77 | '<(SHARED_INTERMEDIATE_DIR)' |
| 78 | ], |
| 79 | }, |
| 80 | }, |
| 81 | { |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 82 | # Protobuf compiler / generator for QUIC crypto protocol buffer. |
| 83 | # GN version: //net/quic/proto |
| 84 | 'target_name': 'net_quic_proto', |
| 85 | 'type': 'static_library', |
| 86 | 'sources': [ |
| 87 | 'quic/proto/cached_network_parameters.proto', |
| 88 | 'quic/proto/source_address_token.proto', |
| 89 | ], |
| 90 | 'variables': { |
| 91 | 'enable_wexit_time_destructors': 1, |
| 92 | 'proto_in_dir': 'quic/proto', |
| 93 | 'proto_out_dir': 'net/quic/proto', |
| 94 | 'cc_generator_options': 'dllexport_decl=NET_EXPORT_PRIVATE:', |
| 95 | 'cc_include': 'net/base/net_export.h', |
| 96 | }, |
| 97 | 'includes': [ |
| 98 | '../build/protoc.gypi', |
| 99 | ], |
| 100 | 'defines': [ |
| 101 | 'NET_IMPLEMENTATION', |
| 102 | ], |
| 103 | }, |
| 104 | { |
brettw | 690c9667 | 2015-04-21 16:19:54 | [diff] [blame] | 105 | # GN version: //net |
[email protected] | 8858a11f4 | 2011-05-04 17:55:53 | [diff] [blame] | 106 | 'target_name': 'net', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 107 | 'dependencies': [ |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 108 | '../base/base.gyp:base_i18n', |
[email protected] | 28062949 | 2009-09-09 06:49:08 | [diff] [blame] | 109 | '../third_party/icu/icu.gyp:icui18n', |
| 110 | '../third_party/icu/icu.gyp:icuuc', |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 111 | '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 112 | '../url/url.gyp:url_lib', |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 113 | 'net_quic_proto', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 114 | ], |
| 115 | 'sources': [ |
mef | dc8e94b | 2015-03-11 19:49:05 | [diff] [blame] | 116 | 'base/filename_util_icu.cc', |
| 117 | 'base/net_string_util_icu.cc', |
| 118 | 'base/net_util_icu.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 119 | ], |
mef | dc8e94b | 2015-03-11 19:49:05 | [diff] [blame] | 120 | 'includes': [ 'net_common.gypi' ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 121 | }, |
| 122 | { |
brettw | 690c9667 | 2015-04-21 16:19:54 | [diff] [blame] | 123 | # GN version: //net:net_unittests |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 124 | 'target_name': 'net_unittests', |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 125 | 'type': '<(gtest_target_type)', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 126 | 'dependencies': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 127 | '../base/base.gyp:base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 128 | '../base/base.gyp:base_i18n', |
[email protected] | ad66db1 | 2014-07-10 12:43:47 | [diff] [blame] | 129 | '../base/base.gyp:base_prefs_test_support', |
[email protected] | 67875f51 | 2011-05-21 00:18:30 | [diff] [blame] | 130 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 828a7a81 | 2012-09-05 10:12:35 | [diff] [blame] | 131 | '../crypto/crypto.gyp:crypto', |
[email protected] | 190933f | 2014-07-28 09:56:51 | [diff] [blame] | 132 | '../crypto/crypto.gyp:crypto_test_support', |
[email protected] | 06489a01 | 2009-12-10 08:12:54 | [diff] [blame] | 133 | '../testing/gmock.gyp:gmock', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 134 | '../testing/gtest.gyp:gtest', |
[email protected] | e86aaca | 2009-08-12 17:58:57 | [diff] [blame] | 135 | '../third_party/zlib/zlib.gyp:zlib', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 136 | '../url/url.gyp:url_lib', |
[email protected] | 8f659420 | 2014-06-11 14:44:25 | [diff] [blame] | 137 | 'balsa', |
[email protected] | c700fd15 | 2013-07-23 21:29:11 | [diff] [blame] | 138 | 'http_server', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 139 | 'net', |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 140 | 'net_quic_proto', |
[email protected] | d7f0449 | 2014-05-13 07:01:34 | [diff] [blame] | 141 | 'net_derived_sources', |
mef | 327a8e4 | 2014-08-29 17:10:03 | [diff] [blame] | 142 | 'net_extras', |
[email protected] | d7f0449 | 2014-05-13 07:01:34 | [diff] [blame] | 143 | 'net_test_support', |
rch | a6d42cd | 2015-03-22 05:13:58 | [diff] [blame] | 144 | 'simple_quic_tools', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 145 | ], |
| 146 | 'sources': [ |
[email protected] | 7f8afda | 2014-04-12 05:18:55 | [diff] [blame] | 147 | '<@(net_test_sources)', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 148 | ], |
| 149 | 'conditions': [ |
[email protected] | 453cdac1 | 2013-07-23 14:53:58 | [diff] [blame] | 150 | ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
| 151 | 'dependencies': [ |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 152 | 'epoll_quic_tools', |
[email protected] | 6c7e652 | 2013-09-29 15:27:44 | [diff] [blame] | 153 | 'epoll_server', |
| 154 | 'flip_in_mem_edsm_server_base', |
[email protected] | 453cdac1 | 2013-07-23 14:53:58 | [diff] [blame] | 155 | ], |
| 156 | 'sources': [ |
[email protected] | 7f8afda | 2014-04-12 05:18:55 | [diff] [blame] | 157 | '<@(net_linux_test_sources)', |
[email protected] | 453cdac1 | 2013-07-23 14:53:58 | [diff] [blame] | 158 | ], |
| 159 | }], |
erikchen | 006a7cf | 2014-12-03 22:27:11 | [diff] [blame] | 160 | ['OS == "mac" or OS == "ios"', { |
| 161 | 'sources': [ |
| 162 | '<@(net_base_test_mac_ios_sources)', |
| 163 | ], |
| 164 | }], |
[email protected] | f50278cd | 2010-08-24 17:34:08 | [diff] [blame] | 165 | ['chromeos==1', { |
| 166 | 'sources!': [ |
[email protected] | fcd1e76 | 2012-07-11 14:43:50 | [diff] [blame] | 167 | 'proxy/proxy_config_service_linux_unittest.cc', |
[email protected] | f50278cd | 2010-08-24 17:34:08 | [diff] [blame] | 168 | ], |
| 169 | }], |
[email protected] | 2e53058 | 2012-10-20 00:28:35 | [diff] [blame] | 170 | [ 'OS == "android"', { |
| 171 | 'sources!': [ |
[email protected] | 8fddf1d | 2014-03-27 18:08:06 | [diff] [blame] | 172 | # See bug http://crbug.com/344533. |
| 173 | 'disk_cache/blockfile/index_table_v3_unittest.cc', |
[email protected] | 2e53058 | 2012-10-20 00:28:35 | [diff] [blame] | 174 | ], |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 175 | 'dependencies': [ |
| 176 | 'net_javatests', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 177 | ], |
[email protected] | 2e53058 | 2012-10-20 00:28:35 | [diff] [blame] | 178 | }], |
davidben | 0ee13e37 | 2015-04-16 23:23:10 | [diff] [blame] | 179 | [ 'use_nss_certs != 1', { |
[email protected] | 5482ef9e | 2013-12-11 04:27:43 | [diff] [blame] | 180 | 'sources!': [ |
davidben | 2bcbc6b | 2015-04-22 02:36:41 | [diff] [blame] | 181 | 'cert/nss_cert_database_unittest.cc', |
| 182 | 'cert/nss_cert_database_chromeos_unittest.cc', |
| 183 | 'cert/nss_profile_filter_chromeos_unittest.cc', |
satorux | dd0840d3 | 2015-02-12 19:10:26 | [diff] [blame] | 184 | 'ssl/client_cert_store_nss_unittest.cc', |
[email protected] | 5482ef9e | 2013-12-11 04:27:43 | [diff] [blame] | 185 | ], |
| 186 | }], |
[email protected] | 1279de1 | 2013-12-03 15:13:32 | [diff] [blame] | 187 | [ 'use_openssl == 1', { |
| 188 | # Avoid compiling/linking with the system library. |
| 189 | 'dependencies': [ |
[email protected] | edfd0f4 | 2014-07-22 18:20:37 | [diff] [blame] | 190 | '../third_party/boringssl/boringssl.gyp:boringssl', |
[email protected] | 1279de1 | 2013-12-03 15:13:32 | [diff] [blame] | 191 | ], |
davidben | 2bcbc6b | 2015-04-22 02:36:41 | [diff] [blame] | 192 | }], |
| 193 | [ 'use_nss_certs == 1 or OS == "ios" or use_openssl == 0', { |
[email protected] | 1279de1 | 2013-12-03 15:13:32 | [diff] [blame] | 194 | 'conditions': [ |
| 195 | [ 'desktop_linux == 1 or chromeos == 1', { |
| 196 | 'dependencies': [ |
| 197 | '../build/linux/system.gyp:ssl', |
| 198 | ], |
| 199 | }, { # desktop_linux == 0 and chromeos == 0 |
davidben | 15d69d48 | 2014-09-29 18:24:08 | [diff] [blame] | 200 | 'dependencies': [ |
| 201 | '../third_party/nss/nss.gyp:nspr', |
| 202 | '../third_party/nss/nss.gyp:nss', |
| 203 | 'third_party/nss/ssl.gyp:libssl', |
| 204 | ], |
[email protected] | 1279de1 | 2013-12-03 15:13:32 | [diff] [blame] | 205 | }], |
| 206 | ], |
| 207 | }], |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 208 | [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
[email protected] | d9df2b5 | 2009-12-10 12:06:15 | [diff] [blame] | 209 | 'conditions': [ |
[email protected] | 2fa89ef | 2014-05-07 18:45:59 | [diff] [blame] | 210 | ['use_allocator!="none"', { |
[email protected] | d9df2b5 | 2009-12-10 12:06:15 | [diff] [blame] | 211 | 'dependencies': [ |
| 212 | '../base/allocator/allocator.gyp:allocator', |
| 213 | ], |
| 214 | }], |
| 215 | ], |
| 216 | }], |
[email protected] | 9c210d9 | 2011-08-15 17:34:01 | [diff] [blame] | 217 | [ 'use_kerberos==1', { |
| 218 | 'defines': [ |
| 219 | 'USE_KERBEROS', |
| 220 | ], |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 221 | }], |
| 222 | [ 'use_kerberos==0 or OS == "android"', { |
| 223 | # These are excluded on Android, because the actual Kerberos support, |
| 224 | # which these test, is in a separate app on Android. |
[email protected] | 9c210d9 | 2011-08-15 17:34:01 | [diff] [blame] | 225 | 'sources!': [ |
| 226 | 'http/http_auth_gssapi_posix_unittest.cc', |
[email protected] | 9c210d9 | 2011-08-15 17:34:01 | [diff] [blame] | 227 | 'http/mock_gssapi_library_posix.cc', |
| 228 | 'http/mock_gssapi_library_posix.h', |
| 229 | ], |
| 230 | }], |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 231 | [ 'use_kerberos==0', { |
| 232 | 'sources!': [ |
| 233 | 'http/http_auth_handler_negotiate_unittest.cc', |
| 234 | ], |
| 235 | }], |
[email protected] | b098e1d8 | 2013-11-08 06:24:58 | [diff] [blame] | 236 | [ 'use_openssl == 1 or (desktop_linux == 0 and chromeos == 0 and OS != "ios")', { |
[email protected] | b3270fe | 2013-05-24 06:34:55 | [diff] [blame] | 237 | # Only include this test when on Posix and using NSS for |
| 238 | # cert verification or on iOS (which also uses NSS for certs). |
| 239 | 'sources!': [ |
eroman | ed744f3 | 2015-04-09 06:35:49 | [diff] [blame] | 240 | 'cert_net/nss_ocsp_unittest.cc', |
[email protected] | b3270fe | 2013-05-24 06:34:55 | [diff] [blame] | 241 | ], |
| 242 | }], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 243 | [ 'use_openssl==1', { |
[email protected] | f5c82e8 | 2013-11-19 04:23:10 | [diff] [blame] | 244 | # When building for OpenSSL, we need to exclude NSS specific tests |
| 245 | # or functionality not supported by OpenSSL yet. |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 246 | # TODO(bulach): Add equivalent tests when the underlying |
| 247 | # functionality is ported to OpenSSL. |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 248 | 'sources!': [ |
[email protected] | 6e7845ae | 2013-03-29 21:48:11 | [diff] [blame] | 249 | 'cert/x509_util_nss_unittest.cc', |
[email protected] | b06431078 | 2013-05-30 21:12:17 | [diff] [blame] | 250 | 'quic/test_tools/crypto_test_utils_nss.cc', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 251 | ], |
davidben | 15d69d48 | 2014-09-29 18:24:08 | [diff] [blame] | 252 | }, { # else !use_openssl: remove the unneeded files and pull in NSS. |
[email protected] | 3c5f6db | 2011-10-18 01:47:04 | [diff] [blame] | 253 | 'sources!': [ |
[email protected] | 6e7845ae | 2013-03-29 21:48:11 | [diff] [blame] | 254 | 'cert/x509_util_openssl_unittest.cc', |
[email protected] | b06431078 | 2013-05-30 21:12:17 | [diff] [blame] | 255 | 'quic/test_tools/crypto_test_utils_openssl.cc', |
[email protected] | ede323ea | 2013-03-02 22:54:41 | [diff] [blame] | 256 | 'socket/ssl_client_socket_openssl_unittest.cc', |
davidben | dafe4e5 | 2015-04-08 22:53:52 | [diff] [blame] | 257 | 'ssl/ssl_client_session_cache_openssl_unittest.cc', |
[email protected] | 3c5f6db | 2011-10-18 01:47:04 | [diff] [blame] | 258 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 259 | }, |
| 260 | ], |
[email protected] | e1b2d73 | 2014-03-28 16:20:32 | [diff] [blame] | 261 | [ 'use_openssl_certs == 0', { |
| 262 | 'sources!': [ |
| 263 | 'ssl/openssl_client_key_store_unittest.cc', |
| 264 | ], |
| 265 | }], |
[email protected] | fe380ae | 2012-08-30 10:05:51 | [diff] [blame] | 266 | [ 'enable_websockets != 1', { |
| 267 | 'sources/': [ |
[email protected] | fe380ae | 2012-08-30 10:05:51 | [diff] [blame] | 268 | ['exclude', '^websockets/'], |
dgozman | a6e7009 | 2014-12-12 14:46:21 | [diff] [blame] | 269 | ['exclude', '^server/'], |
| 270 | ], |
| 271 | 'dependencies!': [ |
| 272 | 'http_server', |
[email protected] | fe380ae | 2012-08-30 10:05:51 | [diff] [blame] | 273 | ], |
| 274 | }], |
[email protected] | 02494ec | 2014-05-07 15:05:29 | [diff] [blame] | 275 | ['disable_file_support==1', { |
| 276 | 'sources!': [ |
| 277 | 'base/directory_lister_unittest.cc', |
| 278 | 'url_request/url_request_file_job_unittest.cc', |
| 279 | ], |
| 280 | }], |
[email protected] | 9bfe0ab | 2012-08-30 13:18:11 | [diff] [blame] | 281 | [ 'disable_ftp_support==1', { |
| 282 | 'sources/': [ |
| 283 | ['exclude', '^ftp/'], |
| 284 | ], |
| 285 | 'sources!': [ |
| 286 | 'url_request/url_request_ftp_job_unittest.cc', |
| 287 | ], |
| 288 | }, |
| 289 | ], |
[email protected] | 33c81486 | 2012-09-18 15:16:03 | [diff] [blame] | 290 | [ 'enable_built_in_dns!=1', { |
| 291 | 'sources!': [ |
| 292 | 'dns/address_sorter_posix_unittest.cc', |
| 293 | 'dns/address_sorter_unittest.cc', |
| 294 | ], |
| 295 | }, |
| 296 | ], |
xunjieli | 729cd1f7 | 2015-08-31 21:26:50 | [diff] [blame] | 297 | [ 'use_v8_in_net==1', { |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 298 | 'dependencies': [ |
| 299 | 'net_with_v8', |
| 300 | ], |
| 301 | }, { # else: !use_v8_in_net |
| 302 | 'sources!': [ |
[email protected] | 501e2d4 | 2013-01-30 22:30:49 | [diff] [blame] | 303 | 'proxy/proxy_resolver_v8_tracing_unittest.cc', |
sammc | f2d1ea0 | 2015-06-29 02:58:47 | [diff] [blame] | 304 | 'proxy/proxy_resolver_v8_tracing_wrapper_unittest.cc', |
satorux | dd0840d3 | 2015-02-12 19:10:26 | [diff] [blame] | 305 | 'proxy/proxy_resolver_v8_unittest.cc', |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 306 | ], |
| 307 | }, |
| 308 | ], |
[email protected] | 4e09d24 | 2013-05-02 03:19:35 | [diff] [blame] | 309 | |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 310 | [ 'use_v8_in_net==1 and OS != "android"', { |
| 311 | 'dependencies': [ |
| 312 | 'net_with_v8', |
| 313 | 'net_browser_services', |
sammc | 5403aa1d | 2015-02-25 04:59:21 | [diff] [blame] | 314 | 'net_utility_services', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 315 | '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', |
| 316 | ], |
| 317 | }, { # else |
| 318 | 'sources!': [ |
sammc | 6ac3fe5 | 2015-02-25 06:00:28 | [diff] [blame] | 319 | 'dns/host_resolver_mojo_unittest.cc', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 320 | 'dns/mojo_host_resolver_impl_unittest.cc', |
sammc | 352f749 | 2015-02-25 09:45:24 | [diff] [blame] | 321 | 'proxy/mojo_proxy_resolver_factory_impl_unittest.cc', |
sammc | 5403aa1d | 2015-02-25 04:59:21 | [diff] [blame] | 322 | 'proxy/mojo_proxy_resolver_impl_unittest.cc', |
sammc | a3242c9 | 2015-07-10 02:38:51 | [diff] [blame] | 323 | 'proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc', |
eroman | dcacef2 | 2015-06-01 19:36:35 | [diff] [blame] | 324 | 'proxy/proxy_resolver_factory_mojo_unittest.cc', |
amistry | 6e1ed1b | 2015-03-12 05:24:01 | [diff] [blame] | 325 | 'proxy/proxy_service_mojo_unittest.cc', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 326 | ], |
| 327 | }, |
| 328 | ], |
| 329 | |
[email protected] | 4e09d24 | 2013-05-02 03:19:35 | [diff] [blame] | 330 | [ 'enable_mdns != 1', { |
| 331 | 'sources!' : [ |
[email protected] | f6a9add | 2013-05-23 00:56:36 | [diff] [blame] | 332 | 'dns/mdns_cache_unittest.cc', |
[email protected] | 245b164e | 2013-06-13 22:31:42 | [diff] [blame] | 333 | 'dns/mdns_client_unittest.cc', |
| 334 | 'dns/mdns_query_unittest.cc', |
[email protected] | 4e09d24 | 2013-05-02 03:19:35 | [diff] [blame] | 335 | 'dns/record_parsed_unittest.cc', |
| 336 | 'dns/record_rdata_unittest.cc', |
| 337 | ], |
| 338 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 339 | [ 'OS == "win"', { |
[email protected] | 8372717 | 2010-06-04 17:58:08 | [diff] [blame] | 340 | 'sources!': [ |
[email protected] | d84316a | 2011-08-18 04:41:21 | [diff] [blame] | 341 | 'dns/dns_config_service_posix_unittest.cc', |
[email protected] | 8372717 | 2010-06-04 17:58:08 | [diff] [blame] | 342 | 'http/http_auth_gssapi_posix_unittest.cc', |
| 343 | ], |
davidben | 1b53bf6ea | 2014-11-05 22:38:41 | [diff] [blame] | 344 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 345 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | 27be506 | 2014-01-24 01:00:41 | [diff] [blame] | 346 | 'conditions': [ |
| 347 | [ 'icu_use_data_file_flag == 0', { |
| 348 | # This is needed to trigger the dll copy step on windows. |
| 349 | # TODO(mark): Specifying this here shouldn't be necessary. |
| 350 | 'dependencies': [ |
| 351 | '../third_party/icu/icu.gyp:icudata', |
| 352 | ], |
| 353 | }], |
| 354 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 355 | }, |
| 356 | ], |
[email protected] | d415895 | 2012-09-18 09:04:33 | [diff] [blame] | 357 | [ 'OS == "ios"', { |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 358 | 'actions': [ |
| 359 | { |
| 360 | 'action_name': 'copy_test_data', |
| 361 | 'variables': { |
| 362 | 'test_data_files': [ |
| 363 | 'data/ssl/certificates/', |
[email protected] | 938347e | 2013-05-20 16:45:38 | [diff] [blame] | 364 | 'data/test.html', |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 365 | 'data/url_request_unittest/', |
mattm | 057b015 | 2015-08-11 00:26:24 | [diff] [blame] | 366 | 'data/verify_name_match_unittest/names/', |
eroman | 58423c1 | 2015-08-14 20:47:36 | [diff] [blame] | 367 | 'data/parse_certificate_unittest/', |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 368 | ], |
| 369 | 'test_data_prefix': 'net', |
| 370 | }, |
| 371 | 'includes': [ '../build/copy_test_data_ios.gypi' ], |
| 372 | }, |
| 373 | ], |
| 374 | 'sources!': [ |
| 375 | # TODO(droger): The following tests are disabled because the |
| 376 | # implementation is missing or incomplete. |
| 377 | # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. |
| 378 | 'base/keygen_handler_unittest.cc', |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 379 | 'disk_cache/backend_unittest.cc', |
[email protected] | 80422f32 | 2014-03-03 20:28:14 | [diff] [blame] | 380 | 'disk_cache/blockfile/block_files_unittest.cc', |
[email protected] | ed60cb3 | 2014-02-04 00:57:28 | [diff] [blame] | 381 | # Need to read input data files. |
| 382 | 'filter/gzip_filter_unittest.cc', |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 383 | # Need TestServer. |
eroman | 0fad62b | 2015-04-08 18:54:11 | [diff] [blame] | 384 | "cert_net/cert_net_fetcher_impl_unittest.cc", |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 385 | 'proxy/proxy_script_fetcher_impl_unittest.cc', |
| 386 | 'socket/ssl_client_socket_unittest.cc', |
satorux | eef164ef | 2015-02-16 01:39:34 | [diff] [blame] | 387 | 'socket/ssl_server_socket_unittest.cc', |
| 388 | 'spdy/fuzzing/hpack_fuzz_util_test.cc', |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 389 | # Needs GetAppOutput(). |
| 390 | 'test/python_utils_unittest.cc', |
satorux | eef164ef | 2015-02-16 01:39:34 | [diff] [blame] | 391 | 'url_request/url_fetcher_impl_unittest.cc', |
| 392 | 'url_request/url_request_context_builder_unittest.cc', |
[email protected] | a414acf9 | 2012-10-02 11:25:57 | [diff] [blame] | 393 | |
| 394 | # The following tests are disabled because they don't apply to |
| 395 | # iOS. |
| 396 | # OS is not "linux" or "freebsd" or "openbsd". |
[email protected] | 518c63a | 2014-07-24 03:51:23 | [diff] [blame] | 397 | 'socket/unix_domain_client_socket_posix_unittest.cc', |
[email protected] | 518c63a | 2014-07-24 03:51:23 | [diff] [blame] | 398 | 'socket/unix_domain_server_socket_posix_unittest.cc', |
[email protected] | df53da8 | 2014-02-18 22:27:17 | [diff] [blame] | 399 | |
[email protected] | 8fddf1d | 2014-03-27 18:08:06 | [diff] [blame] | 400 | # See bug http://crbug.com/344533. |
| 401 | 'disk_cache/blockfile/index_table_v3_unittest.cc', |
[email protected] | d415895 | 2012-09-18 09:04:33 | [diff] [blame] | 402 | ], |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 403 | }], |
[email protected] | 87a8085 | 2014-05-17 16:09:58 | [diff] [blame] | 404 | ['OS == "android"', { |
[email protected] | 5ecf7cb28 | 2014-05-11 01:49:55 | [diff] [blame] | 405 | # TODO(mmenke): This depends on test_support_base, which depends on |
| 406 | # icu. Figure out a way to remove that dependency. |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 407 | 'dependencies': [ |
| 408 | '../testing/android/native_test.gyp:native_test_native_code', |
[email protected] | b397b06 | 2012-06-26 19:33:28 | [diff] [blame] | 409 | ] |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 410 | }], |
rmcilroy | ffe89b4 | 2015-04-10 11:00:15 | [diff] [blame] | 411 | ['use_v8_in_net==1 and v8_use_external_startup_data==1', { |
baixo | 3a3c88a | 2014-10-28 11:52:21 | [diff] [blame] | 412 | 'dependencies': [ |
| 413 | '../gin/gin.gyp:gin', |
| 414 | ] |
| 415 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 416 | ], |
[email protected] | b1874a878 | 2014-02-10 21:36:25 | [diff] [blame] | 417 | 'target_conditions': [ |
| 418 | # These source files are excluded by default platform rules, but they |
| 419 | # are needed in specific cases on other platforms. Re-including them can |
| 420 | # only be done in target_conditions as it is evaluated after the |
| 421 | # platform rules. |
| 422 | ['OS == "android"', { |
| 423 | 'sources/': [ |
| 424 | ['include', '^base/address_tracker_linux_unittest\\.cc$'], |
| 425 | ], |
| 426 | }], |
droger | f83b9126 | 2015-03-05 19:45:19 | [diff] [blame] | 427 | ['OS == "ios"', { |
| 428 | 'sources/': [ |
| 429 | ['include', '^base/mac/url_conversions_unittest\\.mm$'], |
| 430 | ], |
| 431 | }], |
[email protected] | b1874a878 | 2014-02-10 21:36:25 | [diff] [blame] | 432 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 433 | }, |
| 434 | { |
| 435 | 'target_name': 'net_perftests', |
| 436 | 'type': 'executable', |
| 437 | 'dependencies': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 438 | '../base/base.gyp:base', |
[email protected] | d34d79f | 2009-10-14 22:06:14 | [diff] [blame] | 439 | '../base/base.gyp:base_i18n', |
[email protected] | 7d1ba939 | 2009-08-03 18:35:06 | [diff] [blame] | 440 | '../base/base.gyp:test_support_perf', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 441 | '../testing/gtest.gyp:gtest', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 442 | '../url/url.gyp:url_lib', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 443 | 'net', |
rohitrao | 1860223c | 2015-05-16 01:07:14 | [diff] [blame] | 444 | 'net_extras', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 445 | 'net_test_support', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 446 | ], |
| 447 | 'sources': [ |
ricea | 10eb9f5e | 2015-05-19 18:51:57 | [diff] [blame] | 448 | 'base/mime_sniffer_perftest.cc', |
[email protected] | 63ee33bd | 2012-03-15 09:29:58 | [diff] [blame] | 449 | 'cookies/cookie_monster_perftest.cc', |
[email protected] | c2c5cfc | 2014-03-03 16:35:28 | [diff] [blame] | 450 | 'disk_cache/blockfile/disk_cache_perftest.cc', |
rohitrao | 1860223c | 2015-05-16 01:07:14 | [diff] [blame] | 451 | 'extras/sqlite/sqlite_persistent_cookie_store_perftest.cc', |
[email protected] | 448cfef8 | 2009-03-06 01:44:33 | [diff] [blame] | 452 | 'proxy/proxy_resolver_perftest.cc', |
hclam | 5a5ee68 | 2015-02-05 04:18:22 | [diff] [blame] | 453 | 'udp/udp_socket_perftest.cc', |
ricea | b2ab006 | 2014-09-01 09:59:59 | [diff] [blame] | 454 | 'websockets/websocket_frame_perftest.cc', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 455 | ], |
| 456 | 'conditions': [ |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 457 | [ 'use_v8_in_net==1', { |
| 458 | 'dependencies': [ |
| 459 | 'net_with_v8', |
| 460 | ], |
| 461 | }, { # else: !use_v8_in_net |
| 462 | 'sources!': [ |
| 463 | 'proxy/proxy_resolver_perftest.cc', |
| 464 | ], |
| 465 | }, |
| 466 | ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 467 | [ 'OS == "win"', { |
[email protected] | 27be506 | 2014-01-24 01:00:41 | [diff] [blame] | 468 | 'conditions': [ |
| 469 | [ 'icu_use_data_file_flag == 0', { |
| 470 | # This is needed to trigger the dll copy step on windows. |
| 471 | # TODO(mark): Specifying this here shouldn't be necessary. |
| 472 | 'dependencies': [ |
| 473 | '../third_party/icu/icu.gyp:icudata', |
| 474 | ], |
| 475 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 476 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 477 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 478 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | 27be506 | 2014-01-24 01:00:41 | [diff] [blame] | 479 | }], |
ricea | b2ab006 | 2014-09-01 09:59:59 | [diff] [blame] | 480 | [ 'enable_websockets != 1', { |
| 481 | 'sources!': [ |
| 482 | 'websockets/websocket_frame_perftest.cc', |
| 483 | ], |
| 484 | }], |
[email protected] | f9ff629f | 2010-09-03 23:54:36 | [diff] [blame] | 485 | ], |
| 486 | }, |
| 487 | { |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 488 | 'target_name': 'net_test_support', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 489 | 'type': 'static_library', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 490 | 'dependencies': [ |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 491 | '../base/base.gyp:base', |
[email protected] | 5f38d71 | 2010-10-26 06:46:59 | [diff] [blame] | 492 | '../base/base.gyp:test_support_base', |
Nico Weber | ab309030 | 2015-01-19 06:14:43 | [diff] [blame] | 493 | '../crypto/crypto.gyp:crypto', |
[email protected] | ed32c21 | 2013-05-14 20:49:29 | [diff] [blame] | 494 | '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util', |
[email protected] | ff007e16 | 2009-05-23 09:13:15 | [diff] [blame] | 495 | '../testing/gtest.gyp:gtest', |
[email protected] | f22f316b | 2013-06-21 05:26:18 | [diff] [blame] | 496 | '../testing/gmock.gyp:gmock', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 497 | '../url/url.gyp:url_lib', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 498 | 'net', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 499 | ], |
[email protected] | 4473860 | 2012-03-02 22:56:01 | [diff] [blame] | 500 | 'export_dependent_settings': [ |
| 501 | '../base/base.gyp:base', |
[email protected] | 5ecf7cb28 | 2014-05-11 01:49:55 | [diff] [blame] | 502 | # TODO(mmenke): This depends on icu, figure out a way to build tests |
| 503 | # without icu. |
[email protected] | 4473860 | 2012-03-02 22:56:01 | [diff] [blame] | 504 | '../base/base.gyp:test_support_base', |
davidben | 85bad9e | 2015-05-11 20:20:10 | [diff] [blame] | 505 | '../crypto/crypto.gyp:crypto', |
[email protected] | 4473860 | 2012-03-02 22:56:01 | [diff] [blame] | 506 | '../testing/gtest.gyp:gtest', |
[email protected] | f22f316b | 2013-06-21 05:26:18 | [diff] [blame] | 507 | '../testing/gmock.gyp:gmock', |
[email protected] | 4473860 | 2012-03-02 22:56:01 | [diff] [blame] | 508 | ], |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 509 | 'sources': [ |
[email protected] | b258e079 | 2013-01-12 07:11:59 | [diff] [blame] | 510 | 'base/load_timing_info_test_util.cc', |
| 511 | 'base/load_timing_info_test_util.h', |
[email protected] | 47a881b | 2011-08-29 22:59:21 | [diff] [blame] | 512 | 'base/mock_file_stream.cc', |
| 513 | 'base/mock_file_stream.h', |
[email protected] | ad74a59 | 2011-01-21 18:40:55 | [diff] [blame] | 514 | 'base/test_completion_callback.cc', |
| 515 | 'base/test_completion_callback.h', |
[email protected] | 42fdb45 | 2012-11-01 12:44:40 | [diff] [blame] | 516 | 'base/test_data_directory.cc', |
| 517 | 'base/test_data_directory.h', |
[email protected] | 6e7845ae | 2013-03-29 21:48:11 | [diff] [blame] | 518 | 'cert/mock_cert_verifier.cc', |
| 519 | 'cert/mock_cert_verifier.h', |
[email protected] | 63ee33bd | 2012-03-15 09:29:58 | [diff] [blame] | 520 | 'cookies/cookie_monster_store_test.cc', |
| 521 | 'cookies/cookie_monster_store_test.h', |
| 522 | 'cookies/cookie_store_test_callbacks.cc', |
| 523 | 'cookies/cookie_store_test_callbacks.h', |
| 524 | 'cookies/cookie_store_test_helpers.cc', |
| 525 | 'cookies/cookie_store_test_helpers.h', |
[email protected] | 79b3fec | 2011-11-15 22:33:47 | [diff] [blame] | 526 | 'disk_cache/disk_cache_test_base.cc', |
| 527 | 'disk_cache/disk_cache_test_base.h', |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 528 | 'disk_cache/disk_cache_test_util.cc', |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 529 | 'disk_cache/disk_cache_test_util.h', |
[email protected] | 78eac2a | 2012-03-14 19:09:27 | [diff] [blame] | 530 | 'dns/dns_test_util.cc', |
[email protected] | 4b0112ab | 2011-07-22 15:58:20 | [diff] [blame] | 531 | 'dns/dns_test_util.h', |
[email protected] | f2cb3cf | 2013-03-21 01:40:53 | [diff] [blame] | 532 | 'dns/mock_host_resolver.cc', |
| 533 | 'dns/mock_host_resolver.h', |
[email protected] | f22f316b | 2013-06-21 05:26:18 | [diff] [blame] | 534 | 'dns/mock_mdns_socket_factory.cc', |
| 535 | 'dns/mock_mdns_socket_factory.h', |
[email protected] | c41737d | 2014-05-14 07:47:19 | [diff] [blame] | 536 | 'http/http_transaction_test_util.cc', |
| 537 | 'http/http_transaction_test_util.h', |
vishal.b | 62985ca9 | 2015-04-17 08:45:51 | [diff] [blame] | 538 | 'log/test_net_log.cc', |
| 539 | 'log/test_net_log.h', |
mmenke | 43758e6 | 2015-05-04 21:09:46 | [diff] [blame] | 540 | 'log/test_net_log_entry.cc', |
| 541 | 'log/test_net_log_entry.h', |
mmenke | 0034c54 | 2015-05-05 22:34:59 | [diff] [blame] | 542 | 'log/test_net_log_util.cc', |
mmenke | 43758e6 | 2015-05-04 21:09:46 | [diff] [blame] | 543 | 'log/test_net_log_util.h', |
[email protected] | b6ce91b | 2011-02-10 21:30:50 | [diff] [blame] | 544 | 'proxy/mock_proxy_resolver.cc', |
| 545 | 'proxy/mock_proxy_resolver.h', |
[email protected] | 7258def | 2011-05-17 19:53:00 | [diff] [blame] | 546 | 'proxy/mock_proxy_script_fetcher.cc', |
| 547 | 'proxy/mock_proxy_script_fetcher.h', |
[email protected] | ab501a6a | 2009-05-12 15:07:50 | [diff] [blame] | 548 | 'proxy/proxy_config_service_common_unittest.cc', |
| 549 | 'proxy/proxy_config_service_common_unittest.h', |
[email protected] | f7984fc6 | 2009-06-22 23:26:44 | [diff] [blame] | 550 | 'socket/socket_test_util.cc', |
| 551 | 'socket/socket_test_util.h', |
[email protected] | 6e7845ae | 2013-03-29 21:48:11 | [diff] [blame] | 552 | 'test/cert_test_util.cc', |
| 553 | 'test/cert_test_util.h', |
[email protected] | 83e1ae3 | 2014-07-18 10:57:07 | [diff] [blame] | 554 | 'test/cert_test_util_nss.cc', |
nharper | 2e171cf | 2015-06-01 20:29:23 | [diff] [blame] | 555 | 'test/channel_id_test_util.cc', |
| 556 | 'test/channel_id_test_util.h', |
[email protected] | 95ac16b | 2013-11-01 01:42:03 | [diff] [blame] | 557 | 'test/ct_test_util.cc', |
| 558 | 'test/ct_test_util.h', |
[email protected] | eb7388f | 2013-05-09 17:00:26 | [diff] [blame] | 559 | 'test/embedded_test_server/embedded_test_server.cc', |
| 560 | 'test/embedded_test_server/embedded_test_server.h', |
[email protected] | b6e5b6c6 | 2013-05-07 17:50:26 | [diff] [blame] | 561 | 'test/embedded_test_server/http_connection.cc', |
| 562 | 'test/embedded_test_server/http_connection.h', |
| 563 | 'test/embedded_test_server/http_request.cc', |
| 564 | 'test/embedded_test_server/http_request.h', |
| 565 | 'test/embedded_test_server/http_response.cc', |
| 566 | 'test/embedded_test_server/http_response.h', |
sammc | 6ac3fe5 | 2015-02-25 06:00:28 | [diff] [blame] | 567 | 'test/event_waiter.h', |
[email protected] | 8efa4ba4 | 2013-03-18 21:14:14 | [diff] [blame] | 568 | 'test/net_test_suite.cc', |
| 569 | 'test/net_test_suite.h', |
[email protected] | 9af13ce | 2010-09-16 21:45:48 | [diff] [blame] | 570 | 'test/python_utils.cc', |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 571 | 'test/python_utils.h', |
[email protected] | 89b3252 | 2013-05-07 20:04:21 | [diff] [blame] | 572 | 'test/spawned_test_server/base_test_server.cc', |
| 573 | 'test/spawned_test_server/base_test_server.h', |
[email protected] | 89b3252 | 2013-05-07 20:04:21 | [diff] [blame] | 574 | 'test/spawned_test_server/local_test_server.cc', |
| 575 | 'test/spawned_test_server/local_test_server.h', |
satorux | dd0840d3 | 2015-02-12 19:10:26 | [diff] [blame] | 576 | 'test/spawned_test_server/local_test_server_posix.cc', |
| 577 | 'test/spawned_test_server/local_test_server_win.cc', |
[email protected] | 89b3252 | 2013-05-07 20:04:21 | [diff] [blame] | 578 | 'test/spawned_test_server/spawned_test_server.h', |
xunjieli | 885de31 | 2015-07-20 16:18:51 | [diff] [blame] | 579 | 'test/url_request/ssl_certificate_error_job.cc', |
| 580 | 'test/url_request/ssl_certificate_error_job.h', |
xunjieli | 2906f15 | 2014-09-12 00:08:23 | [diff] [blame] | 581 | 'test/url_request/url_request_failed_job.cc', |
| 582 | 'test/url_request/url_request_failed_job.h', |
mef | 3e826cf | 2014-12-13 18:40:40 | [diff] [blame] | 583 | 'test/url_request/url_request_mock_data_job.cc', |
| 584 | 'test/url_request/url_request_mock_data_job.h', |
jam | 8e45cd7 | 2015-01-20 16:33:44 | [diff] [blame] | 585 | 'test/url_request/url_request_slow_download_job.cc', |
| 586 | 'test/url_request/url_request_slow_download_job.h', |
[email protected] | 8f2d8bdd | 2012-06-19 23:44:05 | [diff] [blame] | 587 | 'url_request/test_url_fetcher_factory.cc', |
| 588 | 'url_request/test_url_fetcher_factory.h', |
[email protected] | d2db029 | 2011-01-26 20:23:44 | [diff] [blame] | 589 | 'url_request/url_request_test_util.cc', |
| 590 | 'url_request/url_request_test_util.h', |
[email protected] | 702a6a72 | 2010-03-17 18:24:51 | [diff] [blame] | 591 | ], |
| 592 | 'conditions': [ |
[email protected] | 0dc310a3 | 2013-05-08 23:52:44 | [diff] [blame] | 593 | ['OS != "ios"', { |
[email protected] | 6c204656 | 2010-05-07 23:47:50 | [diff] [blame] | 594 | 'dependencies': [ |
[email protected] | 9cac94e | 2010-10-01 16:35:12 | [diff] [blame] | 595 | '../third_party/protobuf/protobuf.gyp:py_proto', |
[email protected] | 6c204656 | 2010-05-07 23:47:50 | [diff] [blame] | 596 | ], |
sherouk | 3eee4a8 | 2015-09-01 10:42:33 | [diff] [blame] | 597 | }, { |
| 598 | 'sources!': [ |
| 599 | 'test/spawned_test_server/base_test_server.cc', |
| 600 | 'test/spawned_test_server/base_test_server.h', |
| 601 | 'test/spawned_test_server/local_test_server.cc', |
| 602 | 'test/spawned_test_server/local_test_server.h', |
| 603 | 'test/spawned_test_server/local_test_server_posix.cc', |
| 604 | 'test/spawned_test_server/local_test_server_win.cc', |
| 605 | 'test/spawned_test_server/spawned_test_server.h', |
| 606 | ], |
[email protected] | 6c204656 | 2010-05-07 23:47:50 | [diff] [blame] | 607 | }], |
davidben | 4a644b0 | 2015-07-01 19:34:55 | [diff] [blame] | 608 | ['use_nss_certs == 1 or OS == "ios"', { |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 609 | 'conditions': [ |
davidben | 15d69d48 | 2014-09-29 18:24:08 | [diff] [blame] | 610 | [ 'desktop_linux == 1 or chromeos == 1', { |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 611 | 'dependencies': [ |
[email protected] | 638e9df4 | 2011-05-31 17:19:30 | [diff] [blame] | 612 | '../build/linux/system.gyp:ssl', |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 613 | ], |
davidben | 15d69d48 | 2014-09-29 18:24:08 | [diff] [blame] | 614 | }, { # desktop_linux == 0 and chromeos == 0 |
| 615 | 'dependencies': [ |
| 616 | '../third_party/nss/nss.gyp:nspr', |
| 617 | '../third_party/nss/nss.gyp:nss', |
| 618 | 'third_party/nss/ssl.gyp:libssl', |
| 619 | ], |
[email protected] | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame] | 620 | }], |
[email protected] | 702a6a72 | 2010-03-17 18:24:51 | [diff] [blame] | 621 | ], |
| 622 | }], |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 623 | ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
[email protected] | 8543761 | 2010-03-22 11:55:23 | [diff] [blame] | 624 | 'conditions': [ |
[email protected] | 2fa89ef | 2014-05-07 18:45:59 | [diff] [blame] | 625 | ['use_allocator!="none"', { |
[email protected] | 8543761 | 2010-03-22 11:55:23 | [diff] [blame] | 626 | 'dependencies': [ |
| 627 | '../base/allocator/allocator.gyp:allocator', |
| 628 | ], |
| 629 | }], |
| 630 | ], |
| 631 | }], |
jbudorick | b7043d8 | 2015-06-27 01:43:03 | [diff] [blame] | 632 | ['OS == "android"', { |
| 633 | 'dependencies': [ |
| 634 | 'net_test_jni_headers', |
| 635 | ], |
| 636 | 'sources': [ |
| 637 | 'test/android/net_test_jni_onload.cc', |
| 638 | 'test/android/net_test_jni_onload.h', |
| 639 | 'test/embedded_test_server/android/embedded_test_server_android.cc', |
| 640 | 'test/embedded_test_server/android/embedded_test_server_android.h', |
[email protected] | 89b3252 | 2013-05-07 20:04:21 | [diff] [blame] | 641 | 'test/spawned_test_server/remote_test_server.cc', |
| 642 | 'test/spawned_test_server/remote_test_server.h', |
| 643 | 'test/spawned_test_server/spawner_communicator.cc', |
| 644 | 'test/spawned_test_server/spawner_communicator.h', |
[email protected] | 3152682 | 2012-03-12 06:04:43 | [diff] [blame] | 645 | ], |
| 646 | }], |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 647 | [ 'use_v8_in_net==1', { |
| 648 | 'dependencies': [ |
| 649 | 'net_with_v8', |
| 650 | ], |
| 651 | }, |
| 652 | ], |
[email protected] | f22f316b | 2013-06-21 05:26:18 | [diff] [blame] | 653 | [ 'enable_mdns != 1', { |
| 654 | 'sources!' : [ |
| 655 | 'dns/mock_mdns_socket_factory.cc', |
| 656 | 'dns/mock_mdns_socket_factory.h' |
| 657 | ] |
| 658 | }], |
davidben | 0ee13e37 | 2015-04-16 23:23:10 | [diff] [blame] | 659 | [ 'use_nss_certs != 1', { |
[email protected] | 83e1ae3 | 2014-07-18 10:57:07 | [diff] [blame] | 660 | 'sources!': [ |
| 661 | 'test/cert_test_util_nss.cc', |
| 662 | ], |
| 663 | }], |
xunjieli | a688820 | 2015-04-14 21:34:25 | [diff] [blame] | 664 | ['disable_file_support != 1', { |
| 665 | 'sources': [ |
| 666 | 'test/url_request/url_request_mock_http_job.cc', |
| 667 | 'test/url_request/url_request_mock_http_job.h', |
| 668 | 'url_request/test_url_request_interceptor.cc', |
| 669 | 'url_request/test_url_request_interceptor.h', |
| 670 | ], |
| 671 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 672 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 673 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 674 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 675 | }, |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 676 | { |
| 677 | 'target_name': 'net_resources', |
| 678 | 'type': 'none', |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 679 | 'variables': { |
[email protected] | 4de39f8 | 2011-03-28 12:01:29 | [diff] [blame] | 680 | 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net', |
[email protected] | 5b91087 | 2010-02-09 01:03:02 | [diff] [blame] | 681 | }, |
[email protected] | 4de39f8 | 2011-03-28 12:01:29 | [diff] [blame] | 682 | 'actions': [ |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 683 | { |
[email protected] | 4de39f8 | 2011-03-28 12:01:29 | [diff] [blame] | 684 | 'action_name': 'net_resources', |
| 685 | 'variables': { |
| 686 | 'grit_grd_file': 'base/net_resources.grd', |
| 687 | }, |
| 688 | 'includes': [ '../build/grit_action.gypi' ], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 689 | }, |
[email protected] | 6718b41 | 2009-03-04 18:26:00 | [diff] [blame] | 690 | ], |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 691 | }, |
[email protected] | 75b91f9 | 2009-06-17 07:28:48 | [diff] [blame] | 692 | { |
mef | 327a8e4 | 2014-08-29 17:10:03 | [diff] [blame] | 693 | 'target_name': 'net_extras', |
| 694 | 'type': 'static_library', |
| 695 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 696 | 'dependencies': [ |
| 697 | '../base/base.gyp:base', |
| 698 | '../sql/sql.gyp:sql', |
| 699 | 'net', |
| 700 | ], |
| 701 | 'sources': [ |
| 702 | '<@(net_extras_sources)', |
| 703 | ], |
| 704 | }, |
| 705 | { |
ttuttle | a898dd4 | 2015-02-24 18:07:47 | [diff] [blame] | 706 | 'target_name': 'net_docs', |
| 707 | 'type': 'none', |
| 708 | 'actions': [ |
| 709 | { |
| 710 | 'action_name': 'net_docs', |
| 711 | 'variables': { |
| 712 | 'net_docs_input_dir': '.', |
| 713 | }, |
| 714 | 'inputs': [ |
| 715 | '<@(net_docs_sources)', |
| 716 | ], |
| 717 | 'outputs': [ |
| 718 | '<(net_docs_output_dir)', |
| 719 | ], |
| 720 | 'action': [ |
| 721 | 'python', |
| 722 | '<(net_docs_script)', |
| 723 | '--input_path', |
| 724 | '<(net_docs_input_dir)', |
| 725 | '--output_path', |
| 726 | '<(net_docs_output_dir)', |
| 727 | '<@(net_docs_sources)', |
| 728 | ], |
| 729 | 'message': 'Rendering network stack documentation', |
| 730 | } |
| 731 | ], |
| 732 | }, |
| 733 | { |
[email protected] | a33721a | 2011-02-03 17:23:24 | [diff] [blame] | 734 | 'target_name': 'http_server', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 735 | 'type': 'static_library', |
[email protected] | 8df769e | 2011-11-09 23:08:54 | [diff] [blame] | 736 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 737 | 'dependencies': [ |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 738 | '../base/base.gyp:base', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 739 | 'net', |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 740 | ], |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 741 | 'sources': [ |
[email protected] | 86c6a0b5 | 2011-08-02 19:49:25 | [diff] [blame] | 742 | 'server/http_connection.cc', |
| 743 | 'server/http_connection.h', |
[email protected] | a33721a | 2011-02-03 17:23:24 | [diff] [blame] | 744 | 'server/http_server.cc', |
| 745 | 'server/http_server.h', |
[email protected] | 1889dc1b | 2010-10-14 22:03:13 | [diff] [blame] | 746 | 'server/http_server_request_info.cc', |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 747 | 'server/http_server_request_info.h', |
[email protected] | c700fd15 | 2013-07-23 21:29:11 | [diff] [blame] | 748 | 'server/http_server_response_info.cc', |
| 749 | 'server/http_server_response_info.h', |
[email protected] | 86c6a0b5 | 2011-08-02 19:49:25 | [diff] [blame] | 750 | 'server/web_socket.cc', |
| 751 | 'server/web_socket.h', |
dgozman | a6e7009 | 2014-12-12 14:46:21 | [diff] [blame] | 752 | 'server/web_socket_encoder.cc', |
| 753 | 'server/web_socket_encoder.h', |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 754 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 755 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 756 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | 0569d86 | 2010-07-05 11:32:40 | [diff] [blame] | 757 | }, |
brettw | 690c9667 | 2015-04-21 16:19:54 | [diff] [blame] | 758 | { # GN version: //net:balsa |
[email protected] | 8f659420 | 2014-06-11 14:44:25 | [diff] [blame] | 759 | 'target_name': 'balsa', |
| 760 | 'type': 'static_library', |
| 761 | 'dependencies': [ |
| 762 | '../base/base.gyp:base', |
| 763 | 'net', |
| 764 | ], |
| 765 | 'sources': [ |
| 766 | 'tools/balsa/balsa_enums.h', |
| 767 | 'tools/balsa/balsa_frame.cc', |
| 768 | 'tools/balsa/balsa_frame.h', |
| 769 | 'tools/balsa/balsa_headers.cc', |
| 770 | 'tools/balsa/balsa_headers.h', |
| 771 | 'tools/balsa/balsa_headers_token_utils.cc', |
| 772 | 'tools/balsa/balsa_headers_token_utils.h', |
| 773 | 'tools/balsa/balsa_visitor_interface.h', |
| 774 | 'tools/balsa/http_message_constants.cc', |
| 775 | 'tools/balsa/http_message_constants.h', |
| 776 | 'tools/balsa/noop_balsa_visitor.h', |
| 777 | 'tools/balsa/simple_buffer.cc', |
| 778 | 'tools/balsa/simple_buffer.h', |
| 779 | 'tools/balsa/split.cc', |
| 780 | 'tools/balsa/split.h', |
| 781 | 'tools/balsa/string_piece_utils.h', |
rtenneti | e0ee6eb | 2015-05-01 00:55:09 | [diff] [blame] | 782 | 'tools/quic/spdy_balsa_utils.cc', |
| 783 | 'tools/quic/spdy_balsa_utils.h', |
[email protected] | 8f659420 | 2014-06-11 14:44:25 | [diff] [blame] | 784 | ], |
| 785 | }, |
| 786 | { |
[email protected] | 27675c8 | 2012-11-29 16:34:45 | [diff] [blame] | 787 | 'target_name': 'dump_cache', |
| 788 | 'type': 'executable', |
| 789 | 'dependencies': [ |
| 790 | '../base/base.gyp:base', |
| 791 | 'net', |
| 792 | 'net_test_support', |
| 793 | ], |
| 794 | 'sources': [ |
[email protected] | 27675c8 | 2012-11-29 16:34:45 | [diff] [blame] | 795 | 'tools/dump_cache/dump_cache.cc', |
| 796 | 'tools/dump_cache/dump_files.cc', |
| 797 | 'tools/dump_cache/dump_files.h', |
[email protected] | 27675c8 | 2012-11-29 16:34:45 | [diff] [blame] | 798 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 799 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 800 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | 27675c8 | 2012-11-29 16:34:45 | [diff] [blame] | 801 | }, |
[email protected] | ceeaac79 | 2014-06-25 05:14:43 | [diff] [blame] | 802 | { |
rch | 47ad01f | 2015-03-20 21:17:23 | [diff] [blame] | 803 | 'target_name': 'simple_quic_tools', |
| 804 | 'type': 'static_library', |
| 805 | 'dependencies': [ |
| 806 | '../base/base.gyp:base', |
| 807 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 808 | '../url/url.gyp:url_lib', |
| 809 | 'net', |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 810 | 'net_quic_proto', |
rch | 47ad01f | 2015-03-20 21:17:23 | [diff] [blame] | 811 | ], |
| 812 | 'sources': [ |
rtenneti | d67b3a72 | 2015-08-18 05:15:31 | [diff] [blame] | 813 | 'tools/quic/quic_client_base.cc', |
| 814 | 'tools/quic/quic_client_base.h', |
rch | c99f380c | 2015-03-26 19:50:56 | [diff] [blame] | 815 | 'tools/quic/quic_client_session.cc', |
| 816 | 'tools/quic/quic_client_session.h', |
| 817 | 'tools/quic/quic_dispatcher.cc', |
| 818 | 'tools/quic/quic_dispatcher.h', |
rch | 0e94547 | 2015-03-26 15:19:21 | [diff] [blame] | 819 | 'tools/quic/quic_in_memory_cache.cc', |
| 820 | 'tools/quic/quic_in_memory_cache.h', |
rch | c99f380c | 2015-03-26 19:50:56 | [diff] [blame] | 821 | 'tools/quic/quic_per_connection_packet_writer.cc', |
| 822 | 'tools/quic/quic_per_connection_packet_writer.h', |
rch | 0e94547 | 2015-03-26 15:19:21 | [diff] [blame] | 823 | 'tools/quic/quic_server_session.cc', |
| 824 | 'tools/quic/quic_server_session.h', |
rch | 47ad01f | 2015-03-20 21:17:23 | [diff] [blame] | 825 | 'tools/quic/quic_simple_client.cc', |
| 826 | 'tools/quic/quic_simple_client.h', |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 827 | 'tools/quic/quic_simple_per_connection_packet_writer.cc', |
| 828 | 'tools/quic/quic_simple_per_connection_packet_writer.h', |
| 829 | 'tools/quic/quic_simple_server.cc', |
| 830 | 'tools/quic/quic_simple_server.h', |
| 831 | 'tools/quic/quic_simple_server_packet_writer.cc', |
| 832 | 'tools/quic/quic_simple_server_packet_writer.h', |
rch | ed113b2 | 2015-03-26 04:54:05 | [diff] [blame] | 833 | 'tools/quic/quic_spdy_client_stream.cc', |
| 834 | 'tools/quic/quic_spdy_client_stream.h', |
rch | 0e94547 | 2015-03-26 15:19:21 | [diff] [blame] | 835 | 'tools/quic/quic_spdy_server_stream.cc', |
| 836 | 'tools/quic/quic_spdy_server_stream.h', |
| 837 | 'tools/quic/quic_time_wait_list_manager.cc', |
| 838 | 'tools/quic/quic_time_wait_list_manager.h', |
rch | da78df5a | 2015-03-22 05:16:37 | [diff] [blame] | 839 | 'tools/quic/synchronous_host_resolver.cc', |
| 840 | 'tools/quic/synchronous_host_resolver.h', |
rch | 47ad01f | 2015-03-20 21:17:23 | [diff] [blame] | 841 | ], |
| 842 | }, |
[email protected] | ef36c74c | 2009-03-11 13:32:22 | [diff] [blame] | 843 | ], |
| 844 | 'conditions': [ |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 845 | ['use_v8_in_net == 1', { |
| 846 | 'targets': [ |
| 847 | { |
| 848 | 'target_name': 'net_with_v8', |
| 849 | 'type': '<(component)', |
| 850 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 851 | 'dependencies': [ |
| 852 | '../base/base.gyp:base', |
[email protected] | 6b395fe | 2014-04-08 23:58:15 | [diff] [blame] | 853 | '../gin/gin.gyp:gin', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 854 | '../url/url.gyp:url_lib', |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 855 | '../v8/tools/gyp/v8.gyp:v8', |
| 856 | 'net' |
| 857 | ], |
| 858 | 'defines': [ |
| 859 | 'NET_IMPLEMENTATION', |
| 860 | ], |
| 861 | 'sources': [ |
| 862 | 'proxy/proxy_resolver_v8.cc', |
| 863 | 'proxy/proxy_resolver_v8.h', |
[email protected] | 501e2d4 | 2013-01-30 22:30:49 | [diff] [blame] | 864 | 'proxy/proxy_resolver_v8_tracing.cc', |
| 865 | 'proxy/proxy_resolver_v8_tracing.h', |
sammc | f2d1ea0 | 2015-06-29 02:58:47 | [diff] [blame] | 866 | 'proxy/proxy_resolver_v8_tracing_wrapper.cc', |
| 867 | 'proxy/proxy_resolver_v8_tracing_wrapper.h', |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 868 | 'proxy/proxy_service_v8.cc', |
| 869 | 'proxy/proxy_service_v8.h', |
| 870 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 871 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 872 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | ba7866b8 | 2012-09-07 14:22:27 | [diff] [blame] | 873 | }, |
| 874 | ], |
| 875 | }], |
amistry | aa16ad2 | 2015-02-04 09:01:47 | [diff] [blame] | 876 | ['use_v8_in_net == 1 and OS != "android"', { |
| 877 | 'targets': [ |
| 878 | { |
| 879 | # GN version: //net/interfaces |
| 880 | 'target_name': 'net_interfaces', |
| 881 | 'type': 'static_library', |
| 882 | 'sources': [ |
| 883 | 'interfaces/host_resolver_service.mojom', |
| 884 | 'interfaces/proxy_resolver_service.mojom', |
| 885 | ], |
| 886 | 'includes': [ |
| 887 | '../third_party/mojo/mojom_bindings_generator.gypi', |
| 888 | ], |
| 889 | }, |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 890 | { |
| 891 | # GN version: //net:net_browser_services |
| 892 | 'target_name': 'net_browser_services', |
| 893 | 'type': 'static_library', |
| 894 | 'sources': [ |
| 895 | 'dns/mojo_host_resolver_impl.cc', |
| 896 | 'dns/mojo_host_resolver_impl.h', |
amistry | 6e1ed1b | 2015-03-12 05:24:01 | [diff] [blame] | 897 | 'proxy/in_process_mojo_proxy_resolver_factory.cc', |
| 898 | 'proxy/in_process_mojo_proxy_resolver_factory.h', |
sammc | 1d5df4d | 2015-05-05 05:06:17 | [diff] [blame] | 899 | 'proxy/mojo_proxy_resolver_factory.h', |
eroman | dcacef2 | 2015-06-01 19:36:35 | [diff] [blame] | 900 | 'proxy/proxy_resolver_factory_mojo.cc', |
| 901 | 'proxy/proxy_resolver_factory_mojo.h', |
amistry | 6e1ed1b | 2015-03-12 05:24:01 | [diff] [blame] | 902 | 'proxy/proxy_service_mojo.cc', |
| 903 | 'proxy/proxy_service_mojo.h', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 904 | ], |
| 905 | 'dependencies': [ |
| 906 | 'mojo_type_converters', |
| 907 | 'net', |
| 908 | 'net_interfaces', |
amistry | 07ff140 | 2015-03-10 07:34:07 | [diff] [blame] | 909 | '../mojo/mojo_base.gyp:mojo_common_lib', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 910 | '../mojo/mojo_base.gyp:mojo_environment_chromium', |
amistry | 07ff140 | 2015-03-10 07:34:07 | [diff] [blame] | 911 | '../mojo/mojo_base.gyp:mojo_url_type_converters', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 912 | '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
amistry | 6e1ed1b | 2015-03-12 05:24:01 | [diff] [blame] | 913 | |
| 914 | # NOTE(amistry): As long as we support in-process Mojo v8 PAC, we |
| 915 | # need this dependency since in_process_mojo_proxy_resolver_factory |
| 916 | # creates the utility process side Mojo services in the browser |
| 917 | # process. Ultimately, this will go away when we only support |
| 918 | # out-of-process. |
| 919 | 'net_utility_services', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 920 | ], |
| 921 | }, |
| 922 | { |
sammc | 5403aa1d | 2015-02-25 04:59:21 | [diff] [blame] | 923 | # GN version: //net:net_utility_services |
| 924 | 'target_name': 'net_utility_services', |
| 925 | 'type': 'static_library', |
| 926 | 'sources': [ |
sammc | 6ac3fe5 | 2015-02-25 06:00:28 | [diff] [blame] | 927 | 'dns/host_resolver_mojo.cc', |
| 928 | 'dns/host_resolver_mojo.h', |
sammc | 352f749 | 2015-02-25 09:45:24 | [diff] [blame] | 929 | 'proxy/mojo_proxy_resolver_factory_impl.cc', |
| 930 | 'proxy/mojo_proxy_resolver_factory_impl.h', |
sammc | 5403aa1d | 2015-02-25 04:59:21 | [diff] [blame] | 931 | 'proxy/mojo_proxy_resolver_impl.cc', |
| 932 | 'proxy/mojo_proxy_resolver_impl.h', |
sammc | a3242c9 | 2015-07-10 02:38:51 | [diff] [blame] | 933 | 'proxy/mojo_proxy_resolver_v8_tracing_bindings.h', |
sammc | 5403aa1d | 2015-02-25 04:59:21 | [diff] [blame] | 934 | ], |
| 935 | 'dependencies': [ |
| 936 | 'mojo_type_converters', |
sammc | 5403aa1d | 2015-02-25 04:59:21 | [diff] [blame] | 937 | 'net_interfaces', |
amistry | b91865c | 2015-03-06 08:50:36 | [diff] [blame] | 938 | 'net_with_v8', |
morrita | 9e8f56a | 2015-03-05 20:30:05 | [diff] [blame] | 939 | '../mojo/mojo_base.gyp:mojo_url_type_converters', |
sammc | 5403aa1d | 2015-02-25 04:59:21 | [diff] [blame] | 940 | '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 941 | ], |
| 942 | }, |
| 943 | { |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 944 | # GN version: //net:mojo_type_converters |
| 945 | 'target_name': 'mojo_type_converters', |
| 946 | 'type': 'static_library', |
| 947 | 'sources': [ |
amistry | 7ec5811 | 2015-02-26 06:03:00 | [diff] [blame] | 948 | 'dns/mojo_host_type_converters.cc', |
| 949 | 'dns/mojo_host_type_converters.h', |
| 950 | 'proxy/mojo_proxy_type_converters.cc', |
| 951 | 'proxy/mojo_proxy_type_converters.h', |
amistry | 7e6ebfdc8 | 2015-02-13 04:19:11 | [diff] [blame] | 952 | ], |
| 953 | 'dependencies': [ |
| 954 | 'net', |
| 955 | 'net_interfaces', |
| 956 | '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 957 | ], |
| 958 | }, |
amistry | aa16ad2 | 2015-02-04 09:01:47 | [diff] [blame] | 959 | ], |
| 960 | }], |
[email protected] | 3f55cf8 | 2014-01-24 04:32:18 | [diff] [blame] | 961 | ['OS != "ios" and OS != "android"', { |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 962 | 'targets': [ |
| 963 | # iOS doesn't have the concept of simple executables, these targets |
| 964 | # can't be compiled on the platform. |
| 965 | { |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 966 | 'target_name': 'crash_cache', |
| 967 | 'type': 'executable', |
| 968 | 'dependencies': [ |
| 969 | '../base/base.gyp:base', |
| 970 | 'net', |
| 971 | 'net_test_support', |
| 972 | ], |
| 973 | 'sources': [ |
| 974 | 'tools/crash_cache/crash_cache.cc', |
| 975 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 976 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 977 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 978 | }, |
| 979 | { |
| 980 | 'target_name': 'crl_set_dump', |
| 981 | 'type': 'executable', |
| 982 | 'dependencies': [ |
| 983 | '../base/base.gyp:base', |
| 984 | 'net', |
| 985 | ], |
| 986 | 'sources': [ |
| 987 | 'tools/crl_set_dump/crl_set_dump.cc', |
| 988 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 989 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 990 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 991 | }, |
| 992 | { |
| 993 | 'target_name': 'dns_fuzz_stub', |
| 994 | 'type': 'executable', |
| 995 | 'dependencies': [ |
| 996 | '../base/base.gyp:base', |
| 997 | 'net', |
| 998 | ], |
| 999 | 'sources': [ |
| 1000 | 'tools/dns_fuzz_stub/dns_fuzz_stub.cc', |
| 1001 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 1002 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1003 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1004 | }, |
| 1005 | { |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1006 | 'target_name': 'gdig', |
| 1007 | 'type': 'executable', |
| 1008 | 'dependencies': [ |
| 1009 | '../base/base.gyp:base', |
| 1010 | 'net', |
| 1011 | ], |
| 1012 | 'sources': [ |
| 1013 | 'tools/gdig/file_net_log.cc', |
| 1014 | 'tools/gdig/gdig.cc', |
| 1015 | ], |
| 1016 | }, |
| 1017 | { |
[email protected] | cd31c7f | 2012-09-05 00:43:31 | [diff] [blame] | 1018 | 'target_name': 'get_server_time', |
| 1019 | 'type': 'executable', |
| 1020 | 'dependencies': [ |
| 1021 | '../base/base.gyp:base', |
| 1022 | '../base/base.gyp:base_i18n', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 1023 | '../url/url.gyp:url_lib', |
[email protected] | cd31c7f | 2012-09-05 00:43:31 | [diff] [blame] | 1024 | 'net', |
| 1025 | ], |
| 1026 | 'sources': [ |
| 1027 | 'tools/get_server_time/get_server_time.cc', |
| 1028 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 1029 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1030 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | cd31c7f | 2012-09-05 00:43:31 | [diff] [blame] | 1031 | }, |
| 1032 | { |
[email protected] | 19b4fa5 | 2014-05-05 22:03:15 | [diff] [blame] | 1033 | 'target_name': 'hpack_example_generator', |
| 1034 | 'type': 'executable', |
| 1035 | 'dependencies': [ |
| 1036 | '../base/base.gyp:base', |
| 1037 | 'net', |
| 1038 | ], |
| 1039 | 'sources': [ |
| 1040 | 'spdy/fuzzing/hpack_example_generator.cc', |
| 1041 | ], |
| 1042 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1043 | 'msvs_disabled_warnings': [4267, ], |
| 1044 | }, |
| 1045 | { |
| 1046 | 'target_name': 'hpack_fuzz_mutator', |
| 1047 | 'type': 'executable', |
| 1048 | 'dependencies': [ |
| 1049 | '../base/base.gyp:base', |
| 1050 | 'net', |
| 1051 | ], |
| 1052 | 'sources': [ |
| 1053 | 'spdy/fuzzing/hpack_fuzz_mutator.cc', |
| 1054 | ], |
| 1055 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1056 | 'msvs_disabled_warnings': [4267, ], |
| 1057 | }, |
| 1058 | { |
| 1059 | 'target_name': 'hpack_fuzz_wrapper', |
| 1060 | 'type': 'executable', |
| 1061 | 'dependencies': [ |
| 1062 | '../base/base.gyp:base', |
| 1063 | 'net', |
| 1064 | ], |
| 1065 | 'sources': [ |
| 1066 | 'spdy/fuzzing/hpack_fuzz_wrapper.cc', |
| 1067 | ], |
| 1068 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1069 | 'msvs_disabled_warnings': [4267, ], |
| 1070 | }, |
| 1071 | { |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1072 | 'target_name': 'net_watcher', |
| 1073 | 'type': 'executable', |
| 1074 | 'dependencies': [ |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1075 | '../base/base.gyp:base', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1076 | 'net', |
[email protected] | ffd3eff | 2012-08-31 14:50:48 | [diff] [blame] | 1077 | 'net_with_v8', |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1078 | ], |
[email protected] | a6f8cb73 | 2012-11-19 19:22:15 | [diff] [blame] | 1079 | 'conditions': [ |
| 1080 | [ 'use_glib == 1', { |
| 1081 | 'dependencies': [ |
| 1082 | '../build/linux/system.gyp:gconf', |
| 1083 | '../build/linux/system.gyp:gio', |
| 1084 | ], |
| 1085 | }, |
| 1086 | ], |
| 1087 | ], |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1088 | 'sources': [ |
| 1089 | 'tools/net_watcher/net_watcher.cc', |
| 1090 | ], |
| 1091 | }, |
| 1092 | { |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1093 | 'target_name': 'run_testserver', |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1094 | 'type': 'executable', |
| 1095 | 'dependencies': [ |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1096 | '../base/base.gyp:base', |
[email protected] | e4c029f | 2013-01-20 01:10:24 | [diff] [blame] | 1097 | '../base/base.gyp:test_support_base', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1098 | '../testing/gtest.gyp:gtest', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1099 | 'net_test_support', |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1100 | ], |
| 1101 | 'sources': [ |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1102 | 'tools/testserver/run_testserver.cc', |
| 1103 | ], |
| 1104 | }, |
| 1105 | { |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1106 | 'target_name': 'quic_client', |
rch | a9d12ce1 | 2015-03-19 23:06:49 | [diff] [blame] | 1107 | 'type': 'executable', |
| 1108 | 'dependencies': [ |
| 1109 | '../base/base.gyp:base', |
| 1110 | '../url/url.gyp:url_lib', |
| 1111 | 'net', |
rch | 47ad01f | 2015-03-20 21:17:23 | [diff] [blame] | 1112 | 'simple_quic_tools', |
rch | a9d12ce1 | 2015-03-19 23:06:49 | [diff] [blame] | 1113 | ], |
| 1114 | 'sources': [ |
rch | a9d12ce1 | 2015-03-19 23:06:49 | [diff] [blame] | 1115 | 'tools/quic/quic_simple_client_bin.cc', |
rch | a9d12ce1 | 2015-03-19 23:06:49 | [diff] [blame] | 1116 | ], |
| 1117 | }, |
| 1118 | { |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1119 | 'target_name': 'quic_server', |
| 1120 | 'type': 'executable', |
| 1121 | 'dependencies': [ |
| 1122 | '../base/base.gyp:base', |
| 1123 | 'net', |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 1124 | 'net_quic_proto', |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1125 | 'simple_quic_tools', |
| 1126 | ], |
| 1127 | 'sources': [ |
| 1128 | 'tools/quic/quic_simple_server_bin.cc', |
| 1129 | ], |
| 1130 | }, |
| 1131 | { |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1132 | 'target_name': 'stress_cache', |
| 1133 | 'type': 'executable', |
| 1134 | 'dependencies': [ |
| 1135 | '../base/base.gyp:base', |
| 1136 | 'net', |
| 1137 | 'net_test_support', |
| 1138 | ], |
| 1139 | 'sources': [ |
rvargas | e23fcf65 | 2015-03-04 19:59:22 | [diff] [blame] | 1140 | 'tools/stress_cache/stress_cache.cc', |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1141 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 1142 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1143 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1144 | }, |
| 1145 | { |
| 1146 | 'target_name': 'tld_cleanup', |
| 1147 | 'type': 'executable', |
| 1148 | 'dependencies': [ |
| 1149 | '../base/base.gyp:base', |
| 1150 | '../base/base.gyp:base_i18n', |
[email protected] | ed32c21 | 2013-05-14 20:49:29 | [diff] [blame] | 1151 | '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util', |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1152 | ], |
| 1153 | 'sources': [ |
| 1154 | 'tools/tld_cleanup/tld_cleanup.cc', |
| 1155 | ], |
[email protected] | 9dcec24 | 2013-01-10 23:24:28 | [diff] [blame] | 1156 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1157 | 'msvs_disabled_warnings': [4267, ], |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1158 | }, |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1159 | ], |
| 1160 | }], |
[email protected] | 10246a0 | 2012-07-30 15:15:01 | [diff] [blame] | 1161 | ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1162 | 'targets': [ |
| 1163 | { |
[email protected] | 6c7e652 | 2013-09-29 15:27:44 | [diff] [blame] | 1164 | 'target_name': 'epoll_server', |
| 1165 | 'type': 'static_library', |
| 1166 | 'dependencies': [ |
| 1167 | '../base/base.gyp:base', |
| 1168 | 'net', |
| 1169 | ], |
| 1170 | 'sources': [ |
| 1171 | 'tools/epoll_server/epoll_server.cc', |
| 1172 | 'tools/epoll_server/epoll_server.h', |
| 1173 | ], |
| 1174 | }, |
| 1175 | { |
| 1176 | 'target_name': 'flip_in_mem_edsm_server_base', |
[email protected] | 29e05231 | 2013-08-06 05:44:51 | [diff] [blame] | 1177 | 'type': 'static_library', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1178 | 'cflags': [ |
| 1179 | '-Wno-deprecated', |
| 1180 | ], |
| 1181 | 'dependencies': [ |
| 1182 | '../base/base.gyp:base', |
[email protected] | edfd0f4 | 2014-07-22 18:20:37 | [diff] [blame] | 1183 | '../third_party/boringssl/boringssl.gyp:boringssl', |
[email protected] | 6c7e652 | 2013-09-29 15:27:44 | [diff] [blame] | 1184 | 'balsa', |
| 1185 | 'epoll_server', |
[email protected] | eb6d239 | 2012-08-02 11:28:23 | [diff] [blame] | 1186 | 'net', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1187 | ], |
| 1188 | 'sources': [ |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1189 | 'tools/flip_server/acceptor_thread.cc', |
satorux | dd0840d3 | 2015-02-12 19:10:26 | [diff] [blame] | 1190 | 'tools/flip_server/acceptor_thread.h', |
| 1191 | 'tools/flip_server/constants.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1192 | 'tools/flip_server/create_listener.cc', |
| 1193 | 'tools/flip_server/create_listener.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1194 | 'tools/flip_server/flip_config.cc', |
| 1195 | 'tools/flip_server/flip_config.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1196 | 'tools/flip_server/http_interface.cc', |
| 1197 | 'tools/flip_server/http_interface.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1198 | 'tools/flip_server/loadtime_measurement.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1199 | 'tools/flip_server/mem_cache.cc', |
satorux | dd0840d3 | 2015-02-12 19:10:26 | [diff] [blame] | 1200 | 'tools/flip_server/mem_cache.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1201 | 'tools/flip_server/output_ordering.cc', |
| 1202 | 'tools/flip_server/output_ordering.h', |
| 1203 | 'tools/flip_server/ring_buffer.cc', |
| 1204 | 'tools/flip_server/ring_buffer.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1205 | 'tools/flip_server/sm_connection.cc', |
| 1206 | 'tools/flip_server/sm_connection.h', |
| 1207 | 'tools/flip_server/sm_interface.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1208 | 'tools/flip_server/spdy_interface.cc', |
| 1209 | 'tools/flip_server/spdy_interface.h', |
satorux | dd0840d3 | 2015-02-12 19:10:26 | [diff] [blame] | 1210 | 'tools/flip_server/spdy_ssl.cc', |
| 1211 | 'tools/flip_server/spdy_ssl.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1212 | 'tools/flip_server/spdy_util.cc', |
| 1213 | 'tools/flip_server/spdy_util.h', |
| 1214 | 'tools/flip_server/streamer_interface.cc', |
| 1215 | 'tools/flip_server/streamer_interface.h', |
rvargas | 145310f | 2015-08-14 18:09:04 | [diff] [blame] | 1216 | 'tools/flip_server/url_to_filename_encoder.cc', |
| 1217 | 'tools/flip_server/url_to_filename_encoder.h', |
| 1218 | 'tools/flip_server/url_utilities.cc', |
| 1219 | 'tools/flip_server/url_utilities.h', |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1220 | ], |
| 1221 | }, |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1222 | { |
[email protected] | 673ec5d | 2013-11-12 02:54:25 | [diff] [blame] | 1223 | 'target_name': 'flip_in_mem_edsm_server_unittests', |
| 1224 | 'type': 'executable', |
| 1225 | 'dependencies': [ |
| 1226 | '../testing/gtest.gyp:gtest', |
| 1227 | '../testing/gmock.gyp:gmock', |
[email protected] | edfd0f4 | 2014-07-22 18:20:37 | [diff] [blame] | 1228 | '../third_party/boringssl/boringssl.gyp:boringssl', |
[email protected] | 673ec5d | 2013-11-12 02:54:25 | [diff] [blame] | 1229 | 'flip_in_mem_edsm_server_base', |
| 1230 | 'net', |
| 1231 | 'net_test_support', |
| 1232 | ], |
| 1233 | 'sources': [ |
| 1234 | 'tools/flip_server/flip_test_utils.cc', |
| 1235 | 'tools/flip_server/flip_test_utils.h', |
| 1236 | 'tools/flip_server/http_interface_test.cc', |
| 1237 | 'tools/flip_server/mem_cache_test.cc', |
| 1238 | 'tools/flip_server/run_all_tests.cc', |
| 1239 | 'tools/flip_server/spdy_interface_test.cc', |
rvargas | 145310f | 2015-08-14 18:09:04 | [diff] [blame] | 1240 | 'tools/flip_server/url_to_filename_encoder_unittest.cc', |
| 1241 | 'tools/flip_server/url_utilities_unittest.cc', |
[email protected] | 673ec5d | 2013-11-12 02:54:25 | [diff] [blame] | 1242 | ], |
| 1243 | }, |
| 1244 | { |
[email protected] | 29e05231 | 2013-08-06 05:44:51 | [diff] [blame] | 1245 | 'target_name': 'flip_in_mem_edsm_server', |
| 1246 | 'type': 'executable', |
| 1247 | 'cflags': [ |
| 1248 | '-Wno-deprecated', |
| 1249 | ], |
| 1250 | 'dependencies': [ |
| 1251 | '../base/base.gyp:base', |
[email protected] | 6c7e652 | 2013-09-29 15:27:44 | [diff] [blame] | 1252 | 'flip_in_mem_edsm_server_base', |
[email protected] | 29e05231 | 2013-08-06 05:44:51 | [diff] [blame] | 1253 | 'net', |
| 1254 | ], |
| 1255 | 'sources': [ |
| 1256 | 'tools/flip_server/flip_in_mem_edsm_server.cc', |
| 1257 | ], |
| 1258 | }, |
| 1259 | { |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1260 | 'target_name': 'epoll_quic_tools', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1261 | 'type': 'static_library', |
| 1262 | 'dependencies': [ |
| 1263 | '../base/base.gyp:base', |
| 1264 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 1265 | '../url/url.gyp:url_lib', |
[email protected] | 6c7e652 | 2013-09-29 15:27:44 | [diff] [blame] | 1266 | 'balsa', |
| 1267 | 'epoll_server', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1268 | 'net', |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 1269 | 'net_quic_proto', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1270 | ], |
| 1271 | 'sources': [ |
[email protected] | e45d6889 | 2013-03-30 17:50:10 | [diff] [blame] | 1272 | 'tools/quic/quic_client.cc', |
| 1273 | 'tools/quic/quic_client.h', |
[email protected] | cbd731e | 2013-10-24 00:20:39 | [diff] [blame] | 1274 | 'tools/quic/quic_default_packet_writer.cc', |
| 1275 | 'tools/quic/quic_default_packet_writer.h', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1276 | 'tools/quic/quic_epoll_clock.cc', |
| 1277 | 'tools/quic/quic_epoll_clock.h', |
| 1278 | 'tools/quic/quic_epoll_connection_helper.cc', |
| 1279 | 'tools/quic/quic_epoll_connection_helper.h', |
rtenneti | fb3fa6c | 2015-03-16 23:04:55 | [diff] [blame] | 1280 | 'tools/quic/quic_packet_reader.cc', |
| 1281 | 'tools/quic/quic_packet_reader.h', |
[email protected] | 9f0dcd4e | 2014-01-16 15:58:14 | [diff] [blame] | 1282 | 'tools/quic/quic_packet_writer_wrapper.cc', |
| 1283 | 'tools/quic/quic_packet_writer_wrapper.h', |
[email protected] | e45d6889 | 2013-03-30 17:50:10 | [diff] [blame] | 1284 | 'tools/quic/quic_server.cc', |
| 1285 | 'tools/quic/quic_server.h', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1286 | 'tools/quic/quic_socket_utils.cc', |
| 1287 | 'tools/quic/quic_socket_utils.h', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1288 | ], |
| 1289 | }, |
| 1290 | { |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1291 | 'target_name': 'epoll_quic_client', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1292 | 'type': 'executable', |
| 1293 | 'dependencies': [ |
| 1294 | '../base/base.gyp:base', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1295 | 'net', |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1296 | 'epoll_quic_tools', |
rch | da78df5a | 2015-03-22 05:16:37 | [diff] [blame] | 1297 | 'simple_quic_tools', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1298 | ], |
| 1299 | 'sources': [ |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1300 | 'tools/quic/quic_client_bin.cc', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1301 | ], |
| 1302 | }, |
| 1303 | { |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1304 | 'target_name': 'epoll_quic_server', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1305 | 'type': 'executable', |
| 1306 | 'dependencies': [ |
| 1307 | '../base/base.gyp:base', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1308 | 'net', |
rtenneti | b6f1c0d | 2015-04-03 17:52:06 | [diff] [blame] | 1309 | 'net_quic_proto', |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1310 | 'epoll_quic_tools', |
rch | 0e94547 | 2015-03-26 15:19:21 | [diff] [blame] | 1311 | 'simple_quic_tools', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1312 | ], |
| 1313 | 'sources': [ |
rch | 216445c | 2015-03-27 00:23:28 | [diff] [blame] | 1314 | 'tools/quic/quic_server_bin.cc', |
[email protected] | 519e4988 | 2013-03-27 08:45:32 | [diff] [blame] | 1315 | ], |
[email protected] | 7499f22fe | 2014-04-30 21:58:50 | [diff] [blame] | 1316 | }, |
[email protected] | 72322c5 | 2012-07-13 21:22:55 | [diff] [blame] | 1317 | ] |
| 1318 | }], |
[email protected] | ad116b2e8 | 2012-04-20 03:24:07 | [diff] [blame] | 1319 | ['OS=="android"', { |
| 1320 | 'targets': [ |
mef | dc8e94b | 2015-03-11 19:49:05 | [diff] [blame] | 1321 | { # The same target as 'net', but with smaller binary size due to |
| 1322 | # exclusion of ICU, FTP, FILE and WebSockets support. |
| 1323 | 'target_name': 'net_small', |
| 1324 | 'variables': { |
| 1325 | 'disable_ftp_support': 1, |
| 1326 | 'disable_file_support': 1, |
| 1327 | 'enable_websockets': 0, |
| 1328 | }, |
| 1329 | 'dependencies': [ |
| 1330 | '../url/url.gyp:url_lib_use_icu_alternatives_on_android', |
| 1331 | ], |
| 1332 | 'defines': [ |
| 1333 | 'USE_ICU_ALTERNATIVES_ON_ANDROID=1', |
| 1334 | 'DISABLE_FILE_SUPPORT=1', |
| 1335 | 'DISABLE_FTP_SUPPORT=1', |
| 1336 | ], |
| 1337 | 'sources': [ |
| 1338 | 'base/net_string_util_icu_alternatives_android.cc', |
| 1339 | 'base/net_string_util_icu_alternatives_android.h', |
| 1340 | ], |
| 1341 | 'includes': [ 'net_common.gypi' ], |
| 1342 | }, |
[email protected] | ad116b2e8 | 2012-04-20 03:24:07 | [diff] [blame] | 1343 | { |
| 1344 | 'target_name': 'net_jni_headers', |
| 1345 | 'type': 'none', |
[email protected] | e46f6615 | 2012-07-19 20:02:55 | [diff] [blame] | 1346 | 'sources': [ |
[email protected] | 23073f9 | 2014-01-17 22:52:17 | [diff] [blame] | 1347 | 'android/java/src/org/chromium/net/AndroidCertVerifyResult.java', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1348 | 'android/java/src/org/chromium/net/AndroidKeyStore.java', |
[email protected] | e46f6615 | 2012-07-19 20:02:55 | [diff] [blame] | 1349 | 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java', |
[email protected] | 2816e1f | 2014-02-15 00:54:27 | [diff] [blame] | 1350 | 'android/java/src/org/chromium/net/AndroidPrivateKey.java', |
tbansal | 59a1ddc | 2015-09-14 17:35:01 | [diff] [blame] | 1351 | 'android/java/src/org/chromium/net/AndroidTrafficStats.java', |
[email protected] | d72acb0 | 2012-12-15 22:19:44 | [diff] [blame] | 1352 | 'android/java/src/org/chromium/net/GURLUtils.java', |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 1353 | 'android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java', |
mef | dc8e94b | 2015-03-11 19:49:05 | [diff] [blame] | 1354 | 'android/java/src/org/chromium/net/NetStringUtil.java', |
[email protected] | e46f6615 | 2012-07-19 20:02:55 | [diff] [blame] | 1355 | 'android/java/src/org/chromium/net/NetworkChangeNotifier.java', |
| 1356 | 'android/java/src/org/chromium/net/ProxyChangeListener.java', |
[email protected] | 18c360a | 2013-10-22 14:35:15 | [diff] [blame] | 1357 | 'android/java/src/org/chromium/net/X509Util.java', |
[email protected] | e46f6615 | 2012-07-19 20:02:55 | [diff] [blame] | 1358 | ], |
[email protected] | ad116b2e8 | 2012-04-20 03:24:07 | [diff] [blame] | 1359 | 'variables': { |
[email protected] | 521cd94 | 2013-03-07 22:34:05 | [diff] [blame] | 1360 | 'jni_gen_package': 'net', |
[email protected] | ad116b2e8 | 2012-04-20 03:24:07 | [diff] [blame] | 1361 | }, |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1362 | 'includes': [ '../build/jni_generator.gypi' ], |
| 1363 | }, |
| 1364 | { |
| 1365 | 'target_name': 'net_test_jni_headers', |
| 1366 | 'type': 'none', |
| 1367 | 'sources': [ |
| 1368 | 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java', |
jbudorick | b7043d8 | 2015-06-27 01:43:03 | [diff] [blame] | 1369 | 'test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java', |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 1370 | 'test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1371 | ], |
| 1372 | 'variables': { |
jbudorick | b7043d8 | 2015-06-27 01:43:03 | [diff] [blame] | 1373 | 'jni_gen_package': 'net/test', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1374 | }, |
[email protected] | ad116b2e8 | 2012-04-20 03:24:07 | [diff] [blame] | 1375 | 'includes': [ '../build/jni_generator.gypi' ], |
| 1376 | }, |
| 1377 | { |
| 1378 | 'target_name': 'net_java', |
| 1379 | 'type': 'none', |
| 1380 | 'variables': { |
[email protected] | ad116b2e8 | 2012-04-20 03:24:07 | [diff] [blame] | 1381 | 'java_in_dir': '../net/android/java', |
| 1382 | }, |
| 1383 | 'dependencies': [ |
[email protected] | bb6bd1f | 2012-09-10 15:52:47 | [diff] [blame] | 1384 | '../base/base.gyp:base', |
[email protected] | 23073f9 | 2014-01-17 22:52:17 | [diff] [blame] | 1385 | 'cert_verify_status_android_java', |
[email protected] | 3b45550 | 2012-12-11 18:22:58 | [diff] [blame] | 1386 | 'certificate_mime_types_java', |
jkarlin | 0818d525 | 2014-12-02 21:06:02 | [diff] [blame] | 1387 | 'network_change_notifier_types_java', |
pauljensen | be5bc323 | 2015-10-05 20:39:27 | [diff] [blame] | 1388 | 'network_change_notifier_android_types_java', |
[email protected] | 71f4b27 | 2013-02-13 19:13:49 | [diff] [blame] | 1389 | 'net_errors_java', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1390 | 'private_key_types_java', |
[email protected] | 2816e1f | 2014-02-15 00:54:27 | [diff] [blame] | 1391 | 'remote_android_keystore_aidl', |
tbansal | 59a1ddc | 2015-09-14 17:35:01 | [diff] [blame] | 1392 | 'traffic_stats_error_java', |
[email protected] | ad116b2e8 | 2012-04-20 03:24:07 | [diff] [blame] | 1393 | ], |
| 1394 | 'includes': [ '../build/java.gypi' ], |
| 1395 | }, |
[email protected] | d29ba6c | 2012-08-15 23:10:18 | [diff] [blame] | 1396 | { |
[email protected] | 2816e1f | 2014-02-15 00:54:27 | [diff] [blame] | 1397 | # Processes the interface files for communication with an Android KeyStore |
| 1398 | # running in a separate process. |
| 1399 | 'target_name': 'remote_android_keystore_aidl', |
| 1400 | 'type': 'none', |
| 1401 | 'variables': { |
| 1402 | 'aidl_interface_file': '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreInterface.aidl', |
| 1403 | }, |
| 1404 | 'sources': [ |
| 1405 | '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl', |
| 1406 | '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl', |
| 1407 | ], |
| 1408 | 'includes': [ '../build/java_aidl.gypi' ], |
| 1409 | }, |
| 1410 | { |
[email protected] | f36fb17 | 2012-11-07 19:40:41 | [diff] [blame] | 1411 | 'target_name': 'net_java_test_support', |
| 1412 | 'type': 'none', |
| 1413 | 'variables': { |
[email protected] | f36fb17 | 2012-11-07 19:40:41 | [diff] [blame] | 1414 | 'java_in_dir': '../net/test/android/javatests', |
aurimas | 088bb6b | 2015-10-01 00:56:20 | [diff] [blame] | 1415 | # TODO(jbudorick): remove chromium_code: 0 line once crbug.com/488192 is fixed. |
| 1416 | 'chromium_code': 0, |
[email protected] | f36fb17 | 2012-11-07 19:40:41 | [diff] [blame] | 1417 | }, |
xunjieli | d26defc0 | 2015-05-07 16:48:14 | [diff] [blame] | 1418 | 'dependencies': [ |
jbudorick | 0d414de1 | 2015-08-20 02:23:34 | [diff] [blame] | 1419 | 'net_java', |
jbudorick | b7043d8 | 2015-06-27 01:43:03 | [diff] [blame] | 1420 | 'net_test_support', |
xunjieli | d26defc0 | 2015-05-07 16:48:14 | [diff] [blame] | 1421 | 'url_request_failed_job_java', |
yfriedman | 05fc830 | 2015-05-15 16:31:32 | [diff] [blame] | 1422 | '../base/base.gyp:base_java', |
jbudorick | 0d414de1 | 2015-08-20 02:23:34 | [diff] [blame] | 1423 | '../third_party/android_tools/android_tools.gyp:legacy_http_javalib', |
xunjieli | d26defc0 | 2015-05-07 16:48:14 | [diff] [blame] | 1424 | ], |
[email protected] | f36fb17 | 2012-11-07 19:40:41 | [diff] [blame] | 1425 | 'includes': [ '../build/java.gypi' ], |
| 1426 | }, |
| 1427 | { |
xunjieli | d26defc0 | 2015-05-07 16:48:14 | [diff] [blame] | 1428 | 'target_name': 'url_request_failed_job_java', |
| 1429 | 'type': 'none', |
| 1430 | 'variables': { |
| 1431 | 'source_file': 'test/url_request/url_request_failed_job.h', |
| 1432 | }, |
| 1433 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 1434 | }, |
| 1435 | { |
[email protected] | d29ba6c | 2012-08-15 23:10:18 | [diff] [blame] | 1436 | 'target_name': 'net_javatests', |
| 1437 | 'type': 'none', |
| 1438 | 'variables': { |
[email protected] | d29ba6c | 2012-08-15 23:10:18 | [diff] [blame] | 1439 | 'java_in_dir': '../net/android/javatests', |
| 1440 | }, |
| 1441 | 'dependencies': [ |
[email protected] | bb6bd1f | 2012-09-10 15:52:47 | [diff] [blame] | 1442 | '../base/base.gyp:base', |
[email protected] | d29ba6c | 2012-08-15 23:10:18 | [diff] [blame] | 1443 | '../base/base.gyp:base_java_test_support', |
[email protected] | bb6bd1f | 2012-09-10 15:52:47 | [diff] [blame] | 1444 | 'net_java', |
[email protected] | d29ba6c | 2012-08-15 23:10:18 | [diff] [blame] | 1445 | ], |
[email protected] | d29ba6c | 2012-08-15 23:10:18 | [diff] [blame] | 1446 | 'includes': [ '../build/java.gypi' ], |
| 1447 | }, |
[email protected] | 2fa3091 | 2012-09-10 19:22:50 | [diff] [blame] | 1448 | { |
[email protected] | 2fa3091 | 2012-09-10 19:22:50 | [diff] [blame] | 1449 | 'target_name': 'net_errors_java', |
| 1450 | 'type': 'none', |
[email protected] | 4d49171 | 2012-12-10 12:38:24 | [diff] [blame] | 1451 | 'sources': [ |
[email protected] | 4d49171 | 2012-12-10 12:38:24 | [diff] [blame] | 1452 | 'android/java/NetError.template', |
[email protected] | 2fa3091 | 2012-09-10 19:22:50 | [diff] [blame] | 1453 | ], |
[email protected] | 4d49171 | 2012-12-10 12:38:24 | [diff] [blame] | 1454 | 'variables': { |
[email protected] | 1b19c9a1e | 2013-03-02 16:39:08 | [diff] [blame] | 1455 | 'package_name': 'org/chromium/net', |
[email protected] | 2716d84e | 2013-01-19 04:05:48 | [diff] [blame] | 1456 | 'template_deps': ['base/net_error_list.h'], |
[email protected] | 4d49171 | 2012-12-10 12:38:24 | [diff] [blame] | 1457 | }, |
| 1458 | 'includes': [ '../build/android/java_cpp_template.gypi' ], |
[email protected] | 3b45550 | 2012-12-11 18:22:58 | [diff] [blame] | 1459 | }, |
| 1460 | { |
| 1461 | 'target_name': 'certificate_mime_types_java', |
| 1462 | 'type': 'none', |
[email protected] | 3b45550 | 2012-12-11 18:22:58 | [diff] [blame] | 1463 | 'variables': { |
mkosiba | f6ebbf6b | 2014-09-30 14:42:39 | [diff] [blame] | 1464 | 'source_file': 'base/mime_util.h', |
[email protected] | 3b45550 | 2012-12-11 18:22:58 | [diff] [blame] | 1465 | }, |
mkosiba | f6ebbf6b | 2014-09-30 14:42:39 | [diff] [blame] | 1466 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | 3b45550 | 2012-12-11 18:22:58 | [diff] [blame] | 1467 | }, |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1468 | { |
[email protected] | 23073f9 | 2014-01-17 22:52:17 | [diff] [blame] | 1469 | 'target_name': 'cert_verify_status_android_java', |
[email protected] | 71f4b27 | 2013-02-13 19:13:49 | [diff] [blame] | 1470 | 'type': 'none', |
[email protected] | 71f4b27 | 2013-02-13 19:13:49 | [diff] [blame] | 1471 | 'variables': { |
mkosiba | f6ebbf6b | 2014-09-30 14:42:39 | [diff] [blame] | 1472 | 'source_file': 'android/cert_verify_result_android.h', |
[email protected] | 71f4b27 | 2013-02-13 19:13:49 | [diff] [blame] | 1473 | }, |
mkosiba | f6ebbf6b | 2014-09-30 14:42:39 | [diff] [blame] | 1474 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | 71f4b27 | 2013-02-13 19:13:49 | [diff] [blame] | 1475 | }, |
| 1476 | { |
jkarlin | 0818d525 | 2014-12-02 21:06:02 | [diff] [blame] | 1477 | 'target_name': 'network_change_notifier_types_java', |
| 1478 | 'type': 'none', |
| 1479 | 'variables': { |
| 1480 | 'source_file': 'base/network_change_notifier.h', |
| 1481 | }, |
| 1482 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 1483 | }, |
| 1484 | { |
pauljensen | be5bc323 | 2015-10-05 20:39:27 | [diff] [blame] | 1485 | 'target_name': 'network_change_notifier_android_types_java', |
| 1486 | 'type': 'none', |
| 1487 | 'variables': { |
| 1488 | 'source_file': 'android/network_change_notifier_android.cc', |
| 1489 | }, |
| 1490 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 1491 | }, |
| 1492 | { |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1493 | 'target_name': 'private_key_types_java', |
| 1494 | 'type': 'none', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1495 | 'variables': { |
mkosiba | f6ebbf6b | 2014-09-30 14:42:39 | [diff] [blame] | 1496 | 'source_file': 'android/keystore.h', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1497 | }, |
mkosiba | f6ebbf6b | 2014-09-30 14:42:39 | [diff] [blame] | 1498 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1499 | }, |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 1500 | { |
tbansal | 59a1ddc | 2015-09-14 17:35:01 | [diff] [blame] | 1501 | 'target_name': 'traffic_stats_error_java', |
| 1502 | 'type': 'none', |
| 1503 | 'variables': { |
| 1504 | 'source_file': 'android/traffic_stats.cc', |
| 1505 | }, |
| 1506 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 1507 | }, |
| 1508 | { |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 1509 | 'target_name': 'net_unittests_apk', |
| 1510 | 'type': 'none', |
| 1511 | 'dependencies': [ |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 1512 | 'net_java', |
[email protected] | 03a07b2e | 2013-02-11 20:13:45 | [diff] [blame] | 1513 | 'net_javatests', |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 1514 | 'net_java_test_support', |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 1515 | 'net_unittests', |
| 1516 | ], |
baixo | 5431a0dd | 2014-11-13 17:00:32 | [diff] [blame] | 1517 | 'conditions': [ |
| 1518 | ['v8_use_external_startup_data==1', { |
| 1519 | 'dependencies': [ |
| 1520 | '../v8/tools/gyp/v8.gyp:v8_external_snapshot', |
| 1521 | ], |
| 1522 | 'copies': [ |
| 1523 | { |
| 1524 | 'destination': '<(asset_location)', |
| 1525 | 'files': [ |
| 1526 | '<(PRODUCT_DIR)/natives_blob.bin', |
| 1527 | '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 1528 | ], |
| 1529 | }, |
| 1530 | ], |
| 1531 | }], |
| 1532 | ], |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 1533 | 'variables': { |
| 1534 | 'test_suite_name': 'net_unittests', |
mikecase | 56d80d7 | 2015-06-03 00:57:26 | [diff] [blame] | 1535 | 'isolate_file': 'net_unittests.isolate', |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 1536 | 'android_manifest_path': 'android/unittest_support/AndroidManifest.xml', |
| 1537 | 'resource_dir': 'android/unittest_support/res', |
baixo | 3a3c88a | 2014-10-28 11:52:21 | [diff] [blame] | 1538 | 'conditions': [ |
| 1539 | ['v8_use_external_startup_data==1', { |
baixo | 5431a0dd | 2014-11-13 17:00:32 | [diff] [blame] | 1540 | 'asset_location': '<(PRODUCT_DIR)/net_unittests_apk/assets', |
baixo | 3a3c88a | 2014-10-28 11:52:21 | [diff] [blame] | 1541 | 'additional_input_paths': [ |
baixo | 5431a0dd | 2014-11-13 17:00:32 | [diff] [blame] | 1542 | '<(PRODUCT_DIR)/net_unittests_apk/assets/natives_blob.bin', |
| 1543 | '<(PRODUCT_DIR)/net_unittests_apk/assets/snapshot_blob.bin', |
| 1544 | ], |
baixo | 3a3c88a | 2014-10-28 11:52:21 | [diff] [blame] | 1545 | }], |
| 1546 | ], |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 1547 | }, |
| 1548 | 'includes': [ '../build/apk_test.gypi' ], |
| 1549 | }, |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 1550 | { |
| 1551 | 'target_name': 'net_junit_tests', |
| 1552 | 'type': 'none', |
| 1553 | 'dependencies': [ |
| 1554 | 'net_java', |
| 1555 | '../base/base.gyp:base', |
| 1556 | '../base/base.gyp:base_java_test_support', |
jbudorick | f091dcb | 2015-08-25 21:36:59 | [diff] [blame] | 1557 | '../base/base.gyp:base_junit_test_support', |
aberent | ec894a5 | 2015-07-09 14:45:53 | [diff] [blame] | 1558 | '../testing/android/junit/junit_test.gyp:junit_test_support', |
| 1559 | ], |
| 1560 | 'variables': { |
| 1561 | 'main_class': 'org.chromium.testing.local.JunitTestMain', |
| 1562 | 'src_paths': [ |
| 1563 | 'android/junit/', |
| 1564 | ], |
| 1565 | }, |
| 1566 | 'includes': [ |
| 1567 | '../build/host_jar.gypi', |
| 1568 | ], |
| 1569 | }, |
stip | bf7e148 | 2015-10-12 22:31:00 | [diff] [blame] | 1570 | ], |
| 1571 | 'conditions': [ |
| 1572 | ['test_isolation_mode != "noop"', |
| 1573 | { |
| 1574 | 'targets': [ |
| 1575 | { |
| 1576 | 'target_name': 'net_unittests_apk_run', |
| 1577 | 'type': 'none', |
| 1578 | 'dependencies': [ |
| 1579 | 'net_unittests_apk', |
| 1580 | ], |
| 1581 | 'includes': [ |
| 1582 | '../build/isolate.gypi', |
| 1583 | ], |
| 1584 | 'sources': [ |
| 1585 | 'net_unittests_apk.isolate', |
| 1586 | ], |
| 1587 | }, |
| 1588 | ] |
| 1589 | } |
| 1590 | ], |
[email protected] | a44d121 | 2012-05-25 20:17:49 | [diff] [blame] | 1591 | ], |
| 1592 | }], |
[email protected] | 28af123 | 2013-08-26 18:49:29 | [diff] [blame] | 1593 | ['OS == "android" or OS == "linux"', { |
| 1594 | 'targets': [ |
| 1595 | { |
| 1596 | 'target_name': 'disk_cache_memory_test', |
| 1597 | 'type': 'executable', |
| 1598 | 'dependencies': [ |
| 1599 | '../base/base.gyp:base', |
| 1600 | 'net', |
| 1601 | ], |
| 1602 | 'sources': [ |
| 1603 | 'tools/disk_cache_memory_test/disk_cache_memory_test.cc', |
| 1604 | ], |
| 1605 | }, |
| 1606 | ], |
| 1607 | }], |
[email protected] | d34eb41 | 2012-07-28 00:03:41 | [diff] [blame] | 1608 | ['test_isolation_mode != "noop"', { |
| 1609 | 'targets': [ |
| 1610 | { |
| 1611 | 'target_name': 'net_unittests_run', |
| 1612 | 'type': 'none', |
| 1613 | 'dependencies': [ |
| 1614 | 'net_unittests', |
| 1615 | ], |
| 1616 | 'includes': [ |
[email protected] | cc902cb | 2013-07-12 00:54:49 | [diff] [blame] | 1617 | '../build/isolate.gypi', |
[email protected] | d34eb41 | 2012-07-28 00:03:41 | [diff] [blame] | 1618 | ], |
[email protected] | cc902cb | 2013-07-12 00:54:49 | [diff] [blame] | 1619 | 'sources': [ |
| 1620 | 'net_unittests.isolate', |
[email protected] | d34eb41 | 2012-07-28 00:03:41 | [diff] [blame] | 1621 | ], |
| 1622 | }, |
| 1623 | ], |
| 1624 | }], |
[email protected] | 2f80c31 | 2009-02-25 21:26:55 | [diff] [blame] | 1625 | ], |
| 1626 | } |