| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 'linux_link_kerberos%': 0, | 8 'linux_link_kerberos%': 0, |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['chromeos==1 or embedded==1 or OS=="ios"', { | 10 ['chromeos==1 or embedded==1 or OS=="ios"', { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 '../base/base.gyp:base_i18n', | 137 '../base/base.gyp:base_i18n', |
| 138 '../third_party/icu/icu.gyp:icui18n', | 138 '../third_party/icu/icu.gyp:icui18n', |
| 139 '../third_party/icu/icu.gyp:icuuc', | 139 '../third_party/icu/icu.gyp:icuuc', |
| 140 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 140 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 141 'net_quic_proto', | 141 'net_quic_proto', |
| 142 ], | 142 ], |
| 143 }], | 143 }], |
| 144 # Brotli support. | 144 # Brotli support. |
| 145 ['disable_brotli_filter == 1', { | 145 ['disable_brotli_filter == 1', { |
| 146 'sources': [ | 146 'sources': [ |
| 147 'filter/brotli_filter_disabled.cc', | 147 'filter/brotli_stream_source_disabled.cc', |
| 148 ], | 148 ], |
| 149 }, | 149 }, |
| 150 # 'disable_brotli_filter != 1' | 150 # 'disable_brotli_filter != 1' |
| 151 { | 151 { |
| 152 'sources': [ | 152 'sources': [ |
| 153 'filter/brotli_filter.cc', | 153 'filter/brotli_stream_source.cc', |
| 154 ], | 154 ], |
| 155 'dependencies': [ | 155 'dependencies': [ |
| 156 '../third_party/brotli/brotli.gyp:brotli', | 156 '../third_party/brotli/brotli.gyp:brotli', |
| 157 ], | 157 ], |
| 158 }], | 158 }], |
| 159 ], | 159 ], |
| 160 }, | 160 }, |
| 161 { | 161 { |
| 162 # GN version: //net:net_unittests | 162 # GN version: //net:net_unittests |
| 163 'target_name': 'net_unittests', | 163 'target_name': 'net_unittests', |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 }, | 417 }, |
| 418 ], | 418 ], |
| 419 'sources!': [ | 419 'sources!': [ |
| 420 # TODO(droger): The following tests are disabled because the | 420 # TODO(droger): The following tests are disabled because the |
| 421 # implementation is missing or incomplete. | 421 # implementation is missing or incomplete. |
| 422 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. | 422 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. |
| 423 'base/keygen_handler_unittest.cc', | 423 'base/keygen_handler_unittest.cc', |
| 424 'disk_cache/backend_unittest.cc', | 424 'disk_cache/backend_unittest.cc', |
| 425 'disk_cache/blockfile/block_files_unittest.cc', | 425 'disk_cache/blockfile/block_files_unittest.cc', |
| 426 # Need to read input data files. | 426 # Need to read input data files. |
| 427 'filter/brotli_filter_unittest.cc', | 427 'filter/brotli_stream_source_unittest.cc', |
| 428 'filter/gzip_filter_unittest.cc', | 428 'filter/gzip_stream_source_unittest.cc', |
| 429 # Need TestServer. | 429 # Need TestServer. |
| 430 "cert_net/cert_net_fetcher_impl_unittest.cc", | 430 "cert_net/cert_net_fetcher_impl_unittest.cc", |
| 431 'proxy/proxy_script_fetcher_impl_unittest.cc', | 431 'proxy/proxy_script_fetcher_impl_unittest.cc', |
| 432 'socket/ssl_client_socket_unittest.cc', | 432 'socket/ssl_client_socket_unittest.cc', |
| 433 'socket/ssl_server_socket_unittest.cc', | 433 'socket/ssl_server_socket_unittest.cc', |
| 434 'spdy/fuzzing/hpack_fuzz_util_test.cc', | 434 'spdy/fuzzing/hpack_fuzz_util_test.cc', |
| 435 # Needs GetAppOutput(). | 435 # Needs GetAppOutput(). |
| 436 'test/python_utils_unittest.cc', | 436 'test/python_utils_unittest.cc', |
| 437 'url_request/url_fetcher_impl_unittest.cc', | 437 'url_request/url_fetcher_impl_unittest.cc', |
| 438 'url_request/url_request_context_builder_unittest.cc', | 438 'url_request/url_request_context_builder_unittest.cc', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 'http/http_proxy_client_socket_pool_unittest.cc', | 482 'http/http_proxy_client_socket_pool_unittest.cc', |
| 483 'spdy/spdy_network_transaction_unittest.cc', | 483 'spdy/spdy_network_transaction_unittest.cc', |
| 484 'spdy/spdy_proxy_client_socket_unittest.cc', | 484 'spdy/spdy_proxy_client_socket_unittest.cc', |
| 485 'url_request/url_request_job_unittest.cc', | 485 'url_request/url_request_job_unittest.cc', |
| 486 'url_request/url_request_unittest.cc', | 486 'url_request/url_request_unittest.cc', |
| 487 ], | 487 ], |
| 488 }], | 488 }], |
| 489 # Exclude brotli test if the support for brotli is disabled. | 489 # Exclude brotli test if the support for brotli is disabled. |
| 490 ['disable_brotli_filter == 1', { | 490 ['disable_brotli_filter == 1', { |
| 491 'sources!': [ | 491 'sources!': [ |
| 492 'filter/brotli_filter_unittest.cc', | 492 'filter/brotli_stream_source_unittest.cc', |
| 493 ], | 493 ], |
| 494 }], | 494 }], |
| 495 ], | 495 ], |
| 496 'target_conditions': [ | 496 'target_conditions': [ |
| 497 # These source files are excluded by default platform rules, but they | 497 # These source files are excluded by default platform rules, but they |
| 498 # are needed in specific cases on other platforms. Re-including them can | 498 # are needed in specific cases on other platforms. Re-including them can |
| 499 # only be done in target_conditions as it is evaluated after the | 499 # only be done in target_conditions as it is evaluated after the |
| 500 # platform rules. | 500 # platform rules. |
| 501 ['OS == "android"', { | 501 ['OS == "android"', { |
| 502 'sources/': [ | 502 'sources/': [ |
| (...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1724 }, | 1724 }, |
| 1725 { | 1725 { |
| 1726 'target_name': 'content_decoder_tool', | 1726 'target_name': 'content_decoder_tool', |
| 1727 'type': 'executable', | 1727 'type': 'executable', |
| 1728 'dependencies': [ | 1728 'dependencies': [ |
| 1729 '../base/base.gyp:base', | 1729 '../base/base.gyp:base', |
| 1730 '../url/url.gyp:url_lib', | 1730 '../url/url.gyp:url_lib', |
| 1731 'net', | 1731 'net', |
| 1732 ], | 1732 ], |
| 1733 'sources': [ | 1733 'sources': [ |
| 1734 'filter/mock_filter_context.cc', | |
| 1735 'tools/content_decoder_tool/content_decoder_tool.cc', | 1734 'tools/content_decoder_tool/content_decoder_tool.cc', |
| 1736 ], | 1735 ], |
| 1737 } | 1736 } |
| 1738 ], | 1737 ], |
| 1739 }], | 1738 }], |
| 1740 ['test_isolation_mode != "noop"', { | 1739 ['test_isolation_mode != "noop"', { |
| 1741 'targets': [ | 1740 'targets': [ |
| 1742 { | 1741 { |
| 1743 'target_name': 'net_unittests_run', | 1742 'target_name': 'net_unittests_run', |
| 1744 'type': 'none', | 1743 'type': 'none', |
| 1745 'dependencies': [ | 1744 'dependencies': [ |
| 1746 'net_unittests', | 1745 'net_unittests', |
| 1747 ], | 1746 ], |
| 1748 'includes': [ | 1747 'includes': [ |
| 1749 '../build/isolate.gypi', | 1748 '../build/isolate.gypi', |
| 1750 ], | 1749 ], |
| 1751 'sources': [ | 1750 'sources': [ |
| 1752 'net_unittests.isolate', | 1751 'net_unittests.isolate', |
| 1753 ], | 1752 ], |
| 1754 }, | 1753 }, |
| 1755 ], | 1754 ], |
| 1756 }], | 1755 }], |
| 1757 ], | 1756 ], |
| 1758 } | 1757 } |
| OLD | NEW |