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=="android" and _toolset=="target" and android_webview_build == 0', {
450 [ 'OS == "android"', {
455 'base/openssl_private_key_store_memory.cc',
456 'cert/cert_database_openssl.cc',
457 'cert/cert_verify_proc_openssl.cc',
458 'cert/test_root_certs_openssl.cc',
462 [ 'use_icu_alternatives_on_android == 1', {
464 '../base/base.gyp:base_i18n',
465 '../third_party/icu/icu.gyp:icui18n',
466 '../third_party/icu/icu.gyp:icuuc',
469 'base/filename_util_icu.cc',
470 'base/net_string_util_icu.cc',
471 'base/net_util_icu.cc',
474 'base/net_string_util_icu_alternatives_android.cc',
475 'base/net_string_util_icu_alternatives_android.h',
480 'target_conditions': [
481 # These source files are excluded by default platform rules, but they
482 # are needed in specific cases on other platforms. Re-including them can
483 # only be done in target_conditions as it is evaluated after the
485 ['OS == "android"', {
487 ['include', '^base/platform_mime_util_linux\\.cc$'],
488 ['include', '^base/address_tracker_linux\\.cc$'],
489 ['include', '^base/address_tracker_linux\\.h$'],
490 ['include', '^base/net_util_linux\\.cc$'],
491 ['include', '^base/net_util_linux\\.h$'],
496 ['include', '^base/net_util_mac\\.cc$'],
497 ['include', '^base/net_util_mac\\.h$'],
498 ['include', '^base/network_change_notifier_mac\\.cc$'],
499 ['include', '^base/network_config_watcher_mac\\.cc$'],
500 ['include', '^base/platform_mime_util_mac\\.mm$'],
501 # The iOS implementation only partially uses NSS and thus does not
502 # defines |use_nss|. In particular the |USE_NSS| preprocessor
503 # definition is not used. The following files are needed though:
504 ['include', '^cert/cert_verify_proc_nss\\.cc$'],
505 ['include', '^cert/cert_verify_proc_nss\\.h$'],
506 ['include', '^cert/test_root_certs_nss\\.cc$'],
507 ['include', '^cert/x509_util_nss\\.cc$'],
508 ['include', '^cert/x509_util_nss\\.h$'],
509 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
510 ['include', '^proxy/proxy_server_mac\\.cc$'],
511 ['include', '^ocsp/nss_ocsp\\.cc$'],
512 ['include', '^ocsp/nss_ocsp\\.h$'],
518 'target_name': 'net_unittests',
519 'type': '<(gtest_target_type)',
521 '../base/base.gyp:base',
522 '../base/base.gyp:base_i18n',
523 '../base/base.gyp:base_prefs_test_support',
524 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
525 '../crypto/crypto.gyp:crypto',
526 '../crypto/crypto.gyp:crypto_test_support',
527 '../testing/gmock.gyp:gmock',
528 '../testing/gtest.gyp:gtest',
529 '../third_party/zlib/zlib.gyp:zlib',
530 '../url/url.gyp:url_lib',
534 'net_derived_sources',
540 '<@(net_test_sources)',
543 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
546 'flip_in_mem_edsm_server_base',
550 '<@(net_linux_test_sources)',
555 'proxy/proxy_config_service_linux_unittest.cc',
558 [ 'OS == "android"', {
560 # See bug http://crbug.com/344533.
561 'disk_cache/blockfile/index_table_v3_unittest.cc',
562 # No res_ninit() et al on Android, so this doesn't make a lot of
564 'dns/dns_config_service_posix_unittest.cc',
568 'net_test_jni_headers',
573 'ssl/client_cert_store_nss_unittest.cc',
574 'ssl/client_cert_store_chromeos_unittest.cc',
577 [ 'use_openssl == 1', {
578 # Avoid compiling/linking with the system library.
580 '../third_party/boringssl/boringssl.gyp:boringssl',
582 }, { # use_openssl == 0
584 [ 'desktop_linux == 1 or chromeos == 1', {
586 '../build/linux/system.gyp:ssl',
588 }, { # desktop_linux == 0 and chromeos == 0
590 '../third_party/nss/nss.gyp:nspr',
591 '../third_party/nss/nss.gyp:nss',
592 'third_party/nss/ssl.gyp:libssl',
595 'cert/nss_cert_database_unittest.cc',
600 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
602 ['use_allocator!="none"', {
604 '../base/allocator/allocator.gyp:allocator',
609 [ 'use_kerberos==1', {
613 }, { # use_kerberos == 0
615 'http/http_auth_gssapi_posix_unittest.cc',
616 'http/http_auth_handler_negotiate_unittest.cc',
617 'http/mock_gssapi_library_posix.cc',
618 'http/mock_gssapi_library_posix.h',
621 [ 'use_openssl == 1 or (desktop_linux == 0 and chromeos == 0 and OS != "ios")', {
622 # Only include this test when on Posix and using NSS for
623 # cert verification or on iOS (which also uses NSS for certs).
625 'ocsp/nss_ocsp_unittest.cc',
628 [ 'use_openssl==1', {
629 # When building for OpenSSL, we need to exclude NSS specific tests
630 # or functionality not supported by OpenSSL yet.
631 # TODO(bulach): Add equivalent tests when the underlying
632 # functionality is ported to OpenSSL.
634 'cert/nss_cert_database_unittest.cc',
635 'cert/nss_cert_database_chromeos_unittest.cc',
636 'cert/nss_profile_filter_chromeos_unittest.cc',
637 'cert/x509_util_nss_unittest.cc',
638 'quic/test_tools/crypto_test_utils_nss.cc',
640 }, { # else !use_openssl: remove the unneeded files and pull in NSS.
642 'cert/x509_util_openssl_unittest.cc',
643 'quic/test_tools/crypto_test_utils_openssl.cc',
644 'socket/ssl_client_socket_openssl_unittest.cc',
645 'socket/ssl_session_cache_openssl_unittest.cc',
649 [ 'use_openssl_certs == 0', {
651 'ssl/openssl_client_key_store_unittest.cc',
654 [ 'enable_websockets != 1', {
656 ['exclude', '^websockets/'],
659 ['disable_file_support==1', {
661 'base/directory_lister_unittest.cc',
662 'url_request/url_request_file_job_unittest.cc',
665 [ 'disable_ftp_support==1', {
667 ['exclude', '^ftp/'],
670 'url_request/url_request_ftp_job_unittest.cc',
674 [ 'enable_built_in_dns!=1', {
676 'dns/address_sorter_posix_unittest.cc',
677 'dns/address_sorter_unittest.cc',
681 # Always need use_v8_in_net to be 1 to run gyp on Android, so just
682 # remove net_unittest's dependency on v8 when using icu alternatives
683 # instead of setting use_v8_in_net to 0.
684 [ 'use_v8_in_net==1 and use_icu_alternatives_on_android==0', {
688 }, { # else: !use_v8_in_net
690 'proxy/proxy_resolver_v8_unittest.cc',
691 'proxy/proxy_resolver_v8_tracing_unittest.cc',
696 [ 'enable_mdns != 1', {
698 'dns/mdns_cache_unittest.cc',
699 'dns/mdns_client_unittest.cc',
700 'dns/mdns_query_unittest.cc',
701 'dns/record_parsed_unittest.cc',
702 'dns/record_rdata_unittest.cc',
707 'dns/dns_config_service_posix_unittest.cc',
708 'http/http_auth_gssapi_posix_unittest.cc',
710 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
711 'msvs_disabled_warnings': [4267, ],
713 [ 'icu_use_data_file_flag == 0', {
714 # This is needed to trigger the dll copy step on windows.
715 # TODO(mark): Specifying this here shouldn't be necessary.
717 '../third_party/icu/icu.gyp:icudata',
726 'action_name': 'copy_test_data',
729 'data/ssl/certificates/',
731 'data/url_request_unittest/',
733 'test_data_prefix': 'net',
735 'includes': [ '../build/copy_test_data_ios.gypi' ],
739 # TODO(droger): The following tests are disabled because the
740 # implementation is missing or incomplete.
741 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
742 'base/keygen_handler_unittest.cc',
743 'disk_cache/backend_unittest.cc',
744 'disk_cache/blockfile/block_files_unittest.cc',
745 # Need to read input data files.
746 'filter/gzip_filter_unittest.cc',
747 'socket/ssl_server_socket_unittest.cc',
748 'spdy/fuzzing/hpack_fuzz_util_test.cc',
750 'proxy/proxy_script_fetcher_impl_unittest.cc',
751 'socket/ssl_client_socket_unittest.cc',
752 'url_request/url_fetcher_impl_unittest.cc',
753 'url_request/url_request_context_builder_unittest.cc',
754 # Needs GetAppOutput().
755 'test/python_utils_unittest.cc',
757 # The following tests are disabled because they don't apply to
759 # OS is not "linux" or "freebsd" or "openbsd".
760 'socket/unix_domain_client_socket_posix_unittest.cc',
761 'socket/unix_domain_listen_socket_posix_unittest.cc',
762 'socket/unix_domain_server_socket_posix_unittest.cc',
764 # See bug http://crbug.com/344533.
765 'disk_cache/blockfile/index_table_v3_unittest.cc',
768 [ 'OS == "android"', {
770 'dns/dns_config_service_posix_unittest.cc',
774 ['OS == "android"', {
775 # TODO(mmenke): This depends on test_support_base, which depends on
776 # icu. Figure out a way to remove that dependency.
778 '../testing/android/native_test.gyp:native_test_native_code',
781 [ 'use_icu_alternatives_on_android == 1', {
783 '../base/base.gyp:base_i18n',
786 'base/filename_util_unittest.cc',
787 'base/net_util_icu_unittest.cc',
791 ['v8_use_external_startup_data==1', {
793 '../gin/gin.gyp:gin',
797 'target_conditions': [
798 # These source files are excluded by default platform rules, but they
799 # are needed in specific cases on other platforms. Re-including them can
800 # only be done in target_conditions as it is evaluated after the
802 ['OS == "android"', {
804 ['include', '^base/address_tracker_linux_unittest\\.cc$'],
810 'target_name': 'net_perftests',
811 'type': 'executable',
813 '../base/base.gyp:base',
814 '../base/base.gyp:base_i18n',
815 '../base/base.gyp:test_support_perf',
816 '../testing/gtest.gyp:gtest',
817 '../url/url.gyp:url_lib',
822 'cookies/cookie_monster_perftest.cc',
823 'disk_cache/blockfile/disk_cache_perftest.cc',
824 'proxy/proxy_resolver_perftest.cc',
825 'websockets/websocket_frame_perftest.cc',
828 [ 'use_v8_in_net==1', {
832 }, { # else: !use_v8_in_net
834 'proxy/proxy_resolver_perftest.cc',
840 [ 'icu_use_data_file_flag == 0', {
841 # This is needed to trigger the dll copy step on windows.
842 # TODO(mark): Specifying this here shouldn't be necessary.
844 '../third_party/icu/icu.gyp:icudata',
848 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
849 'msvs_disabled_warnings': [4267, ],
851 [ 'enable_websockets != 1', {
853 'websockets/websocket_frame_perftest.cc',
859 'target_name': 'net_test_support',
860 'type': 'static_library',
862 '../base/base.gyp:base',
863 '../base/base.gyp:test_support_base',
864 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
865 '../testing/gtest.gyp:gtest',
866 '../testing/gmock.gyp:gmock',
867 '../url/url.gyp:url_lib',
870 'export_dependent_settings': [
871 '../base/base.gyp:base',
872 # TODO(mmenke): This depends on icu, figure out a way to build tests
874 '../base/base.gyp:test_support_base',
875 '../testing/gtest.gyp:gtest',
876 '../testing/gmock.gyp:gmock',
879 'base/captured_net_log_entry.cc',
880 'base/captured_net_log_entry.h',
881 'base/capturing_net_log.cc',
882 'base/capturing_net_log.h',
883 'base/capturing_net_log_observer.cc',
884 'base/capturing_net_log_observer.h',
885 'base/load_timing_info_test_util.cc',
886 'base/load_timing_info_test_util.h',
887 'base/mock_file_stream.cc',
888 'base/mock_file_stream.h',
889 'base/test_completion_callback.cc',
890 'base/test_completion_callback.h',
891 'base/test_data_directory.cc',
892 'base/test_data_directory.h',
893 'cert/mock_cert_verifier.cc',
894 'cert/mock_cert_verifier.h',
895 'cookies/cookie_monster_store_test.cc',
896 'cookies/cookie_monster_store_test.h',
897 'cookies/cookie_store_test_callbacks.cc',
898 'cookies/cookie_store_test_callbacks.h',
899 'cookies/cookie_store_test_helpers.cc',
900 'cookies/cookie_store_test_helpers.h',
901 'disk_cache/disk_cache_test_base.cc',
902 'disk_cache/disk_cache_test_base.h',
903 'disk_cache/disk_cache_test_util.cc',
904 'disk_cache/disk_cache_test_util.h',
905 'dns/dns_test_util.cc',
906 'dns/dns_test_util.h',
907 'dns/mock_host_resolver.cc',
908 'dns/mock_host_resolver.h',
909 'dns/mock_mdns_socket_factory.cc',
910 'dns/mock_mdns_socket_factory.h',
911 'http/http_transaction_test_util.cc',
912 'http/http_transaction_test_util.h',
913 'proxy/mock_proxy_resolver.cc',
914 'proxy/mock_proxy_resolver.h',
915 'proxy/mock_proxy_script_fetcher.cc',
916 'proxy/mock_proxy_script_fetcher.h',
917 'proxy/proxy_config_service_common_unittest.cc',
918 'proxy/proxy_config_service_common_unittest.h',
919 'socket/socket_test_util.cc',
920 'socket/socket_test_util.h',
921 'test/cert_test_util.cc',
922 'test/cert_test_util.h',
923 'test/cert_test_util_nss.cc',
924 'test/ct_test_util.cc',
925 'test/ct_test_util.h',
926 'test/embedded_test_server/embedded_test_server.cc',
927 'test/embedded_test_server/embedded_test_server.h',
928 'test/embedded_test_server/http_connection.cc',
929 'test/embedded_test_server/http_connection.h',
930 'test/embedded_test_server/http_request.cc',
931 'test/embedded_test_server/http_request.h',
932 'test/embedded_test_server/http_response.cc',
933 'test/embedded_test_server/http_response.h',
934 'test/net_test_suite.cc',
935 'test/net_test_suite.h',
936 'test/python_utils.cc',
937 'test/python_utils.h',
938 'test/spawned_test_server/base_test_server.cc',
939 'test/spawned_test_server/base_test_server.h',
940 'test/spawned_test_server/local_test_server_posix.cc',
941 'test/spawned_test_server/local_test_server_win.cc',
942 'test/spawned_test_server/local_test_server.cc',
943 'test/spawned_test_server/local_test_server.h',
944 'test/spawned_test_server/remote_test_server.cc',
945 'test/spawned_test_server/remote_test_server.h',
946 'test/spawned_test_server/spawned_test_server.h',
947 'test/spawned_test_server/spawner_communicator.cc',
948 'test/spawned_test_server/spawner_communicator.h',
949 'test/url_request/url_request_failed_job.cc',
950 'test/url_request/url_request_failed_job.h',
951 'test/url_request/url_request_mock_http_job.cc',
952 'test/url_request/url_request_mock_http_job.h',
953 'url_request/test_url_fetcher_factory.cc',
954 'url_request/test_url_fetcher_factory.h',
955 'url_request/test_url_request_interceptor.cc',
956 'url_request/test_url_request_interceptor.h',
957 'url_request/url_request_test_util.cc',
958 'url_request/url_request_test_util.h',
963 '../third_party/protobuf/protobuf.gyp:py_proto',
966 ['use_openssl == 0 and (use_nss == 1 or OS == "ios")', {
968 [ 'desktop_linux == 1 or chromeos == 1', {
970 '../build/linux/system.gyp:ssl',
972 }, { # desktop_linux == 0 and chromeos == 0
974 '../third_party/nss/nss.gyp:nspr',
975 '../third_party/nss/nss.gyp:nss',
976 'third_party/nss/ssl.gyp:libssl',
981 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
983 ['use_allocator!="none"', {
985 '../base/allocator/allocator.gyp:allocator',
990 ['OS != "android"', {
992 'test/spawned_test_server/remote_test_server.cc',
993 'test/spawned_test_server/remote_test_server.h',
994 'test/spawned_test_server/spawner_communicator.cc',
995 'test/spawned_test_server/spawner_communicator.h',
998 [ 'use_v8_in_net==1', {
1004 [ 'enable_mdns != 1', {
1006 'dns/mock_mdns_socket_factory.cc',
1007 'dns/mock_mdns_socket_factory.h'
1012 'test/cert_test_util_nss.cc',
1016 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1017 'msvs_disabled_warnings': [4267, ],
1020 'target_name': 'net_resources',
1023 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
1027 'action_name': 'net_resources',
1029 'grit_grd_file': 'base/net_resources.grd',
1031 'includes': [ '../build/grit_action.gypi' ],
1036 'target_name': 'net_extras',
1037 'type': 'static_library',
1038 'variables': { 'enable_wexit_time_destructors': 1, },
1040 '../base/base.gyp:base',
1041 '../sql/sql.gyp:sql',
1045 '<@(net_extras_sources)',
1049 'target_name': 'http_server',
1050 'type': 'static_library',
1051 'variables': { 'enable_wexit_time_destructors': 1, },
1053 '../base/base.gyp:base',
1057 'server/http_connection.cc',
1058 'server/http_connection.h',
1059 'server/http_server.cc',
1060 'server/http_server.h',
1061 'server/http_server_request_info.cc',
1062 'server/http_server_request_info.h',
1063 'server/http_server_response_info.cc',
1064 'server/http_server_response_info.h',
1065 'server/web_socket.cc',
1066 'server/web_socket.h',
1068 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1069 'msvs_disabled_warnings': [4267, ],
1072 'target_name': 'balsa',
1073 'type': 'static_library',
1075 '../base/base.gyp:base',
1079 'tools/balsa/balsa_enums.h',
1080 'tools/balsa/balsa_frame.cc',
1081 'tools/balsa/balsa_frame.h',
1082 'tools/balsa/balsa_headers.cc',
1083 'tools/balsa/balsa_headers.h',
1084 'tools/balsa/balsa_headers_token_utils.cc',
1085 'tools/balsa/balsa_headers_token_utils.h',
1086 'tools/balsa/balsa_visitor_interface.h',
1087 'tools/balsa/http_message_constants.cc',
1088 'tools/balsa/http_message_constants.h',
1089 'tools/balsa/noop_balsa_visitor.h',
1090 'tools/balsa/simple_buffer.cc',
1091 'tools/balsa/simple_buffer.h',
1092 'tools/balsa/split.cc',
1093 'tools/balsa/split.h',
1094 'tools/balsa/string_piece_utils.h',
1095 'tools/quic/spdy_utils.cc',
1096 'tools/quic/spdy_utils.h',
1100 'target_name': 'dump_cache',
1101 'type': 'executable',
1103 '../base/base.gyp:base',
1108 'tools/dump_cache/cache_dumper.cc',
1109 'tools/dump_cache/cache_dumper.h',
1110 'tools/dump_cache/dump_cache.cc',
1111 'tools/dump_cache/dump_files.cc',
1112 'tools/dump_cache/dump_files.h',
1113 'tools/dump_cache/simple_cache_dumper.cc',
1114 'tools/dump_cache/simple_cache_dumper.h',
1115 'tools/dump_cache/url_to_filename_encoder.cc',
1116 'tools/dump_cache/url_to_filename_encoder.h',
1117 'tools/dump_cache/url_utilities.h',
1118 'tools/dump_cache/url_utilities.cc',
1120 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1121 'msvs_disabled_warnings': [4267, ],
1124 # This is a temporary target which will be merged into 'net' once the
1125 # dependency on balsa is eliminated and the classes are actually used.
1126 'target_name': 'quic_tools',
1127 'type': 'static_library',
1129 '../base/base.gyp:base',
1130 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1131 '../url/url.gyp:url_lib',
1135 'quic/quic_dispatcher.cc',
1136 'quic/quic_dispatcher.h',
1137 'quic/quic_in_memory_cache.cc',
1138 'quic/quic_in_memory_cache.h',
1139 'quic/quic_per_connection_packet_writer.cc',
1140 'quic/quic_per_connection_packet_writer.h',
1141 'quic/quic_server.cc',
1142 'quic/quic_server.h',
1143 'quic/quic_server_packet_writer.cc',
1144 'quic/quic_server_packet_writer.h',
1145 'quic/quic_server_session.cc',
1146 'quic/quic_server_session.h',
1147 'quic/quic_spdy_server_stream.cc',
1148 'quic/quic_spdy_server_stream.h',
1149 'quic/quic_time_wait_list_manager.cc',
1150 'quic/quic_time_wait_list_manager.h',
1155 ['use_v8_in_net == 1', {
1158 'target_name': 'net_with_v8',
1159 'type': '<(component)',
1160 'variables': { 'enable_wexit_time_destructors': 1, },
1162 '../base/base.gyp:base',
1163 '../gin/gin.gyp:gin',
1164 '../url/url.gyp:url_lib',
1165 '../v8/tools/gyp/v8.gyp:v8',
1169 'NET_IMPLEMENTATION',
1172 'proxy/proxy_resolver_v8.cc',
1173 'proxy/proxy_resolver_v8.h',
1174 'proxy/proxy_resolver_v8_tracing.cc',
1175 'proxy/proxy_resolver_v8_tracing.h',
1176 'proxy/proxy_service_v8.cc',
1177 'proxy/proxy_service_v8.h',
1179 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1180 'msvs_disabled_warnings': [4267, ],
1184 ['OS != "ios" and OS != "android"', {
1186 # iOS doesn't have the concept of simple executables, these targets
1187 # can't be compiled on the platform.
1189 'target_name': 'crash_cache',
1190 'type': 'executable',
1192 '../base/base.gyp:base',
1197 'tools/crash_cache/crash_cache.cc',
1199 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1200 'msvs_disabled_warnings': [4267, ],
1203 'target_name': 'crl_set_dump',
1204 'type': 'executable',
1206 '../base/base.gyp:base',
1210 'tools/crl_set_dump/crl_set_dump.cc',
1212 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1213 'msvs_disabled_warnings': [4267, ],
1216 'target_name': 'dns_fuzz_stub',
1217 'type': 'executable',
1219 '../base/base.gyp:base',
1223 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
1225 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1226 'msvs_disabled_warnings': [4267, ],
1229 'target_name': 'gdig',
1230 'type': 'executable',
1232 '../base/base.gyp:base',
1236 'tools/gdig/file_net_log.cc',
1237 'tools/gdig/gdig.cc',
1241 'target_name': 'get_server_time',
1242 'type': 'executable',
1244 '../base/base.gyp:base',
1245 '../base/base.gyp:base_i18n',
1246 '../url/url.gyp:url_lib',
1250 'tools/get_server_time/get_server_time.cc',
1252 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1253 'msvs_disabled_warnings': [4267, ],
1256 'target_name': 'hpack_example_generator',
1257 'type': 'executable',
1259 '../base/base.gyp:base',
1263 'spdy/fuzzing/hpack_example_generator.cc',
1265 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1266 'msvs_disabled_warnings': [4267, ],
1269 'target_name': 'hpack_fuzz_mutator',
1270 'type': 'executable',
1272 '../base/base.gyp:base',
1276 'spdy/fuzzing/hpack_fuzz_mutator.cc',
1278 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1279 'msvs_disabled_warnings': [4267, ],
1282 'target_name': 'hpack_fuzz_wrapper',
1283 'type': 'executable',
1285 '../base/base.gyp:base',
1289 'spdy/fuzzing/hpack_fuzz_wrapper.cc',
1291 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1292 'msvs_disabled_warnings': [4267, ],
1295 'target_name': 'net_watcher',
1296 'type': 'executable',
1298 '../base/base.gyp:base',
1303 [ 'use_glib == 1', {
1305 '../build/linux/system.gyp:gconf',
1306 '../build/linux/system.gyp:gio',
1312 'tools/net_watcher/net_watcher.cc',
1316 'target_name': 'run_testserver',
1317 'type': 'executable',
1319 '../base/base.gyp:base',
1320 '../base/base.gyp:test_support_base',
1321 '../testing/gtest.gyp:gtest',
1325 'tools/testserver/run_testserver.cc',
1329 'target_name': 'stress_cache',
1330 'type': 'executable',
1332 '../base/base.gyp:base',
1337 'disk_cache/blockfile/stress_cache.cc',
1339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1340 'msvs_disabled_warnings': [4267, ],
1343 'target_name': 'tld_cleanup',
1344 'type': 'executable',
1346 '../base/base.gyp:base',
1347 '../base/base.gyp:base_i18n',
1348 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
1351 'tools/tld_cleanup/tld_cleanup.cc',
1353 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1354 'msvs_disabled_warnings': [4267, ],
1358 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1361 'target_name': 'epoll_server',
1362 'type': 'static_library',
1364 '../base/base.gyp:base',
1368 'tools/epoll_server/epoll_server.cc',
1369 'tools/epoll_server/epoll_server.h',
1373 'target_name': 'flip_in_mem_edsm_server_base',
1374 'type': 'static_library',
1379 '../base/base.gyp:base',
1380 '../third_party/boringssl/boringssl.gyp:boringssl',
1386 'tools/dump_cache/url_to_filename_encoder.cc',
1387 'tools/dump_cache/url_to_filename_encoder.h',
1388 'tools/dump_cache/url_utilities.h',
1389 'tools/dump_cache/url_utilities.cc',
1390 'tools/flip_server/acceptor_thread.h',
1391 'tools/flip_server/acceptor_thread.cc',
1392 'tools/flip_server/create_listener.cc',
1393 'tools/flip_server/create_listener.h',
1394 'tools/flip_server/constants.h',
1395 'tools/flip_server/flip_config.cc',
1396 'tools/flip_server/flip_config.h',
1397 'tools/flip_server/http_interface.cc',
1398 'tools/flip_server/http_interface.h',
1399 'tools/flip_server/loadtime_measurement.h',
1400 'tools/flip_server/mem_cache.h',
1401 'tools/flip_server/mem_cache.cc',
1402 'tools/flip_server/output_ordering.cc',
1403 'tools/flip_server/output_ordering.h',
1404 'tools/flip_server/ring_buffer.cc',
1405 'tools/flip_server/ring_buffer.h',
1406 'tools/flip_server/sm_connection.cc',
1407 'tools/flip_server/sm_connection.h',
1408 'tools/flip_server/sm_interface.h',
1409 'tools/flip_server/spdy_ssl.cc',
1410 'tools/flip_server/spdy_ssl.h',
1411 'tools/flip_server/spdy_interface.cc',
1412 'tools/flip_server/spdy_interface.h',
1413 'tools/flip_server/spdy_util.cc',
1414 'tools/flip_server/spdy_util.h',
1415 'tools/flip_server/streamer_interface.cc',
1416 'tools/flip_server/streamer_interface.h',
1420 'target_name': 'flip_in_mem_edsm_server_unittests',
1421 'type': 'executable',
1423 '../testing/gtest.gyp:gtest',
1424 '../testing/gmock.gyp:gmock',
1425 '../third_party/boringssl/boringssl.gyp:boringssl',
1426 'flip_in_mem_edsm_server_base',
1431 'tools/flip_server/flip_test_utils.cc',
1432 'tools/flip_server/flip_test_utils.h',
1433 'tools/flip_server/http_interface_test.cc',
1434 'tools/flip_server/mem_cache_test.cc',
1435 'tools/flip_server/run_all_tests.cc',
1436 'tools/flip_server/spdy_interface_test.cc',
1440 'target_name': 'flip_in_mem_edsm_server',
1441 'type': 'executable',
1446 '../base/base.gyp:base',
1447 'flip_in_mem_edsm_server_base',
1451 'tools/flip_server/flip_in_mem_edsm_server.cc',
1455 'target_name': 'quic_base',
1456 'type': 'static_library',
1458 '../base/base.gyp:base',
1459 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1460 '../url/url.gyp:url_lib',
1466 'tools/quic/quic_client.cc',
1467 'tools/quic/quic_client.h',
1468 'tools/quic/quic_client_session.cc',
1469 'tools/quic/quic_client_session.h',
1470 'tools/quic/quic_default_packet_writer.cc',
1471 'tools/quic/quic_default_packet_writer.h',
1472 'tools/quic/quic_dispatcher.h',
1473 'tools/quic/quic_dispatcher.cc',
1474 'tools/quic/quic_epoll_clock.cc',
1475 'tools/quic/quic_epoll_clock.h',
1476 'tools/quic/quic_epoll_connection_helper.cc',
1477 'tools/quic/quic_epoll_connection_helper.h',
1478 'tools/quic/quic_in_memory_cache.cc',
1479 'tools/quic/quic_in_memory_cache.h',
1480 'tools/quic/quic_packet_writer_wrapper.cc',
1481 'tools/quic/quic_packet_writer_wrapper.h',
1482 'tools/quic/quic_per_connection_packet_writer.cc',
1483 'tools/quic/quic_per_connection_packet_writer.h',
1484 'tools/quic/quic_server.cc',
1485 'tools/quic/quic_server.h',
1486 'tools/quic/quic_server_session.cc',
1487 'tools/quic/quic_server_session.h',
1488 'tools/quic/quic_socket_utils.cc',
1489 'tools/quic/quic_socket_utils.h',
1490 'tools/quic/quic_spdy_client_stream.cc',
1491 'tools/quic/quic_spdy_client_stream.h',
1492 'tools/quic/quic_spdy_server_stream.cc',
1493 'tools/quic/quic_spdy_server_stream.h',
1494 'tools/quic/quic_time_wait_list_manager.h',
1495 'tools/quic/quic_time_wait_list_manager.cc',
1499 'target_name': 'quic_client',
1500 'type': 'executable',
1502 '../base/base.gyp:base',
1507 'tools/quic/quic_client_bin.cc',
1511 'target_name': 'quic_server',
1512 'type': 'executable',
1514 '../base/base.gyp:base',
1519 'quic/quic_server_bin.cc',
1527 'target_name': 'net_jni_headers',
1530 'android/java/src/org/chromium/net/AndroidCertVerifyResult.java',
1531 'android/java/src/org/chromium/net/AndroidKeyStore.java',
1532 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
1533 'android/java/src/org/chromium/net/AndroidPrivateKey.java',
1534 'android/java/src/org/chromium/net/GURLUtils.java',
1535 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
1536 'android/java/src/org/chromium/net/ProxyChangeListener.java',
1537 'android/java/src/org/chromium/net/X509Util.java',
1540 'jni_gen_package': 'net',
1542 'includes': [ '../build/jni_generator.gypi' ],
1545 ['use_icu_alternatives_on_android==1', {
1547 'android/java/src/org/chromium/net/NetStringUtil.java',
1553 'target_name': 'net_test_jni_headers',
1556 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
1559 'jni_gen_package': 'net',
1561 'includes': [ '../build/jni_generator.gypi' ],
1564 'target_name': 'net_java',
1567 'java_in_dir': '../net/android/java',
1570 '../base/base.gyp:base',
1571 'cert_verify_status_android_java',
1572 'certificate_mime_types_java',
1574 'private_key_types_java',
1575 'remote_android_keystore_aidl',
1577 'includes': [ '../build/java.gypi' ],
1580 # Processes the interface files for communication with an Android KeyStore
1581 # running in a separate process.
1582 'target_name': 'remote_android_keystore_aidl',
1585 'aidl_interface_file': '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreInterface.aidl',
1588 '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStore.aidl',
1589 '../net/android/java/src/org/chromium/net/IRemoteAndroidKeyStoreCallbacks.aidl',
1591 'includes': [ '../build/java_aidl.gypi' ],
1594 'target_name': 'net_java_test_support',
1597 'java_in_dir': '../net/test/android/javatests',
1599 'includes': [ '../build/java.gypi' ],
1602 'target_name': 'net_javatests',
1605 'java_in_dir': '../net/android/javatests',
1608 '../base/base.gyp:base',
1609 '../base/base.gyp:base_java_test_support',
1612 'includes': [ '../build/java.gypi' ],
1615 'target_name': 'net_errors_java',
1618 'android/java/NetError.template',
1621 'package_name': 'org/chromium/net',
1622 'template_deps': ['base/net_error_list.h'],
1624 'includes': [ '../build/android/java_cpp_template.gypi' ],
1627 'target_name': 'certificate_mime_types_java',
1630 'source_file': 'base/mime_util.h',
1632 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1635 'target_name': 'cert_verify_status_android_java',
1638 'source_file': 'android/cert_verify_result_android.h',
1640 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1643 'target_name': 'private_key_types_java',
1646 'source_file': 'android/keystore.h',
1648 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1651 'target_name': 'net_unittests_apk',
1659 ['v8_use_external_startup_data==1', {
1661 '../v8/tools/gyp/v8.gyp:v8_external_snapshot',
1665 'destination': '<(asset_location)',
1667 '<(PRODUCT_DIR)/natives_blob.bin',
1668 '<(PRODUCT_DIR)/snapshot_blob.bin',
1675 'test_suite_name': 'net_unittests',
1677 ['v8_use_external_startup_data==1', {
1678 'asset_location': '<(PRODUCT_DIR)/net_unittests_apk/assets',
1679 'additional_input_paths': [
1680 '<(PRODUCT_DIR)/net_unittests_apk/assets/natives_blob.bin',
1681 '<(PRODUCT_DIR)/net_unittests_apk/assets/snapshot_blob.bin',
1684 '<(PRODUCT_DIR)/natives_blob.bin',
1685 '<(PRODUCT_DIR)/snapshot_blob.bin',
1690 'includes': [ '../build/apk_test.gypi' ],
1694 ['OS == "android" or OS == "linux"', {
1697 'target_name': 'disk_cache_memory_test',
1698 'type': 'executable',
1700 '../base/base.gyp:base',
1704 'tools/disk_cache_memory_test/disk_cache_memory_test.cc',
1709 ['test_isolation_mode != "noop"', {
1712 'target_name': 'net_unittests_run',
1718 '../build/isolate.gypi',
1721 'net_unittests.isolate',