1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
9 'linux_link_kerberos%': 0,
10 'use_tracing_cache_backend%': 0,
12 ['chromeos==1 or embedded==1 or OS=="android" or OS=="ios"', {
13 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
14 # It needs configuration (krb5.conf and so on).
16 }, { # chromeos == 0 and embedded==0 and OS!="android" and OS!="ios"
19 ['OS=="android" and target_arch != "ia32"', {
20 # The way the cache uses mmap() is inefficient on some Android devices.
21 # If this flag is set, we hackily avoid using mmap() in the disk cache.
22 # We are pretty confident that mmap-ing the index would not hurt any
23 # existing x86 android devices, but we cannot be so sure about the
24 # variety of ARM devices. So enable it for x86 only for now.
25 'posix_avoid_mmap%': 1,
27 'posix_avoid_mmap%': 0,
30 # Websockets and socket stream are not used on iOS.
31 'enable_websockets%': 0,
32 # iOS does not use V8.
34 'enable_built_in_dns%': 0,
36 'enable_websockets%': 1,
38 'enable_built_in_dns%': 1,
43 '../build/win_precompile.gypi',
48 'target_name': 'net_derived_sources',
51 'base/registry_controlled_domains/effective_tld_names.gperf',
52 'base/registry_controlled_domains/effective_tld_names_unittest1.gperf',
53 'base/registry_controlled_domains/effective_tld_names_unittest2.gperf',
54 'base/registry_controlled_domains/effective_tld_names_unittest3.gperf',
55 'base/registry_controlled_domains/effective_tld_names_unittest4.gperf',
56 'base/registry_controlled_domains/effective_tld_names_unittest5.gperf',
57 'base/registry_controlled_domains/effective_tld_names_unittest6.gperf',
64 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc',
67 'tools/tld_cleanup/make_dafsa.py',
71 'tools/tld_cleanup/make_dafsa.py',
73 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc',
77 'direct_dependent_settings': {
79 '<(SHARED_INTERMEDIATE_DIR)'
85 'type': '<(component)',
86 'variables': { 'enable_wexit_time_destructors': 1, },
88 '../base/base.gyp:base',
89 '../base/base.gyp:base_i18n',
90 '../base/base.gyp:base_prefs',
91 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
92 '../crypto/crypto.gyp:crypto',
93 '../sdch/sdch.gyp:sdch',
94 '../third_party/icu/icu.gyp:icui18n',
95 '../third_party/icu/icu.gyp:icuuc',
96 '../third_party/zlib/zlib.gyp:zlib',
97 '../url/url.gyp:url_lib',
98 'net_derived_sources',
102 '<@(net_nacl_common_sources)',
103 '<@(net_non_nacl_sources)',
106 'NET_IMPLEMENTATION',
108 'export_dependent_settings': [
109 '../base/base.gyp:base',
114 'base/network_change_notifier_linux.cc',
115 'base/network_change_notifier_linux.h',
116 'base/network_change_notifier_netlink_linux.cc',
117 'base/network_change_notifier_netlink_linux.h',
118 'proxy/proxy_config_service_linux.cc',
119 'proxy/proxy_config_service_linux.h',
122 ['use_kerberos==1', {
129 '/usr/include/kerberosV'
132 ['linux_link_kerberos==1', {
135 '<!@(krb5-config --libs gssapi)',
138 }, { # linux_link_kerberos==0
144 }, { # use_kerberos == 0
146 'http/http_auth_gssapi_posix.cc',
147 'http/http_auth_gssapi_posix.h',
148 'http/http_auth_handler_negotiate.h',
149 'http/http_auth_handler_negotiate.cc',
152 ['posix_avoid_mmap==1', {
156 'direct_dependent_settings': {
162 'disk_cache/blockfile/mapped_file_posix.cc',
166 'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc',
169 ['disable_file_support==1', {
170 # TODO(mmenke): Should probably get rid of the dependency on
171 # net_resources in this case (It's used in net_util, to format
172 # directory listings. Also used outside of net/).
174 'base/directory_lister.cc',
175 'base/directory_lister.h',
176 'url_request/url_request_file_dir_job.cc',
177 'url_request/url_request_file_dir_job.h',
178 'url_request/url_request_file_job.cc',
179 'url_request/url_request_file_job.h',
180 'url_request/file_protocol_handler.cc',
181 'url_request/file_protocol_handler.h',
184 ['disable_ftp_support==1', {
186 ['exclude', '^ftp/'],
189 'url_request/ftp_protocol_handler.cc',
190 'url_request/ftp_protocol_handler.h',
191 'url_request/url_request_ftp_job.cc',
192 'url_request/url_request_ftp_job.h',
195 ['enable_built_in_dns==1', {
197 'ENABLE_BUILT_IN_DNS',
201 'dns/address_sorter_posix.cc',
202 'dns/address_sorter_posix.h',
206 ['use_tracing_cache_backend==1', {
208 'USE_TRACING_CACHE_BACKEND'
213 'base/crypto_module_nss.cc',
214 'base/keygen_handler_nss.cc',
217 'cert/cert_database_nss.cc',
218 'cert/cert_verify_proc_nss.cc',
219 'cert/cert_verify_proc_nss.h',
220 'cert/ct_log_verifier_nss.cc',
221 'cert/ct_objects_extractor_nss.cc',
222 'cert/jwk_serializer_nss.cc',
223 'cert/nss_cert_database.cc',
224 'cert/nss_cert_database.h',
225 'cert/nss_cert_database_chromeos.cc',
226 'cert/nss_cert_database_chromeos.h',
227 'cert/nss_profile_filter_chromeos.cc',
228 'cert/nss_profile_filter_chromeos.h',
229 'cert/scoped_nss_types.h',
230 'cert/test_root_certs_nss.cc',
231 'cert/x509_certificate_nss.cc',
232 'cert/x509_util_nss.cc',
233 'cert/x509_util_nss.h',
236 'quic/crypto/aead_base_decrypter_nss.cc',
237 'quic/crypto/aead_base_encrypter_nss.cc',
238 'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
239 'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
240 'quic/crypto/chacha20_poly1305_decrypter_nss.cc',
241 'quic/crypto/chacha20_poly1305_encrypter_nss.cc',
242 'quic/crypto/channel_id_nss.cc',
243 'quic/crypto/p256_key_exchange_nss.cc',
244 'socket/nss_ssl_util.cc',
245 'socket/nss_ssl_util.h',
246 'socket/ssl_client_socket_nss.cc',
247 'socket/ssl_client_socket_nss.h',
248 'socket/ssl_server_socket_nss.cc',
249 'socket/ssl_server_socket_nss.h',
250 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
251 'third_party/mozilla_security_manager/nsKeygenHandler.h',
252 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
253 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
254 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
255 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
258 '../third_party/boringssl/boringssl.gyp:boringssl',
261 { # else !use_openssl: remove the unneeded files
263 'base/crypto_module_openssl.cc',
264 'cert/ct_log_verifier_openssl.cc',
265 'cert/ct_objects_extractor_openssl.cc',
266 'cert/jwk_serializer_openssl.cc',
267 'cert/x509_util_openssl.cc',
268 'cert/x509_util_openssl.h',
269 'crypto/scoped_openssl_types.h',
270 'quic/crypto/aead_base_decrypter_openssl.cc',
271 'quic/crypto/aead_base_encrypter_openssl.cc',
272 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
273 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
274 'quic/crypto/chacha20_poly1305_decrypter_openssl.cc',
275 'quic/crypto/chacha20_poly1305_encrypter_openssl.cc',
276 'quic/crypto/channel_id_openssl.cc',
277 'quic/crypto/p256_key_exchange_openssl.cc',
278 'quic/crypto/scoped_evp_aead_ctx.cc',
279 'quic/crypto/scoped_evp_aead_ctx.h',
280 'socket/ssl_client_socket_openssl.cc',
281 'socket/ssl_client_socket_openssl.h',
282 'socket/ssl_server_socket_openssl.cc',
283 'socket/ssl_server_socket_openssl.h',
284 'socket/ssl_session_cache_openssl.cc',
285 'socket/ssl_session_cache_openssl.h',
286 'ssl/openssl_platform_key_mac.cc',
287 'ssl/openssl_platform_key_win.cc',
288 'ssl/openssl_platform_key.h',
289 'ssl/openssl_ssl_util.cc',
290 'ssl/openssl_ssl_util.h',
294 [ 'use_openssl_certs == 0', {
296 'base/keygen_handler_openssl.cc',
297 'base/openssl_private_key_store.h',
298 'base/openssl_private_key_store_android.cc',
299 'base/openssl_private_key_store_memory.cc',
300 'cert/cert_database_openssl.cc',
301 'cert/cert_verify_proc_openssl.cc',
302 'cert/cert_verify_proc_openssl.h',
303 'cert/test_root_certs_openssl.cc',
304 'cert/x509_certificate_openssl.cc',
305 'ssl/openssl_client_key_store.cc',
306 'ssl/openssl_client_key_store.h',
311 '../build/linux/system.gyp:gconf',
312 '../build/linux/system.gyp:gio',
315 [ 'desktop_linux == 1 or chromeos == 1', {
317 ['use_openssl == 0', {
320 '../build/linux/system.gyp:ssl',
325 'base/network_change_notifier_linux.cc',
326 'base/network_change_notifier_netlink_linux.cc',
327 'proxy/proxy_config_service_linux.cc',
331 '../build/linux/system.gyp:libresolv',
343 { # else: OS is not in the above list
345 'base/crypto_module_nss.cc',
346 'base/keygen_handler_nss.cc',
347 'cert/cert_database_nss.cc',
348 'cert/nss_cert_database.cc',
349 'cert/nss_cert_database.h',
350 'cert/test_root_certs_nss.cc',
351 'cert/x509_certificate_nss.cc',
354 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
355 'third_party/mozilla_security_manager/nsKeygenHandler.h',
356 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
357 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
358 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
359 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
365 'cert/cert_verify_proc_nss.cc',
366 'cert/cert_verify_proc_nss.h',
367 'ssl/client_cert_store_nss.cc',
368 'ssl/client_cert_store_nss.h',
369 'ssl/client_cert_store_chromeos.cc',
370 'ssl/client_cert_store_chromeos.h',
373 [ 'enable_websockets != 1', {
375 ['exclude', '^socket_stream/'],
376 ['exclude', '^websockets/'],
379 'spdy/spdy_websocket_stream.cc',
380 'spdy/spdy_websocket_stream.h',
383 [ 'enable_mdns != 1', {
387 'dns/mdns_client.cc',
389 'dns/mdns_client_impl.cc',
390 'dns/mdns_client_impl.h',
391 'dns/record_parsed.cc',
392 'dns/record_parsed.h',
393 'dns/record_rdata.cc',
394 'dns/record_rdata.h',
399 'http/http_auth_handler_ntlm_portable.cc',
400 'socket/socket_libevent.cc',
401 'socket/socket_libevent.h',
402 'socket/tcp_socket_libevent.cc',
403 'socket/tcp_socket_libevent.h',
404 'udp/udp_socket_libevent.cc',
405 'udp/udp_socket_libevent.h',
408 '../third_party/nss/nss.gyp:nspr',
409 '../third_party/nss/nss.gyp:nss',
410 'third_party/nss/ssl.gyp:libssl',
412 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
413 'msvs_disabled_warnings': [4267, ],
414 }, { # else: OS != "win"
416 'base/winsock_init.cc',
417 'base/winsock_init.h',
418 'base/winsock_util.cc',
419 'base/winsock_util.h',
420 'proxy/proxy_resolver_winhttp.cc',
421 'proxy/proxy_resolver_winhttp.h',
427 [ 'use_openssl == 0', {
430 '../third_party/nss/nss.gyp:nspr',
431 '../third_party/nss/nss.gyp:nss',
432 'third_party/nss/ssl.gyp:libssl',
438 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
439 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
440 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
441 '$(SDKROOT)/usr/lib/libresolv.dylib',
448 '../third_party/nss/nss.gyp:nss',
449 'third_party/nss/ssl.gyp:libssl',
452 'disk_cache/blockfile/file_posix.cc',
456 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
457 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
458 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
459 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
460 '$(SDKROOT)/usr/lib/libresolv.dylib',
465 ['OS=="android" and _toolset=="target" and android_webview_build == 0', {
470 [ 'OS == "android"', {
472 '../third_party/boringssl/boringssl.gyp:boringssl',
476 'base/openssl_private_key_store_memory.cc',
477 'cert/cert_database_openssl.cc',
478 'cert/cert_verify_proc_openssl.cc',
479 'cert/test_root_certs_openssl.cc',
483 [ 'use_icu_alternatives_on_android == 1', {
485 '../base/base.gyp:base_i18n',
486 '../third_party/icu/icu.gyp:icui18n',
487 '../third_party/icu/icu.gyp:icuuc',
490 'base/filename_util_icu.cc',
491 'base/net_string_util_icu.cc',
492 'base/net_util_icu.cc',
495 'base/net_string_util_icu_alternatives_android.cc',
496 'base/net_string_util_icu_alternatives_android.h',
501 'target_conditions': [
502 # These source files are excluded by default platform rules, but they
503 # are needed in specific cases on other platforms. Re-including them can
504 # only be done in target_conditions as it is evaluated after the
506 ['OS == "android"', {
508 ['include', '^base/platform_mime_util_linux\\.cc$'],
509 ['include', '^base/address_tracker_linux\\.cc$'],
510 ['include', '^base/address_tracker_linux\\.h$'],
515 ['include', '^base/network_change_notifier_mac\\.cc$'],
516 ['include', '^base/network_config_watcher_mac\\.cc$'],
517 ['include', '^base/platform_mime_util_mac\\.mm$'],
518 # The iOS implementation only partially uses NSS and thus does not
519 # defines |use_nss|. In particular the |USE_NSS| preprocessor
520 # definition is not used. The following files are needed though:
521 ['include', '^cert/cert_verify_proc_nss\\.cc$'],
522 ['include', '^cert/cert_verify_proc_nss\\.h$'],
523 ['include', '^cert/test_root_certs_nss\\.cc$'],
524 ['include', '^cert/x509_util_nss\\.cc$'],
525 ['include', '^cert/x509_util_nss\\.h$'],
526 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
527 ['include', '^proxy/proxy_server_mac\\.cc$'],
528 ['include', '^ocsp/nss_ocsp\\.cc$'],
529 ['include', '^ocsp/nss_ocsp\\.h$'],
535 'target_name': 'net_unittests',
536 'type': '<(gtest_target_type)',
538 '../base/base.gyp:base',
539 '../base/base.gyp:base_i18n',
540 '../base/base.gyp:base_prefs_test_support',
541 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
542 '../crypto/crypto.gyp:crypto',
543 '../crypto/crypto.gyp:crypto_test_support',
544 '../testing/gmock.gyp:gmock',
545 '../testing/gtest.gyp:gtest',
546 '../third_party/zlib/zlib.gyp:zlib',
547 '../url/url.gyp:url_lib',
551 'net_derived_sources',
557 '<@(net_test_sources)',
560 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
563 'flip_in_mem_edsm_server_base',
567 '<@(net_linux_test_sources)',
572 'proxy/proxy_config_service_linux_unittest.cc',
575 [ 'OS == "android"', {
577 # See bug http://crbug.com/344533.
578 'disk_cache/blockfile/index_table_v3_unittest.cc',
579 # No res_ninit() et al on Android, so this doesn't make a lot of
581 'dns/dns_config_service_posix_unittest.cc',
585 'net_test_jni_headers',
590 'ssl/client_cert_store_nss_unittest.cc',
591 'ssl/client_cert_store_chromeos_unittest.cc',
594 [ 'use_openssl == 1', {
595 # Avoid compiling/linking with the system library.
597 '../third_party/boringssl/boringssl.gyp:boringssl',
599 }, { # use_openssl == 0
601 [ 'desktop_linux == 1 or chromeos == 1', {
603 '../build/linux/system.gyp:ssl',
605 }, { # desktop_linux == 0 and chromeos == 0
607 'cert/nss_cert_database_unittest.cc',
612 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
614 ['use_allocator!="none"', {
616 '../base/allocator/allocator.gyp:allocator',
621 [ 'use_kerberos==1', {
625 }, { # use_kerberos == 0
627 'http/http_auth_gssapi_posix_unittest.cc',
628 'http/http_auth_handler_negotiate_unittest.cc',
629 'http/mock_gssapi_library_posix.cc',
630 'http/mock_gssapi_library_posix.h',
633 [ 'use_openssl == 1 or (desktop_linux == 0 and chromeos == 0 and OS != "ios")', {
634 # Only include this test when on Posix and using NSS for
635 # cert verification or on iOS (which also uses NSS for certs).
637 'ocsp/nss_ocsp_unittest.cc',
640 [ 'use_openssl==1', {
641 # When building for OpenSSL, we need to exclude NSS specific tests
642 # or functionality not supported by OpenSSL yet.
643 # TODO(bulach): Add equivalent tests when the underlying
644 # functionality is ported to OpenSSL.
646 'cert/nss_cert_database_unittest.cc',
647 'cert/nss_cert_database_chromeos_unittest.cc',
648 'cert/nss_profile_filter_chromeos_unittest.cc',
649 'cert/x509_util_nss_unittest.cc',
650 'quic/test_tools/crypto_test_utils_nss.cc',
652 }, { # else !use_openssl: remove the unneeded files
654 'cert/x509_util_openssl_unittest.cc',
655 'quic/test_tools/crypto_test_utils_openssl.cc',
656 'socket/ssl_client_socket_openssl_unittest.cc',
657 'socket/ssl_session_cache_openssl_unittest.cc',
661 [ 'use_openssl_certs == 0', {
663 'ssl/openssl_client_key_store_unittest.cc',
666 [ 'enable_websockets != 1', {
668 ['exclude', '^socket_stream/'],
669 ['exclude', '^websockets/'],
670 ['exclude', '^spdy/spdy_websocket_stream_unittest\\.cc$'],
673 ['disable_file_support==1', {
675 'base/directory_lister_unittest.cc',
676 'url_request/url_request_file_job_unittest.cc',
679 [ 'disable_ftp_support==1', {
681 ['exclude', '^ftp/'],
684 'url_request/url_request_ftp_job_unittest.cc',
688 [ 'enable_built_in_dns!=1', {
690 'dns/address_sorter_posix_unittest.cc',
691 'dns/address_sorter_unittest.cc',
695 # Always need use_v8_in_net to be 1 to run gyp on Android, so just
696 # remove net_unittest's dependency on v8 when using icu alternatives
697 # instead of setting use_v8_in_net to 0.
698 [ 'use_v8_in_net==1 and use_icu_alternatives_on_android==0', {
702 }, { # else: !use_v8_in_net
704 'proxy/proxy_resolver_v8_unittest.cc',
705 'proxy/proxy_resolver_v8_tracing_unittest.cc',
710 [ 'enable_mdns != 1', {
712 'dns/mdns_cache_unittest.cc',
713 'dns/mdns_client_unittest.cc',
714 'dns/mdns_query_unittest.cc',
715 'dns/record_parsed_unittest.cc',
716 'dns/record_rdata_unittest.cc',
721 'dns/dns_config_service_posix_unittest.cc',
722 'http/http_auth_gssapi_posix_unittest.cc',
725 '../third_party/nss/nss.gyp:nspr',
726 '../third_party/nss/nss.gyp:nss',
727 'third_party/nss/ssl.gyp:libssl',
730 [ 'icu_use_data_file_flag == 0', {
731 # This is needed to trigger the dll copy step on windows.
732 # TODO(mark): Specifying this here shouldn't be necessary.
734 '../third_party/icu/icu.gyp:icudata',
738 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
739 'msvs_disabled_warnings': [4267, ],
742 [ 'OS == "mac" and use_openssl == 0', {
744 '../third_party/nss/nss.gyp:nspr',
745 '../third_party/nss/nss.gyp:nss',
746 'third_party/nss/ssl.gyp:libssl',
752 '../third_party/nss/nss.gyp:nss',
756 'action_name': 'copy_test_data',
759 'data/ssl/certificates/',
761 'data/url_request_unittest/',
763 'test_data_prefix': 'net',
765 'includes': [ '../build/copy_test_data_ios.gypi' ],
769 # TODO(droger): The following tests are disabled because the
770 # implementation is missing or incomplete.
771 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
772 'base/keygen_handler_unittest.cc',
773 'disk_cache/backend_unittest.cc',
774 'disk_cache/blockfile/block_files_unittest.cc',
775 # Need to read input data files.
776 'filter/gzip_filter_unittest.cc',
777 'socket/ssl_server_socket_unittest.cc',
778 'spdy/fuzzing/hpack_fuzz_util_test.cc',
780 'proxy/proxy_script_fetcher_impl_unittest.cc',
781 'socket/ssl_client_socket_unittest.cc',
782 'url_request/url_fetcher_impl_unittest.cc',
783 'url_request/url_request_context_builder_unittest.cc',
784 # Needs GetAppOutput().
785 'test/python_utils_unittest.cc',
787 # The following tests are disabled because they don't apply to
789 # OS is not "linux" or "freebsd" or "openbsd".
790 'socket/unix_domain_client_socket_posix_unittest.cc',
791 'socket/unix_domain_listen_socket_posix_unittest.cc',
792 'socket/unix_domain_server_socket_posix_unittest.cc',
794 # See bug http://crbug.com/344533.
795 'disk_cache/blockfile/index_table_v3_unittest.cc',
798 [ 'OS == "android"', {
800 '../third_party/boringssl/boringssl.gyp:boringssl',
803 'dns/dns_config_service_posix_unittest.cc',
807 ['OS == "android"', {
808 # TODO(mmenke): This depends on test_support_base, which depends on
809 # icu. Figure out a way to remove that dependency.
811 '../testing/android/native_test.gyp:native_test_native_code',
814 [ 'use_icu_alternatives_on_android == 1', {
816 '../base/base.gyp:base_i18n',
819 'base/filename_util_unittest.cc',
820 'base/net_util_icu_unittest.cc',
825 'target_conditions': [
826 # These source files are excluded by default platform rules, but they
827 # are needed in specific cases on other platforms. Re-including them can
828 # only be done in target_conditions as it is evaluated after the
830 ['OS == "android"', {
832 ['include', '^base/address_tracker_linux_unittest\\.cc$'],
838 'target_name': 'net_perftests',
839 'type': 'executable',
841 '../base/base.gyp:base',
842 '../base/base.gyp:base_i18n',
843 '../base/base.gyp:test_support_perf',
844 '../testing/gtest.gyp:gtest',
845 '../url/url.gyp:url_lib',
850 'cookies/cookie_monster_perftest.cc',
851 'disk_cache/blockfile/disk_cache_perftest.cc',
852 'proxy/proxy_resolver_perftest.cc',
853 'websockets/websocket_frame_perftest.cc',
856 [ 'use_v8_in_net==1', {
860 }, { # else: !use_v8_in_net
862 'proxy/proxy_resolver_perftest.cc',
868 [ 'icu_use_data_file_flag == 0', {
869 # This is needed to trigger the dll copy step on windows.
870 # TODO(mark): Specifying this here shouldn't be necessary.
872 '../third_party/icu/icu.gyp:icudata',
876 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
877 'msvs_disabled_warnings': [4267, ],
879 [ 'enable_websockets != 1', {
881 'websockets/websocket_frame_perftest.cc',
887 'target_name': 'net_test_support',
888 'type': 'static_library',
890 '../base/base.gyp:base',
891 '../base/base.gyp:test_support_base',
892 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
893 '../testing/gtest.gyp:gtest',
894 '../testing/gmock.gyp:gmock',
895 '../url/url.gyp:url_lib',
898 'export_dependent_settings': [
899 '../base/base.gyp:base',
900 # TODO(mmenke): This depends on icu, figure out a way to build tests
902 '../base/base.gyp:test_support_base',
903 '../testing/gtest.gyp:gtest',
904 '../testing/gmock.gyp:gmock',
907 'base/capturing_net_log.cc',
908 'base/capturing_net_log.h',
909 'base/load_timing_info_test_util.cc',
910 'base/load_timing_info_test_util.h',
911 'base/mock_file_stream.cc',
912 'base/mock_file_stream.h',
913 'base/test_completion_callback.cc',
914 'base/test_completion_callback.h',
915 'base/test_data_directory.cc',
916 'base/test_data_directory.h',
917 'cert/mock_cert_verifier.cc',
918 'cert/mock_cert_verifier.h',
919 'cookies/cookie_monster_store_test.cc',
920 'cookies/cookie_monster_store_test.h',
921 'cookies/cookie_store_test_callbacks.cc',
922 'cookies/cookie_store_test_callbacks.h',
923 'cookies/cookie_store_test_helpers.cc',
924 'cookies/cookie_store_test_helpers.h',
925 'disk_cache/disk_cache_test_base.cc',
926 'disk_cache/disk_cache_test_base.h',
927 'disk_cache/disk_cache_test_util.cc',
928 'disk_cache/disk_cache_test_util.h',
929 'dns/dns_test_util.cc',
930 'dns/dns_test_util.h',
931 'dns/mock_host_resolver.cc',
932 'dns/mock_host_resolver.h',
933 'dns/mock_mdns_socket_factory.cc',
934 'dns/mock_mdns_socket_factory.h',
935 'http/http_transaction_test_util.cc',
936 'http/http_transaction_test_util.h',
937 'proxy/mock_proxy_resolver.cc',
938 'proxy/mock_proxy_resolver.h',
939 'proxy/mock_proxy_script_fetcher.cc',
940 'proxy/mock_proxy_script_fetcher.h',
941 'proxy/proxy_config_service_common_unittest.cc',
942 'proxy/proxy_config_service_common_unittest.h',
943 'socket/socket_test_util.cc',
944 'socket/socket_test_util.h',
945 'test/cert_test_util.cc',
946 'test/cert_test_util.h',
947 'test/cert_test_util_nss.cc',
948 'test/ct_test_util.cc',
949 'test/ct_test_util.h',
950 'test/embedded_test_server/embedded_test_server.cc',
951 'test/embedded_test_server/embedded_test_server.h',
952 'test/embedded_test_server/http_connection.cc',
953 'test/embedded_test_server/http_connection.h',
954 'test/embedded_test_server/http_request.cc',
955 'test/embedded_test_server/http_request.h',
956 'test/embedded_test_server/http_response.cc',
957 'test/embedded_test_server/http_response.h',
958 'test/net_test_suite.cc',
959 'test/net_test_suite.h',
960 'test/python_utils.cc',
961 'test/python_utils.h',
962 'test/spawned_test_server/base_test_server.cc',
963 'test/spawned_test_server/base_test_server.h',
964 'test/spawned_test_server/local_test_server_posix.cc',
965 'test/spawned_test_server/local_test_server_win.cc',
966 'test/spawned_test_server/local_test_server.cc',
967 'test/spawned_test_server/local_test_server.h',
968 'test/spawned_test_server/remote_test_server.cc',
969 'test/spawned_test_server/remote_test_server.h',
970 'test/spawned_test_server/spawned_test_server.h',
971 'test/spawned_test_server/spawner_communicator.cc',
972 'test/spawned_test_server/spawner_communicator.h',
973 'url_request/test_url_fetcher_factory.cc',
974 'url_request/test_url_fetcher_factory.h',
975 'url_request/url_request_test_util.cc',
976 'url_request/url_request_test_util.h',
981 '../third_party/protobuf/protobuf.gyp:py_proto',
984 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
988 '../third_party/boringssl/boringssl.gyp:boringssl',
992 '../build/linux/system.gyp:ssl',
997 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
999 ['use_allocator!="none"', {
1001 '../base/allocator/allocator.gyp:allocator',
1006 ['OS != "android"', {
1008 'test/spawned_test_server/remote_test_server.cc',
1009 'test/spawned_test_server/remote_test_server.h',
1010 'test/spawned_test_server/spawner_communicator.cc',
1011 'test/spawned_test_server/spawner_communicator.h',
1016 '../third_party/nss/nss.gyp:nss',
1019 [ 'use_v8_in_net==1', {
1025 [ 'enable_mdns != 1', {
1027 'dns/mock_mdns_socket_factory.cc',
1028 'dns/mock_mdns_socket_factory.h'
1033 'test/cert_test_util_nss.cc',
1037 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1038 'msvs_disabled_warnings': [4267, ],
1041 'target_name': 'net_resources',
1044 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
1048 'action_name': 'net_resources',
1050 'grit_grd_file': 'base/net_resources.grd',
1052 'includes': [ '../build/grit_action.gypi' ],
1057 'target_name': 'net_extras',
1058 'type': 'static_library',
1059 'variables': { 'enable_wexit_time_destructors': 1, },
1061 '../base/base.gyp:base',
1062 '../sql/sql.gyp:sql',
1066 '<@(net_extras_sources)',
1070 'target_name': 'http_server',
1071 'type': 'static_library',
1072 'variables': { 'enable_wexit_time_destructors': 1, },
1074 '../base/base.gyp:base',
1078 'server/http_connection.cc',
1079 'server/http_connection.h',
1080 'server/http_server.cc',
1081 'server/http_server.h',
1082 'server/http_server_request_info.cc',
1083 'server/http_server_request_info.h',
1084 'server/http_server_response_info.cc',
1085 'server/http_server_response_info.h',
1086 'server/web_socket.cc',
1087 'server/web_socket.h',
1089 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1090 'msvs_disabled_warnings': [4267, ],
1093 'target_name': 'balsa',
1094 'type': 'static_library',
1096 '../base/base.gyp:base',
1100 'tools/balsa/balsa_enums.h',
1101 'tools/balsa/balsa_frame.cc',
1102 'tools/balsa/balsa_frame.h',
1103 'tools/balsa/balsa_headers.cc',
1104 'tools/balsa/balsa_headers.h',
1105 'tools/balsa/balsa_headers_token_utils.cc',
1106 'tools/balsa/balsa_headers_token_utils.h',
1107 'tools/balsa/balsa_visitor_interface.h',
1108 'tools/balsa/http_message_constants.cc',
1109 'tools/balsa/http_message_constants.h',
1110 'tools/balsa/noop_balsa_visitor.h',
1111 'tools/balsa/simple_buffer.cc',
1112 'tools/balsa/simple_buffer.h',
1113 'tools/balsa/split.cc',
1114 'tools/balsa/split.h',
1115 'tools/balsa/string_piece_utils.h',
1116 'tools/quic/spdy_utils.cc',
1117 'tools/quic/spdy_utils.h',
1121 'target_name': 'dump_cache',
1122 'type': 'executable',
1124 '../base/base.gyp:base',
1129 'tools/dump_cache/cache_dumper.cc',
1130 'tools/dump_cache/cache_dumper.h',
1131 'tools/dump_cache/dump_cache.cc',
1132 'tools/dump_cache/dump_files.cc',
1133 'tools/dump_cache/dump_files.h',
1134 'tools/dump_cache/simple_cache_dumper.cc',
1135 'tools/dump_cache/simple_cache_dumper.h',
1136 'tools/dump_cache/upgrade_win.cc',
1137 'tools/dump_cache/upgrade_win.h',
1138 'tools/dump_cache/url_to_filename_encoder.cc',
1139 'tools/dump_cache/url_to_filename_encoder.h',
1140 'tools/dump_cache/url_utilities.h',
1141 'tools/dump_cache/url_utilities.cc',
1143 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1144 'msvs_disabled_warnings': [4267, ],
1147 # This is a temporary target which will be merged into 'net' once the
1148 # dependency on balsa is eliminated and the classes are actually used.
1149 'target_name': 'quic_tools',
1150 'type': 'static_library',
1152 '../base/base.gyp:base',
1153 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1154 '../url/url.gyp:url_lib',
1158 'quic/quic_dispatcher.cc',
1159 'quic/quic_dispatcher.h',
1160 'quic/quic_in_memory_cache.cc',
1161 'quic/quic_in_memory_cache.h',
1162 'quic/quic_per_connection_packet_writer.cc',
1163 'quic/quic_per_connection_packet_writer.h',
1164 'quic/quic_server.cc',
1165 'quic/quic_server.h',
1166 'quic/quic_server_packet_writer.cc',
1167 'quic/quic_server_packet_writer.h',
1168 'quic/quic_server_session.cc',
1169 'quic/quic_server_session.h',
1170 'quic/quic_spdy_server_stream.cc',
1171 'quic/quic_spdy_server_stream.h',
1172 'quic/quic_time_wait_list_manager.cc',
1173 'quic/quic_time_wait_list_manager.h',
1178 ['use_v8_in_net == 1', {
1181 'target_name': 'net_with_v8',
1182 'type': '<(component)',
1183 'variables': { 'enable_wexit_time_destructors': 1, },
1185 '../base/base.gyp:base',
1186 '../gin/gin.gyp:gin',
1187 '../url/url.gyp:url_lib',
1188 '../v8/tools/gyp/v8.gyp:v8',
1192 'NET_IMPLEMENTATION',
1195 'proxy/proxy_resolver_v8.cc',
1196 'proxy/proxy_resolver_v8.h',
1197 'proxy/proxy_resolver_v8_tracing.cc',
1198 'proxy/proxy_resolver_v8_tracing.h',
1199 'proxy/proxy_service_v8.cc',
1200 'proxy/proxy_service_v8.h',
1202 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1203 'msvs_disabled_warnings': [4267, ],
1207 ['OS != "ios" and OS != "android"', {
1209 # iOS doesn't have the concept of simple executables, these targets
1210 # can't be compiled on the platform.
1212 'target_name': 'crash_cache',
1213 'type': 'executable',
1215 '../base/base.gyp:base',
1220 'tools/crash_cache/crash_cache.cc',
1222 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1223 'msvs_disabled_warnings': [4267, ],
1226 'target_name': 'crl_set_dump',
1227 'type': 'executable',
1229 '../base/base.gyp:base',
1233 'tools/crl_set_dump/crl_set_dump.cc',
1235 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1236 'msvs_disabled_warnings': [4267, ],
1239 'target_name': 'dns_fuzz_stub',
1240 'type': 'executable',
1242 '../base/base.gyp:base',
1246 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
1248 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1249 'msvs_disabled_warnings': [4267, ],
1252 'target_name': 'gdig',
1253 'type': 'executable',
1255 '../base/base.gyp:base',
1259 'tools/gdig/file_net_log.cc',
1260 'tools/gdig/gdig.cc',
1264 'target_name': 'get_server_time',
1265 'type': 'executable',
1267 '../base/base.gyp:base',
1268 '../base/base.gyp:base_i18n',
1269 '../url/url.gyp:url_lib',
1273 'tools/get_server_time/get_server_time.cc',
1275 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1276 'msvs_disabled_warnings': [4267, ],
1279 'target_name': 'hpack_example_generator',
1280 'type': 'executable',
1282 '../base/base.gyp:base',
1286 'spdy/fuzzing/hpack_example_generator.cc',
1288 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1289 'msvs_disabled_warnings': [4267, ],
1292 'target_name': 'hpack_fuzz_mutator',
1293 'type': 'executable',
1295 '../base/base.gyp:base',
1299 'spdy/fuzzing/hpack_fuzz_mutator.cc',
1301 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1302 'msvs_disabled_warnings': [4267, ],
1305 'target_name': 'hpack_fuzz_wrapper',
1306 'type': 'executable',
1308 '../base/base.gyp:base',
1312 'spdy/fuzzing/hpack_fuzz_wrapper.cc',
1314 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1315 'msvs_disabled_warnings': [4267, ],
1318 'target_name': 'net_watcher',
1319 'type': 'executable',
1321 '../base/base.gyp:base',
1326 [ 'use_glib == 1', {
1328 '../build/linux/system.gyp:gconf',
1329 '../build/linux/system.gyp:gio',
1335 'tools/net_watcher/net_watcher.cc',
1339 'target_name': 'run_testserver',
1340 'type': 'executable',
1342 '../base/base.gyp:base',
1343 '../base/base.gyp:test_support_base',
1344 '../testing/gtest.gyp:gtest',
1348 'tools/testserver/run_testserver.cc',
1352 'target_name': 'stress_cache',
1353 'type': 'executable',
1355 '../base/base.gyp:base',
1360 'disk_cache/blockfile/stress_cache.cc',
1362 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1363 'msvs_disabled_warnings': [4267, ],
1366 'target_name': 'tld_cleanup',
1367 'type': 'executable',
1369 '../base/base.gyp:base',
1370 '../base/base.gyp:base_i18n',
1371 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
1374 'tools/tld_cleanup/tld_cleanup.cc',
1376 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1377 'msvs_disabled_warnings': [4267, ],
1381 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1384 'target_name': 'epoll_server',
1385 'type': 'static_library',
1387 '../base/base.gyp:base',
1391 'tools/epoll_server/epoll_server.cc',
1392 'tools/epoll_server/epoll_server.h',
1396 'target_name': 'flip_in_mem_edsm_server_base',
1397 'type': 'static_library',
1402 '../base/base.gyp:base',
1403 '../third_party/boringssl/boringssl.gyp:boringssl',
1409 'tools/dump_cache/url_to_filename_encoder.cc',
1410 'tools/dump_cache/url_to_filename_encoder.h',
1411 'tools/dump_cache/url_utilities.h',
1412 'tools/dump_cache/url_utilities.cc',
1413 'tools/flip_server/acceptor_thread.h',
1414 'tools/flip_server/acceptor_thread.cc',
1415 'tools/flip_server/create_listener.cc',
1416 'tools/flip_server/create_listener.h',
1417 'tools/flip_server/constants.h',
1418 'tools/flip_server/flip_config.cc',
1419 'tools/flip_server/flip_config.h',
1420 'tools/flip_server/http_interface.cc',
1421 'tools/flip_server/http_interface.h',
1422 'tools/flip_server/loadtime_measurement.h',
1423 'tools/flip_server/mem_cache.h',
1424 'tools/flip_server/mem_cache.cc',
1425 'tools/flip_server/output_ordering.cc',
1426 'tools/flip_server/output_ordering.h',
1427 'tools/flip_server/ring_buffer.cc',
1428 'tools/flip_server/ring_buffer.h',
1429 'tools/flip_server/sm_connection.cc',
1430 'tools/flip_server/sm_connection.h',
1431 'tools/flip_server/sm_interface.h',
1432 'tools/flip_server/spdy_ssl.cc',
1433 'tools/flip_server/spdy_ssl.h',
1434 'tools/flip_server/spdy_interface.cc',
1435 'tools/flip_server/spdy_interface.h',
1436 'tools/flip_server/spdy_util.cc',
1437 'tools/flip_server/spdy_util.h',
1438 'tools/flip_server/streamer_interface.cc',
1439 'tools/flip_server/streamer_interface.h',
1443 'target_name': 'flip_in_mem_edsm_server_unittests',
1444 'type': 'executable',
1446 '../testing/gtest.gyp:gtest',
1447 '../testing/gmock.gyp:gmock',
1448 '../third_party/boringssl/boringssl.gyp:boringssl',
1449 'flip_in_mem_edsm_server_base',
1454 'tools/flip_server/flip_test_utils.cc',
1455 'tools/flip_server/flip_test_utils.h',
1456 'tools/flip_server/http_interface_test.cc',
1457 'tools/flip_server/mem_cache_test.cc',
1458 'tools/flip_server/run_all_tests.cc',
1459 'tools/flip_server/spdy_interface_test.cc',
1463 'target_name': 'flip_in_mem_edsm_server',
1464 'type': 'executable',
1469 '../base/base.gyp:base',
1470 'flip_in_mem_edsm_server_base',
1474 'tools/flip_server/flip_in_mem_edsm_server.cc',
1478 'target_name': 'quic_base',
1479 'type': 'static_library',
1481 '../base/base.gyp:base',
1482 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1483 '../url/url.gyp:url_lib',
1489 'tools/quic/quic_client.cc',
1490 'tools/quic/quic_client.h',
1491 'tools/quic/quic_client_session.cc',
1492 'tools/quic/quic_client_session.h',
1493 'tools/quic/quic_default_packet_writer.cc',
1494 'tools/quic/quic_default_packet_writer.h',
1495 'tools/quic/quic_dispatcher.h',
1496 'tools/quic/quic_dispatcher.cc',
1497 'tools/quic/quic_epoll_clock.cc',
1498 'tools/quic/quic_epoll_clock.h',
1499 'tools/quic/quic_epoll_connection_helper.cc',
1500 'tools/quic/quic_epoll_connection_helper.h',
1501 'tools/quic/quic_in_memory_cache.cc',
1502 'tools/quic/quic_in_memory_cache.h',
1503 'tools/quic/quic_packet_writer_wrapper.cc',
1504 'tools/quic/quic_packet_writer_wrapper.h',
1505 'tools/quic/quic_per_connection_packet_writer.cc',
1506 'tools/quic/quic_per_connection_packet_writer.h',
1507 'tools/quic/quic_server.cc',
1508 'tools/quic/quic_server.h',
1509 'tools/quic/quic_server_session.cc',
1510 'tools/quic/quic_server_session.h',
1511 'tools/quic/quic_socket_utils.cc',
1512 'tools/quic/quic_socket_utils.h',
1513 'tools/quic/quic_spdy_client_stream.cc',
1514 'tools/quic/quic_spdy_client_stream.h',
1515 'tools/quic/quic_spdy_server_stream.cc',
1516 'tools/quic/quic_spdy_server_stream.h',
1517 'tools/quic/quic_time_wait_list_manager.h',
1518 'tools/quic/quic_time_wait_list_manager.cc',
1522 'target_name': 'quic_client',
1523 'type': 'executable',
1525 '../base/base.gyp:base',
1530 'tools/quic/quic_client_bin.cc',
1534 'target_name': 'quic_server',
1535 'type': 'executable',
1537 '../base/base.gyp:base',
1542 'quic/quic_server_bin.cc',
1550 'target_name': 'net_jni_headers',
1553 'android/java/src/org/chromium/net/AndroidCertVerifyResult.java',
1554 'android/java/src/org/chromium/net/AndroidKeyStore.java',
1555 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
1556 'android/java/src/org/chromium/net/AndroidPrivateKey.java',
1557 'android/java/src/org/chromium/net/GURLUtils.java',
1558 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
1559 'android/java/src/org/chromium/net/ProxyChangeListener.java',
1560 'android/java/src/org/chromium/net/X509Util.java',
1563 'jni_gen_package': 'net',
1565 'includes': [ '../build/jni_generator.gypi' ],
1568 ['use_icu_alternatives_on_android==1', {
1570 'android/java/src/org/chromium/net/NetStringUtil.java',
1576 'target_name': 'net_test_jni_headers',
1579 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
1582 'jni_gen_package': 'net',
1584 'includes': [ '../build/jni_generator.gypi' ],
1587 'target_name': 'net_java',
1590 'java_in_dir': '../net/android/java',
1593 '../base/base.gyp:base',
1594 'cert_verify_status_android_java',
1595 'certificate_mime_types_java',
1597 'private_key_types_java',
1598 'remote_android_keystore_aidl',
1600 'includes': [ '../build/java.gypi' ],
1603 # Processes the interface files for communication with an Android KeyStore
1604 # running in a separate process.
1605 'target_name': 'remote_android_keystore_aidl',
1608 'aidl_interface_file': '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreInterface.aidl',
1611 '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl',
1612 '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl',
1614 'includes': [ '../build/java_aidl.gypi' ],
1617 'target_name': 'net_java_test_support',
1620 'java_in_dir': '../net/test/android/javatests',
1622 'includes': [ '../build/java.gypi' ],
1625 'target_name': 'net_javatests',
1628 'java_in_dir': '../net/android/javatests',
1631 '../base/base.gyp:base',
1632 '../base/base.gyp:base_java_test_support',
1635 'includes': [ '../build/java.gypi' ],
1638 'target_name': 'net_errors_java',
1641 'android/java/NetError.template',
1644 'package_name': 'org/chromium/net',
1645 'template_deps': ['base/net_error_list.h'],
1647 'includes': [ '../build/android/java_cpp_template.gypi' ],
1650 'target_name': 'certificate_mime_types_java',
1653 'android/java/CertificateMimeType.template',
1656 'package_name': 'org/chromium/net',
1657 'template_deps': ['base/mime_util_certificate_type_list.h'],
1659 'includes': [ '../build/android/java_cpp_template.gypi' ],
1662 'target_name': 'cert_verify_status_android_java',
1665 'android/java/CertVerifyStatusAndroid.template',
1668 'package_name': 'org/chromium/net',
1669 'template_deps': ['android/cert_verify_status_android_list.h'],
1671 'includes': [ '../build/android/java_cpp_template.gypi' ],
1674 'target_name': 'private_key_types_java',
1677 'android/java/PrivateKeyType.template',
1680 'package_name': 'org/chromium/net',
1681 'template_deps': ['android/private_key_type_list.h'],
1683 'includes': [ '../build/android/java_cpp_template.gypi' ],
1687 ['OS == "android"', {
1690 'target_name': 'net_unittests_apk',
1698 'test_suite_name': 'net_unittests',
1700 'includes': [ '../build/apk_test.gypi' ],
1704 ['OS == "android" or OS == "linux"', {
1707 'target_name': 'disk_cache_memory_test',
1708 'type': 'executable',
1710 '../base/base.gyp:base',
1714 'tools/disk_cache_memory_test/disk_cache_memory_test.cc',
1719 ['test_isolation_mode != "noop"', {
1722 'target_name': 'net_unittests_run',
1728 '../build/isolate.gypi',
1729 'net_unittests.isolate',
1732 'net_unittests.isolate',