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,
11 ['chromeos==1 or embedded==1 or OS=="android" or OS=="ios"', {
12 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
13 # It needs configuration (krb5.conf and so on).
15 }, { # chromeos == 0 and embedded==0 and OS!="android" and OS!="ios"
18 ['OS=="android" and target_arch != "ia32"', {
19 # The way the cache uses mmap() is inefficient on some Android devices.
20 # If this flag is set, we hackily avoid using mmap() in the disk cache.
21 # We are pretty confident that mmap-ing the index would not hurt any
22 # existing x86 android devices, but we cannot be so sure about the
23 # variety of ARM devices. So enable it for x86 only for now.
24 'posix_avoid_mmap%': 1,
26 'posix_avoid_mmap%': 0,
29 # Websockets and socket stream are not used on iOS.
30 'enable_websockets%': 0,
31 # iOS does not use V8.
33 'enable_built_in_dns%': 0,
35 'enable_websockets%': 1,
37 'enable_built_in_dns%': 1,
42 '../build/win_precompile.gypi',
47 'target_name': 'net_derived_sources',
50 'base/registry_controlled_domains/effective_tld_names.gperf',
51 'base/registry_controlled_domains/effective_tld_names_unittest1.gperf',
52 'base/registry_controlled_domains/effective_tld_names_unittest2.gperf',
53 'base/registry_controlled_domains/effective_tld_names_unittest3.gperf',
54 'base/registry_controlled_domains/effective_tld_names_unittest4.gperf',
55 'base/registry_controlled_domains/effective_tld_names_unittest5.gperf',
56 'base/registry_controlled_domains/effective_tld_names_unittest6.gperf',
63 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc',
66 'tools/tld_cleanup/make_dafsa.py',
70 'tools/tld_cleanup/make_dafsa.py',
72 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc',
76 'direct_dependent_settings': {
78 '<(SHARED_INTERMEDIATE_DIR)'
84 'type': '<(component)',
85 'variables': { 'enable_wexit_time_destructors': 1, },
87 '../base/base.gyp:base',
88 '../base/base.gyp:base_i18n',
89 '../base/base.gyp:base_prefs',
90 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
91 '../crypto/crypto.gyp:crypto',
92 '../sdch/sdch.gyp:sdch',
93 '../third_party/icu/icu.gyp:icui18n',
94 '../third_party/icu/icu.gyp:icuuc',
95 '../third_party/zlib/zlib.gyp:zlib',
96 '../url/url.gyp:url_lib',
97 'net_derived_sources',
101 '<@(net_nacl_common_sources)',
102 '<@(net_non_nacl_sources)',
105 'NET_IMPLEMENTATION',
107 'export_dependent_settings': [
108 '../base/base.gyp:base',
113 'base/network_change_notifier_linux.cc',
114 'base/network_change_notifier_linux.h',
115 'base/network_change_notifier_netlink_linux.cc',
116 'base/network_change_notifier_netlink_linux.h',
117 'proxy/proxy_config_service_linux.cc',
118 'proxy/proxy_config_service_linux.h',
121 ['use_kerberos==1', {
128 '/usr/include/kerberosV'
131 ['linux_link_kerberos==1', {
134 '<!@(krb5-config --libs gssapi)',
137 }, { # linux_link_kerberos==0
143 }, { # use_kerberos == 0
145 'http/http_auth_gssapi_posix.cc',
146 'http/http_auth_gssapi_posix.h',
147 'http/http_auth_handler_negotiate.h',
148 'http/http_auth_handler_negotiate.cc',
151 ['posix_avoid_mmap==1', {
155 'direct_dependent_settings': {
161 'disk_cache/blockfile/mapped_file_posix.cc',
165 'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc',
168 ['disable_file_support==1', {
169 # TODO(mmenke): Should probably get rid of the dependency on
170 # net_resources in this case (It's used in net_util, to format
171 # directory listings. Also used outside of net/).
173 'base/directory_lister.cc',
174 'base/directory_lister.h',
175 'url_request/url_request_file_dir_job.cc',
176 'url_request/url_request_file_dir_job.h',
177 'url_request/url_request_file_job.cc',
178 'url_request/url_request_file_job.h',
179 'url_request/file_protocol_handler.cc',
180 'url_request/file_protocol_handler.h',
183 ['disable_ftp_support==1', {
185 ['exclude', '^ftp/'],
188 'url_request/ftp_protocol_handler.cc',
189 'url_request/ftp_protocol_handler.h',
190 'url_request/url_request_ftp_job.cc',
191 'url_request/url_request_ftp_job.h',
194 ['enable_built_in_dns==1', {
196 'ENABLE_BUILT_IN_DNS',
200 'dns/address_sorter_posix.cc',
201 'dns/address_sorter_posix.h',
207 'base/crypto_module_nss.cc',
208 'base/keygen_handler_nss.cc',
211 'cert/cert_database_nss.cc',
212 'cert/cert_verify_proc_nss.cc',
213 'cert/cert_verify_proc_nss.h',
214 'cert/ct_log_verifier_nss.cc',
215 'cert/ct_objects_extractor_nss.cc',
216 'cert/jwk_serializer_nss.cc',
217 'cert/nss_cert_database.cc',
218 'cert/nss_cert_database.h',
219 'cert/nss_cert_database_chromeos.cc',
220 'cert/nss_cert_database_chromeos.h',
221 'cert/nss_profile_filter_chromeos.cc',
222 'cert/nss_profile_filter_chromeos.h',
223 'cert/sha256_legacy_support_nss_win.cc',
224 'cert/scoped_nss_types.h',
225 'cert/test_root_certs_nss.cc',
226 'cert/x509_certificate_nss.cc',
227 'cert/x509_util_nss.cc',
228 'cert/x509_util_nss.h',
231 'quic/crypto/aead_base_decrypter_nss.cc',
232 'quic/crypto/aead_base_encrypter_nss.cc',
233 'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
234 'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
235 'quic/crypto/chacha20_poly1305_decrypter_nss.cc',
236 'quic/crypto/chacha20_poly1305_encrypter_nss.cc',
237 'quic/crypto/channel_id_nss.cc',
238 'quic/crypto/p256_key_exchange_nss.cc',
239 'socket/nss_ssl_util.cc',
240 'socket/nss_ssl_util.h',
241 'socket/ssl_client_socket_nss.cc',
242 'socket/ssl_client_socket_nss.h',
243 'socket/ssl_server_socket_nss.cc',
244 'socket/ssl_server_socket_nss.h',
245 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
246 'third_party/mozilla_security_manager/nsKeygenHandler.h',
247 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
248 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
249 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
250 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
253 '../third_party/boringssl/boringssl.gyp:boringssl',
256 { # else !use_openssl: remove the unneeded files and depend on NSS.
258 'base/crypto_module_openssl.cc',
259 'cert/ct_log_verifier_openssl.cc',
260 'cert/ct_objects_extractor_openssl.cc',
261 'cert/jwk_serializer_openssl.cc',
262 'cert/sha256_legacy_support_openssl_win.cc',
263 'cert/x509_util_openssl.cc',
264 'cert/x509_util_openssl.h',
265 'crypto/scoped_openssl_types.h',
266 'quic/crypto/aead_base_decrypter_openssl.cc',
267 'quic/crypto/aead_base_encrypter_openssl.cc',
268 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
269 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
270 'quic/crypto/chacha20_poly1305_decrypter_openssl.cc',
271 'quic/crypto/chacha20_poly1305_encrypter_openssl.cc',
272 'quic/crypto/channel_id_openssl.cc',
273 'quic/crypto/p256_key_exchange_openssl.cc',
274 'quic/crypto/scoped_evp_aead_ctx.cc',
275 'quic/crypto/scoped_evp_aead_ctx.h',
276 'socket/ssl_client_socket_openssl.cc',
277 'socket/ssl_client_socket_openssl.h',
278 'socket/ssl_server_socket_openssl.cc',
279 'socket/ssl_server_socket_openssl.h',
280 'socket/ssl_session_cache_openssl.cc',
281 'socket/ssl_session_cache_openssl.h',
282 'ssl/openssl_platform_key_mac.cc',
283 'ssl/openssl_platform_key_win.cc',
284 'ssl/openssl_platform_key.h',
285 'ssl/openssl_ssl_util.cc',
286 'ssl/openssl_ssl_util.h',
289 # Pull in the bundled or system NSS as appropriate.
290 [ 'desktop_linux == 1 or chromeos == 1', {
292 '../build/linux/system.gyp:ssl',
296 '../third_party/nss/nss.gyp:nspr',
297 '../third_party/nss/nss.gyp:nss',
298 'third_party/nss/ssl.gyp:libssl',
304 [ 'use_openssl_certs == 0', {
306 'base/keygen_handler_openssl.cc',
307 'base/openssl_private_key_store.h',
308 'base/openssl_private_key_store_android.cc',
309 'base/openssl_private_key_store_memory.cc',
310 'cert/cert_database_openssl.cc',
311 'cert/cert_verify_proc_openssl.cc',
312 'cert/cert_verify_proc_openssl.h',
313 'cert/test_root_certs_openssl.cc',
314 'cert/x509_certificate_openssl.cc',
315 'ssl/openssl_client_key_store.cc',
316 'ssl/openssl_client_key_store.h',
321 '../build/linux/system.gyp:gconf',
322 '../build/linux/system.gyp:gio',
325 [ 'desktop_linux == 1 or chromeos == 1', {
329 'base/network_change_notifier_linux.cc',
330 'base/network_change_notifier_netlink_linux.cc',
331 'proxy/proxy_config_service_linux.cc',
335 '../build/linux/system.gyp:libresolv',
347 { # else: OS is not in the above list
349 'base/crypto_module_nss.cc',
350 'base/keygen_handler_nss.cc',
351 'cert/cert_database_nss.cc',
352 'cert/nss_cert_database.cc',
353 'cert/nss_cert_database.h',
354 'cert/test_root_certs_nss.cc',
355 'cert/x509_certificate_nss.cc',
358 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
359 'third_party/mozilla_security_manager/nsKeygenHandler.h',
360 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
361 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
362 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
363 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
369 'cert/cert_verify_proc_nss.cc',
370 'cert/cert_verify_proc_nss.h',
371 'ssl/client_cert_store_nss.cc',
372 'ssl/client_cert_store_nss.h',
373 'ssl/client_cert_store_chromeos.cc',
374 'ssl/client_cert_store_chromeos.h',
377 [ 'enable_websockets != 1', {
379 ['exclude', '^websockets/'],
382 [ 'enable_mdns != 1', {
386 'dns/mdns_client.cc',
388 'dns/mdns_client_impl.cc',
389 'dns/mdns_client_impl.h',
390 'dns/record_parsed.cc',
391 'dns/record_parsed.h',
392 'dns/record_rdata.cc',
393 'dns/record_rdata.h',
398 'http/http_auth_handler_ntlm_portable.cc',
399 'socket/socket_libevent.cc',
400 'socket/socket_libevent.h',
401 'socket/tcp_socket_libevent.cc',
402 'socket/tcp_socket_libevent.h',
403 'udp/udp_socket_libevent.cc',
404 'udp/udp_socket_libevent.h',
406 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
407 'msvs_disabled_warnings': [4267, ],
408 }, { # else: OS != "win"
410 'base/winsock_init.cc',
411 'base/winsock_init.h',
412 'base/winsock_util.cc',
413 'base/winsock_util.h',
414 'proxy/proxy_resolver_winhttp.cc',
415 'proxy/proxy_resolver_winhttp.h',
422 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
423 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
424 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
425 '$(SDKROOT)/usr/lib/libresolv.dylib',
432 'disk_cache/blockfile/file_posix.cc',
436 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
437 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
438 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
439 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
440 '$(SDKROOT)/usr/lib/libresolv.dylib',
445 [ 'OS == "ios" or OS == "mac"', {
447 '<@(net_base_mac_ios_sources)',
451 ['OS=="android" and _toolset=="target" and android_webview_build == 0', {
456 [ 'OS == "android"', {
461 'base/openssl_private_key_store_memory.cc',
462 'cert/cert_database_openssl.cc',
463 'cert/cert_verify_proc_openssl.cc',
464 'cert/test_root_certs_openssl.cc',
468 [ 'use_icu_alternatives_on_android == 1', {
470 '../base/base.gyp:base_i18n',
471 '../third_party/icu/icu.gyp:icui18n',
472 '../third_party/icu/icu.gyp:icuuc',
475 'base/filename_util_icu.cc',
476 'base/net_string_util_icu.cc',
477 'base/net_util_icu.cc',
480 'base/net_string_util_icu_alternatives_android.cc',
481 'base/net_string_util_icu_alternatives_android.h',
486 'target_conditions': [
487 # These source files are excluded by default platform rules, but they
488 # are needed in specific cases on other platforms. Re-including them can
489 # only be done in target_conditions as it is evaluated after the
491 ['OS == "android"', {
493 ['include', '^base/platform_mime_util_linux\\.cc$'],
494 ['include', '^base/address_tracker_linux\\.cc$'],
495 ['include', '^base/address_tracker_linux\\.h$'],
496 ['include', '^base/net_util_linux\\.cc$'],
497 ['include', '^base/net_util_linux\\.h$'],
502 ['include', '^base/net_util_mac\\.cc$'],
503 ['include', '^base/net_util_mac\\.h$'],
504 ['include', '^base/network_change_notifier_mac\\.cc$'],
505 ['include', '^base/network_config_watcher_mac\\.cc$'],
506 ['include', '^base/platform_mime_util_mac\\.mm$'],
507 # The iOS implementation only partially uses NSS and thus does not
508 # defines |use_nss|. In particular the |USE_NSS| preprocessor
509 # definition is not used. The following files are needed though:
510 ['include', '^cert/cert_verify_proc_nss\\.cc$'],
511 ['include', '^cert/cert_verify_proc_nss\\.h$'],
512 ['include', '^cert/test_root_certs_nss\\.cc$'],
513 ['include', '^cert/x509_util_nss\\.cc$'],
514 ['include', '^cert/x509_util_nss\\.h$'],
515 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
516 ['include', '^proxy/proxy_server_mac\\.cc$'],
517 ['include', '^ocsp/nss_ocsp\\.cc$'],
518 ['include', '^ocsp/nss_ocsp\\.h$'],
524 'target_name': 'net_unittests',
525 'type': '<(gtest_target_type)',
527 '../base/base.gyp:base',
528 '../base/base.gyp:base_i18n',
529 '../base/base.gyp:base_prefs_test_support',
530 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
531 '../crypto/crypto.gyp:crypto',
532 '../crypto/crypto.gyp:crypto_test_support',
533 '../testing/gmock.gyp:gmock',
534 '../testing/gtest.gyp:gtest',
535 '../third_party/zlib/zlib.gyp:zlib',
536 '../url/url.gyp:url_lib',
540 'net_derived_sources',
546 '<@(net_test_sources)',
549 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
552 'flip_in_mem_edsm_server_base',
556 '<@(net_linux_test_sources)',
559 ['OS == "mac" or OS == "ios"', {
561 '<@(net_base_test_mac_ios_sources)',
566 'proxy/proxy_config_service_linux_unittest.cc',
569 [ 'OS == "android"', {
571 # See bug http://crbug.com/344533.
572 'disk_cache/blockfile/index_table_v3_unittest.cc',
573 # No res_ninit() et al on Android, so this doesn't make a lot of
575 'dns/dns_config_service_posix_unittest.cc',
579 'net_test_jni_headers',
584 'ssl/client_cert_store_nss_unittest.cc',
585 'ssl/client_cert_store_chromeos_unittest.cc',
588 [ 'use_openssl == 1', {
589 # Avoid compiling/linking with the system library.
591 '../third_party/boringssl/boringssl.gyp:boringssl',
593 }, { # use_openssl == 0
595 [ 'desktop_linux == 1 or chromeos == 1', {
597 '../build/linux/system.gyp:ssl',
599 }, { # desktop_linux == 0 and chromeos == 0
601 '../third_party/nss/nss.gyp:nspr',
602 '../third_party/nss/nss.gyp:nss',
603 'third_party/nss/ssl.gyp:libssl',
606 'cert/nss_cert_database_unittest.cc',
611 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
613 ['use_allocator!="none"', {
615 '../base/allocator/allocator.gyp:allocator',
620 [ 'use_kerberos==1', {
624 }, { # use_kerberos == 0
626 'http/http_auth_gssapi_posix_unittest.cc',
627 'http/http_auth_handler_negotiate_unittest.cc',
628 'http/mock_gssapi_library_posix.cc',
629 'http/mock_gssapi_library_posix.h',
632 [ 'use_openssl == 1 or (desktop_linux == 0 and chromeos == 0 and OS != "ios")', {
633 # Only include this test when on Posix and using NSS for
634 # cert verification or on iOS (which also uses NSS for certs).
636 'ocsp/nss_ocsp_unittest.cc',
639 [ 'use_openssl==1', {
640 # When building for OpenSSL, we need to exclude NSS specific tests
641 # or functionality not supported by OpenSSL yet.
642 # TODO(bulach): Add equivalent tests when the underlying
643 # functionality is ported to OpenSSL.
645 'cert/nss_cert_database_unittest.cc',
646 'cert/nss_cert_database_chromeos_unittest.cc',
647 'cert/nss_profile_filter_chromeos_unittest.cc',
648 'cert/x509_util_nss_unittest.cc',
649 'quic/test_tools/crypto_test_utils_nss.cc',
651 }, { # else !use_openssl: remove the unneeded files and pull in NSS.
653 'cert/x509_util_openssl_unittest.cc',
654 'quic/test_tools/crypto_test_utils_openssl.cc',
655 'socket/ssl_client_socket_openssl_unittest.cc',
656 'socket/ssl_session_cache_openssl_unittest.cc',
660 [ 'use_openssl_certs == 0', {
662 'ssl/openssl_client_key_store_unittest.cc',
665 [ 'enable_websockets != 1', {
667 ['exclude', '^websockets/'],
668 ['exclude', '^server/'],
674 ['disable_file_support==1', {
676 'base/directory_lister_unittest.cc',
677 'url_request/url_request_file_job_unittest.cc',
680 [ 'disable_ftp_support==1', {
682 ['exclude', '^ftp/'],
685 'url_request/url_request_ftp_job_unittest.cc',
689 [ 'enable_built_in_dns!=1', {
691 'dns/address_sorter_posix_unittest.cc',
692 'dns/address_sorter_unittest.cc',
696 # Always need use_v8_in_net to be 1 to run gyp on Android, so just
697 # remove net_unittest's dependency on v8 when using icu alternatives
698 # instead of setting use_v8_in_net to 0.
699 [ 'use_v8_in_net==1 and use_icu_alternatives_on_android==0', {
703 }, { # else: !use_v8_in_net
705 'proxy/proxy_resolver_v8_unittest.cc',
706 'proxy/proxy_resolver_v8_tracing_unittest.cc',
711 [ 'enable_mdns != 1', {
713 'dns/mdns_cache_unittest.cc',
714 'dns/mdns_client_unittest.cc',
715 'dns/mdns_query_unittest.cc',
716 'dns/record_parsed_unittest.cc',
717 'dns/record_rdata_unittest.cc',
722 'dns/dns_config_service_posix_unittest.cc',
723 'http/http_auth_gssapi_posix_unittest.cc',
725 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
726 'msvs_disabled_warnings': [4267, ],
728 [ 'icu_use_data_file_flag == 0', {
729 # This is needed to trigger the dll copy step on windows.
730 # TODO(mark): Specifying this here shouldn't be necessary.
732 '../third_party/icu/icu.gyp:icudata',
741 'action_name': 'copy_test_data',
744 'data/ssl/certificates/',
746 'data/url_request_unittest/',
748 'test_data_prefix': 'net',
750 'includes': [ '../build/copy_test_data_ios.gypi' ],
754 # TODO(droger): The following tests are disabled because the
755 # implementation is missing or incomplete.
756 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
757 'base/keygen_handler_unittest.cc',
758 'disk_cache/backend_unittest.cc',
759 'disk_cache/blockfile/block_files_unittest.cc',
760 # Need to read input data files.
761 'filter/gzip_filter_unittest.cc',
762 'socket/ssl_server_socket_unittest.cc',
763 'spdy/fuzzing/hpack_fuzz_util_test.cc',
765 'proxy/proxy_script_fetcher_impl_unittest.cc',
766 'socket/ssl_client_socket_unittest.cc',
767 'url_request/url_fetcher_impl_unittest.cc',
768 'url_request/url_request_context_builder_unittest.cc',
769 # Needs GetAppOutput().
770 'test/python_utils_unittest.cc',
772 # The following tests are disabled because they don't apply to
774 # OS is not "linux" or "freebsd" or "openbsd".
775 'socket/unix_domain_client_socket_posix_unittest.cc',
776 'socket/unix_domain_listen_socket_posix_unittest.cc',
777 'socket/unix_domain_server_socket_posix_unittest.cc',
779 # See bug http://crbug.com/344533.
780 'disk_cache/blockfile/index_table_v3_unittest.cc',
783 [ 'OS == "android"', {
785 'dns/dns_config_service_posix_unittest.cc',
789 ['OS == "android"', {
790 # TODO(mmenke): This depends on test_support_base, which depends on
791 # icu. Figure out a way to remove that dependency.
793 '../testing/android/native_test.gyp:native_test_native_code',
796 [ 'use_icu_alternatives_on_android == 1', {
798 '../base/base.gyp:base_i18n',
801 'base/filename_util_unittest.cc',
802 'base/net_util_icu_unittest.cc',
806 ['v8_use_external_startup_data==1', {
808 '../gin/gin.gyp:gin',
812 'target_conditions': [
813 # These source files are excluded by default platform rules, but they
814 # are needed in specific cases on other platforms. Re-including them can
815 # only be done in target_conditions as it is evaluated after the
817 ['OS == "android"', {
819 ['include', '^base/address_tracker_linux_unittest\\.cc$'],
825 'target_name': 'net_perftests',
826 'type': 'executable',
828 '../base/base.gyp:base',
829 '../base/base.gyp:base_i18n',
830 '../base/base.gyp:test_support_perf',
831 '../testing/gtest.gyp:gtest',
832 '../url/url.gyp:url_lib',
837 'cookies/cookie_monster_perftest.cc',
838 'disk_cache/blockfile/disk_cache_perftest.cc',
839 'proxy/proxy_resolver_perftest.cc',
840 'websockets/websocket_frame_perftest.cc',
843 [ 'use_v8_in_net==1', {
847 }, { # else: !use_v8_in_net
849 'proxy/proxy_resolver_perftest.cc',
855 [ 'icu_use_data_file_flag == 0', {
856 # This is needed to trigger the dll copy step on windows.
857 # TODO(mark): Specifying this here shouldn't be necessary.
859 '../third_party/icu/icu.gyp:icudata',
863 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
864 'msvs_disabled_warnings': [4267, ],
866 [ 'enable_websockets != 1', {
868 'websockets/websocket_frame_perftest.cc',
874 'target_name': 'net_test_support',
875 'type': 'static_library',
877 '../base/base.gyp:base',
878 '../base/base.gyp:test_support_base',
879 '../crypto/crypto.gyp:crypto',
880 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
881 '../testing/gtest.gyp:gtest',
882 '../testing/gmock.gyp:gmock',
883 '../url/url.gyp:url_lib',
886 'export_dependent_settings': [
887 '../base/base.gyp:base',
888 # TODO(mmenke): This depends on icu, figure out a way to build tests
890 '../base/base.gyp:test_support_base',
891 '../testing/gtest.gyp:gtest',
892 '../testing/gmock.gyp:gmock',
895 'base/captured_net_log_entry.cc',
896 'base/captured_net_log_entry.h',
897 'base/capturing_net_log.cc',
898 'base/capturing_net_log.h',
899 'base/capturing_net_log_observer.cc',
900 'base/capturing_net_log_observer.h',
901 'base/load_timing_info_test_util.cc',
902 'base/load_timing_info_test_util.h',
903 'base/mock_file_stream.cc',
904 'base/mock_file_stream.h',
905 'base/test_completion_callback.cc',
906 'base/test_completion_callback.h',
907 'base/test_data_directory.cc',
908 'base/test_data_directory.h',
909 'cert/mock_cert_verifier.cc',
910 'cert/mock_cert_verifier.h',
911 'cookies/cookie_monster_store_test.cc',
912 'cookies/cookie_monster_store_test.h',
913 'cookies/cookie_store_test_callbacks.cc',
914 'cookies/cookie_store_test_callbacks.h',
915 'cookies/cookie_store_test_helpers.cc',
916 'cookies/cookie_store_test_helpers.h',
917 'disk_cache/disk_cache_test_base.cc',
918 'disk_cache/disk_cache_test_base.h',
919 'disk_cache/disk_cache_test_util.cc',
920 'disk_cache/disk_cache_test_util.h',
921 'dns/dns_test_util.cc',
922 'dns/dns_test_util.h',
923 'dns/mock_host_resolver.cc',
924 'dns/mock_host_resolver.h',
925 'dns/mock_mdns_socket_factory.cc',
926 'dns/mock_mdns_socket_factory.h',
927 'http/http_transaction_test_util.cc',
928 'http/http_transaction_test_util.h',
929 'proxy/mock_proxy_resolver.cc',
930 'proxy/mock_proxy_resolver.h',
931 'proxy/mock_proxy_script_fetcher.cc',
932 'proxy/mock_proxy_script_fetcher.h',
933 'proxy/proxy_config_service_common_unittest.cc',
934 'proxy/proxy_config_service_common_unittest.h',
935 'socket/socket_test_util.cc',
936 'socket/socket_test_util.h',
937 'test/cert_test_util.cc',
938 'test/cert_test_util.h',
939 'test/cert_test_util_nss.cc',
940 'test/ct_test_util.cc',
941 'test/ct_test_util.h',
942 'test/embedded_test_server/embedded_test_server.cc',
943 'test/embedded_test_server/embedded_test_server.h',
944 'test/embedded_test_server/http_connection.cc',
945 'test/embedded_test_server/http_connection.h',
946 'test/embedded_test_server/http_request.cc',
947 'test/embedded_test_server/http_request.h',
948 'test/embedded_test_server/http_response.cc',
949 'test/embedded_test_server/http_response.h',
950 'test/net_test_suite.cc',
951 'test/net_test_suite.h',
952 'test/python_utils.cc',
953 'test/python_utils.h',
954 'test/spawned_test_server/base_test_server.cc',
955 'test/spawned_test_server/base_test_server.h',
956 'test/spawned_test_server/local_test_server_posix.cc',
957 'test/spawned_test_server/local_test_server_win.cc',
958 'test/spawned_test_server/local_test_server.cc',
959 'test/spawned_test_server/local_test_server.h',
960 'test/spawned_test_server/remote_test_server.cc',
961 'test/spawned_test_server/remote_test_server.h',
962 'test/spawned_test_server/spawned_test_server.h',
963 'test/spawned_test_server/spawner_communicator.cc',
964 'test/spawned_test_server/spawner_communicator.h',
965 'test/url_request/url_request_failed_job.cc',
966 'test/url_request/url_request_failed_job.h',
967 'test/url_request/url_request_mock_data_job.cc',
968 'test/url_request/url_request_mock_data_job.h',
969 'test/url_request/url_request_mock_http_job.cc',
970 'test/url_request/url_request_mock_http_job.h',
971 'test/url_request/url_request_slow_download_job.cc',
972 'test/url_request/url_request_slow_download_job.h',
973 'url_request/test_url_fetcher_factory.cc',
974 'url_request/test_url_fetcher_factory.h',
975 'url_request/test_url_request_interceptor.cc',
976 'url_request/test_url_request_interceptor.h',
977 'url_request/url_request_test_util.cc',
978 'url_request/url_request_test_util.h',
983 '../third_party/protobuf/protobuf.gyp:py_proto',
986 ['use_openssl == 0 and (use_nss == 1 or OS == "ios")', {
988 [ 'desktop_linux == 1 or chromeos == 1', {
990 '../build/linux/system.gyp:ssl',
992 }, { # desktop_linux == 0 and chromeos == 0
994 '../third_party/nss/nss.gyp:nspr',
995 '../third_party/nss/nss.gyp:nss',
996 'third_party/nss/ssl.gyp:libssl',
1001 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1003 ['use_allocator!="none"', {
1005 '../base/allocator/allocator.gyp:allocator',
1010 ['OS != "android"', {
1012 'test/spawned_test_server/remote_test_server.cc',
1013 'test/spawned_test_server/remote_test_server.h',
1014 'test/spawned_test_server/spawner_communicator.cc',
1015 'test/spawned_test_server/spawner_communicator.h',
1018 [ 'use_v8_in_net==1', {
1024 [ 'enable_mdns != 1', {
1026 'dns/mock_mdns_socket_factory.cc',
1027 'dns/mock_mdns_socket_factory.h'
1032 'test/cert_test_util_nss.cc',
1036 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1037 'msvs_disabled_warnings': [4267, ],
1040 'target_name': 'net_resources',
1043 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
1047 'action_name': 'net_resources',
1049 'grit_grd_file': 'base/net_resources.grd',
1051 'includes': [ '../build/grit_action.gypi' ],
1056 'target_name': 'net_extras',
1057 'type': 'static_library',
1058 'variables': { 'enable_wexit_time_destructors': 1, },
1060 '../base/base.gyp:base',
1061 '../sql/sql.gyp:sql',
1065 '<@(net_extras_sources)',
1069 'target_name': 'http_server',
1070 'type': 'static_library',
1071 'variables': { 'enable_wexit_time_destructors': 1, },
1073 '../base/base.gyp:base',
1077 'server/http_connection.cc',
1078 'server/http_connection.h',
1079 'server/http_server.cc',
1080 'server/http_server.h',
1081 'server/http_server_request_info.cc',
1082 'server/http_server_request_info.h',
1083 'server/http_server_response_info.cc',
1084 'server/http_server_response_info.h',
1085 'server/web_socket.cc',
1086 'server/web_socket.h',
1087 'server/web_socket_encoder.cc',
1088 'server/web_socket_encoder.h',
1090 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1091 'msvs_disabled_warnings': [4267, ],
1094 'target_name': 'balsa',
1095 'type': 'static_library',
1097 '../base/base.gyp:base',
1101 'tools/balsa/balsa_enums.h',
1102 'tools/balsa/balsa_frame.cc',
1103 'tools/balsa/balsa_frame.h',
1104 'tools/balsa/balsa_headers.cc',
1105 'tools/balsa/balsa_headers.h',
1106 'tools/balsa/balsa_headers_token_utils.cc',
1107 'tools/balsa/balsa_headers_token_utils.h',
1108 'tools/balsa/balsa_visitor_interface.h',
1109 'tools/balsa/http_message_constants.cc',
1110 'tools/balsa/http_message_constants.h',
1111 'tools/balsa/noop_balsa_visitor.h',
1112 'tools/balsa/simple_buffer.cc',
1113 'tools/balsa/simple_buffer.h',
1114 'tools/balsa/split.cc',
1115 'tools/balsa/split.h',
1116 'tools/balsa/string_piece_utils.h',
1117 'tools/quic/spdy_utils.cc',
1118 'tools/quic/spdy_utils.h',
1122 'target_name': 'dump_cache',
1123 'type': 'executable',
1125 '../base/base.gyp:base',
1130 'tools/dump_cache/cache_dumper.cc',
1131 'tools/dump_cache/cache_dumper.h',
1132 'tools/dump_cache/dump_cache.cc',
1133 'tools/dump_cache/dump_files.cc',
1134 'tools/dump_cache/dump_files.h',
1135 'tools/dump_cache/simple_cache_dumper.cc',
1136 'tools/dump_cache/simple_cache_dumper.h',
1137 'tools/dump_cache/url_to_filename_encoder.cc',
1138 'tools/dump_cache/url_to_filename_encoder.h',
1139 'tools/dump_cache/url_utilities.h',
1140 'tools/dump_cache/url_utilities.cc',
1142 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1143 'msvs_disabled_warnings': [4267, ],
1146 # This is a temporary target which will be merged into 'net' once the
1147 # dependency on balsa is eliminated and the classes are actually used.
1148 'target_name': 'quic_tools',
1149 'type': 'static_library',
1151 '../base/base.gyp:base',
1152 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1153 '../url/url.gyp:url_lib',
1157 'quic/quic_dispatcher.cc',
1158 'quic/quic_dispatcher.h',
1159 'quic/quic_in_memory_cache.cc',
1160 'quic/quic_in_memory_cache.h',
1161 'quic/quic_per_connection_packet_writer.cc',
1162 'quic/quic_per_connection_packet_writer.h',
1163 'quic/quic_server.cc',
1164 'quic/quic_server.h',
1165 'quic/quic_server_packet_writer.cc',
1166 'quic/quic_server_packet_writer.h',
1167 'quic/quic_server_session.cc',
1168 'quic/quic_server_session.h',
1169 'quic/quic_spdy_server_stream.cc',
1170 'quic/quic_spdy_server_stream.h',
1171 'quic/quic_time_wait_list_manager.cc',
1172 'quic/quic_time_wait_list_manager.h',
1177 ['use_v8_in_net == 1', {
1180 'target_name': 'net_with_v8',
1181 'type': '<(component)',
1182 'variables': { 'enable_wexit_time_destructors': 1, },
1184 '../base/base.gyp:base',
1185 '../gin/gin.gyp:gin',
1186 '../url/url.gyp:url_lib',
1187 '../v8/tools/gyp/v8.gyp:v8',
1191 'NET_IMPLEMENTATION',
1194 'proxy/proxy_resolver_v8.cc',
1195 'proxy/proxy_resolver_v8.h',
1196 'proxy/proxy_resolver_v8_tracing.cc',
1197 'proxy/proxy_resolver_v8_tracing.h',
1198 'proxy/proxy_service_v8.cc',
1199 'proxy/proxy_service_v8.h',
1201 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1202 'msvs_disabled_warnings': [4267, ],
1206 ['use_v8_in_net == 1 and OS != "android"', {
1209 # GN version: //net/interfaces
1210 'target_name': 'net_interfaces',
1211 'type': 'static_library',
1213 'interfaces/host_resolver_service.mojom',
1214 'interfaces/proxy_resolver_service.mojom',
1217 '../third_party/mojo/mojom_bindings_generator.gypi',
1222 ['OS != "ios" and OS != "android"', {
1224 # iOS doesn't have the concept of simple executables, these targets
1225 # can't be compiled on the platform.
1227 'target_name': 'crash_cache',
1228 'type': 'executable',
1230 '../base/base.gyp:base',
1235 'tools/crash_cache/crash_cache.cc',
1237 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1238 'msvs_disabled_warnings': [4267, ],
1241 'target_name': 'crl_set_dump',
1242 'type': 'executable',
1244 '../base/base.gyp:base',
1248 'tools/crl_set_dump/crl_set_dump.cc',
1250 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1251 'msvs_disabled_warnings': [4267, ],
1254 'target_name': 'dns_fuzz_stub',
1255 'type': 'executable',
1257 '../base/base.gyp:base',
1261 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
1263 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1264 'msvs_disabled_warnings': [4267, ],
1267 'target_name': 'gdig',
1268 'type': 'executable',
1270 '../base/base.gyp:base',
1274 'tools/gdig/file_net_log.cc',
1275 'tools/gdig/gdig.cc',
1279 'target_name': 'get_server_time',
1280 'type': 'executable',
1282 '../base/base.gyp:base',
1283 '../base/base.gyp:base_i18n',
1284 '../url/url.gyp:url_lib',
1288 'tools/get_server_time/get_server_time.cc',
1290 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1291 'msvs_disabled_warnings': [4267, ],
1294 'target_name': 'hpack_example_generator',
1295 'type': 'executable',
1297 '../base/base.gyp:base',
1301 'spdy/fuzzing/hpack_example_generator.cc',
1303 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1304 'msvs_disabled_warnings': [4267, ],
1307 'target_name': 'hpack_fuzz_mutator',
1308 'type': 'executable',
1310 '../base/base.gyp:base',
1314 'spdy/fuzzing/hpack_fuzz_mutator.cc',
1316 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1317 'msvs_disabled_warnings': [4267, ],
1320 'target_name': 'hpack_fuzz_wrapper',
1321 'type': 'executable',
1323 '../base/base.gyp:base',
1327 'spdy/fuzzing/hpack_fuzz_wrapper.cc',
1329 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1330 'msvs_disabled_warnings': [4267, ],
1333 'target_name': 'net_watcher',
1334 'type': 'executable',
1336 '../base/base.gyp:base',
1341 [ 'use_glib == 1', {
1343 '../build/linux/system.gyp:gconf',
1344 '../build/linux/system.gyp:gio',
1350 'tools/net_watcher/net_watcher.cc',
1354 'target_name': 'run_testserver',
1355 'type': 'executable',
1357 '../base/base.gyp:base',
1358 '../base/base.gyp:test_support_base',
1359 '../testing/gtest.gyp:gtest',
1363 'tools/testserver/run_testserver.cc',
1367 'target_name': 'stress_cache',
1368 'type': 'executable',
1370 '../base/base.gyp:base',
1375 'disk_cache/blockfile/stress_cache.cc',
1377 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1378 'msvs_disabled_warnings': [4267, ],
1381 'target_name': 'tld_cleanup',
1382 'type': 'executable',
1384 '../base/base.gyp:base',
1385 '../base/base.gyp:base_i18n',
1386 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
1389 'tools/tld_cleanup/tld_cleanup.cc',
1391 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1392 'msvs_disabled_warnings': [4267, ],
1396 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1399 'target_name': 'epoll_server',
1400 'type': 'static_library',
1402 '../base/base.gyp:base',
1406 'tools/epoll_server/epoll_server.cc',
1407 'tools/epoll_server/epoll_server.h',
1411 'target_name': 'flip_in_mem_edsm_server_base',
1412 'type': 'static_library',
1417 '../base/base.gyp:base',
1418 '../third_party/boringssl/boringssl.gyp:boringssl',
1424 'tools/dump_cache/url_to_filename_encoder.cc',
1425 'tools/dump_cache/url_to_filename_encoder.h',
1426 'tools/dump_cache/url_utilities.h',
1427 'tools/dump_cache/url_utilities.cc',
1428 'tools/flip_server/acceptor_thread.h',
1429 'tools/flip_server/acceptor_thread.cc',
1430 'tools/flip_server/create_listener.cc',
1431 'tools/flip_server/create_listener.h',
1432 'tools/flip_server/constants.h',
1433 'tools/flip_server/flip_config.cc',
1434 'tools/flip_server/flip_config.h',
1435 'tools/flip_server/http_interface.cc',
1436 'tools/flip_server/http_interface.h',
1437 'tools/flip_server/loadtime_measurement.h',
1438 'tools/flip_server/mem_cache.h',
1439 'tools/flip_server/mem_cache.cc',
1440 'tools/flip_server/output_ordering.cc',
1441 'tools/flip_server/output_ordering.h',
1442 'tools/flip_server/ring_buffer.cc',
1443 'tools/flip_server/ring_buffer.h',
1444 'tools/flip_server/sm_connection.cc',
1445 'tools/flip_server/sm_connection.h',
1446 'tools/flip_server/sm_interface.h',
1447 'tools/flip_server/spdy_ssl.cc',
1448 'tools/flip_server/spdy_ssl.h',
1449 'tools/flip_server/spdy_interface.cc',
1450 'tools/flip_server/spdy_interface.h',
1451 'tools/flip_server/spdy_util.cc',
1452 'tools/flip_server/spdy_util.h',
1453 'tools/flip_server/streamer_interface.cc',
1454 'tools/flip_server/streamer_interface.h',
1458 'target_name': 'flip_in_mem_edsm_server_unittests',
1459 'type': 'executable',
1461 '../testing/gtest.gyp:gtest',
1462 '../testing/gmock.gyp:gmock',
1463 '../third_party/boringssl/boringssl.gyp:boringssl',
1464 'flip_in_mem_edsm_server_base',
1469 'tools/flip_server/flip_test_utils.cc',
1470 'tools/flip_server/flip_test_utils.h',
1471 'tools/flip_server/http_interface_test.cc',
1472 'tools/flip_server/mem_cache_test.cc',
1473 'tools/flip_server/run_all_tests.cc',
1474 'tools/flip_server/spdy_interface_test.cc',
1478 'target_name': 'flip_in_mem_edsm_server',
1479 'type': 'executable',
1484 '../base/base.gyp:base',
1485 'flip_in_mem_edsm_server_base',
1489 'tools/flip_server/flip_in_mem_edsm_server.cc',
1493 'target_name': 'quic_base',
1494 'type': 'static_library',
1496 '../base/base.gyp:base',
1497 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1498 '../url/url.gyp:url_lib',
1504 'tools/quic/quic_client.cc',
1505 'tools/quic/quic_client.h',
1506 'tools/quic/quic_client_session.cc',
1507 'tools/quic/quic_client_session.h',
1508 'tools/quic/quic_default_packet_writer.cc',
1509 'tools/quic/quic_default_packet_writer.h',
1510 'tools/quic/quic_dispatcher.h',
1511 'tools/quic/quic_dispatcher.cc',
1512 'tools/quic/quic_epoll_clock.cc',
1513 'tools/quic/quic_epoll_clock.h',
1514 'tools/quic/quic_epoll_connection_helper.cc',
1515 'tools/quic/quic_epoll_connection_helper.h',
1516 'tools/quic/quic_in_memory_cache.cc',
1517 'tools/quic/quic_in_memory_cache.h',
1518 'tools/quic/quic_packet_writer_wrapper.cc',
1519 'tools/quic/quic_packet_writer_wrapper.h',
1520 'tools/quic/quic_per_connection_packet_writer.cc',
1521 'tools/quic/quic_per_connection_packet_writer.h',
1522 'tools/quic/quic_server.cc',
1523 'tools/quic/quic_server.h',
1524 'tools/quic/quic_server_session.cc',
1525 'tools/quic/quic_server_session.h',
1526 'tools/quic/quic_socket_utils.cc',
1527 'tools/quic/quic_socket_utils.h',
1528 'tools/quic/quic_spdy_client_stream.cc',
1529 'tools/quic/quic_spdy_client_stream.h',
1530 'tools/quic/quic_spdy_server_stream.cc',
1531 'tools/quic/quic_spdy_server_stream.h',
1532 'tools/quic/quic_time_wait_list_manager.h',
1533 'tools/quic/quic_time_wait_list_manager.cc',
1537 'target_name': 'quic_client',
1538 'type': 'executable',
1540 '../base/base.gyp:base',
1545 'tools/quic/quic_client_bin.cc',
1549 'target_name': 'quic_server',
1550 'type': 'executable',
1552 '../base/base.gyp:base',
1557 'quic/quic_server_bin.cc',
1565 'target_name': 'net_jni_headers',
1568 'android/java/src/org/chromium/net/AndroidCertVerifyResult.java',
1569 'android/java/src/org/chromium/net/AndroidKeyStore.java',
1570 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
1571 'android/java/src/org/chromium/net/AndroidPrivateKey.java',
1572 'android/java/src/org/chromium/net/GURLUtils.java',
1573 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
1574 'android/java/src/org/chromium/net/ProxyChangeListener.java',
1575 'android/java/src/org/chromium/net/X509Util.java',
1578 'jni_gen_package': 'net',
1580 'includes': [ '../build/jni_generator.gypi' ],
1583 ['use_icu_alternatives_on_android==1', {
1585 'android/java/src/org/chromium/net/NetStringUtil.java',
1591 'target_name': 'net_test_jni_headers',
1594 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
1597 'jni_gen_package': 'net',
1599 'includes': [ '../build/jni_generator.gypi' ],
1602 'target_name': 'net_java',
1605 'java_in_dir': '../net/android/java',
1608 '../base/base.gyp:base',
1609 'cert_verify_status_android_java',
1610 'certificate_mime_types_java',
1611 'network_change_notifier_types_java',
1613 'private_key_types_java',
1614 'remote_android_keystore_aidl',
1616 'includes': [ '../build/java.gypi' ],
1619 # Processes the interface files for communication with an Android KeyStore
1620 # running in a separate process.
1621 'target_name': 'remote_android_keystore_aidl',
1624 'aidl_interface_file': '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreInterface.aidl',
1627 '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl',
1628 '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl',
1630 'includes': [ '../build/java_aidl.gypi' ],
1633 'target_name': 'net_java_test_support',
1636 'java_in_dir': '../net/test/android/javatests',
1638 'includes': [ '../build/java.gypi' ],
1641 'target_name': 'net_javatests',
1644 'java_in_dir': '../net/android/javatests',
1647 '../base/base.gyp:base',
1648 '../base/base.gyp:base_java_test_support',
1651 'includes': [ '../build/java.gypi' ],
1654 'target_name': 'net_errors_java',
1657 'android/java/NetError.template',
1660 'package_name': 'org/chromium/net',
1661 'template_deps': ['base/net_error_list.h'],
1663 'includes': [ '../build/android/java_cpp_template.gypi' ],
1666 'target_name': 'certificate_mime_types_java',
1669 'source_file': 'base/mime_util.h',
1671 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1674 'target_name': 'cert_verify_status_android_java',
1677 'source_file': 'android/cert_verify_result_android.h',
1679 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1682 'target_name': 'network_change_notifier_types_java',
1685 'source_file': 'base/network_change_notifier.h',
1687 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1690 'target_name': 'private_key_types_java',
1693 'source_file': 'android/keystore.h',
1695 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1698 'target_name': 'net_unittests_apk',
1706 ['v8_use_external_startup_data==1', {
1708 '../v8/tools/gyp/v8.gyp:v8_external_snapshot',
1712 'destination': '<(asset_location)',
1714 '<(PRODUCT_DIR)/natives_blob.bin',
1715 '<(PRODUCT_DIR)/snapshot_blob.bin',
1722 'test_suite_name': 'net_unittests',
1724 ['v8_use_external_startup_data==1', {
1725 'asset_location': '<(PRODUCT_DIR)/net_unittests_apk/assets',
1726 'additional_input_paths': [
1727 '<(PRODUCT_DIR)/net_unittests_apk/assets/natives_blob.bin',
1728 '<(PRODUCT_DIR)/net_unittests_apk/assets/snapshot_blob.bin',
1731 '<(PRODUCT_DIR)/natives_blob.bin',
1732 '<(PRODUCT_DIR)/snapshot_blob.bin',
1737 'includes': [ '../build/apk_test.gypi' ],
1741 ['OS == "android" or OS == "linux"', {
1744 'target_name': 'disk_cache_memory_test',
1745 'type': 'executable',
1747 '../base/base.gyp:base',
1751 'tools/disk_cache_memory_test/disk_cache_memory_test.cc',
1756 ['test_isolation_mode != "noop"', {
1759 'target_name': 'net_unittests_run',
1765 '../build/isolate.gypi',
1768 'net_unittests.isolate',