| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
| 8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
| 9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
| 10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 "//third_party/icu", | 399 "//third_party/icu", |
| 400 ] | 400 ] |
| 401 sources += [ | 401 sources += [ |
| 402 "base/filename_util_icu.cc", | 402 "base/filename_util_icu.cc", |
| 403 "base/net_string_util_icu.cc", | 403 "base/net_string_util_icu.cc", |
| 404 ] | 404 ] |
| 405 } | 405 } |
| 406 | 406 |
| 407 # Brotli support. | 407 # Brotli support. |
| 408 if (!disable_brotli_filter) { | 408 if (!disable_brotli_filter) { |
| 409 sources += [ "filter/brotli_filter.cc" ] | 409 sources += [ "filter/brotli_stream_source.cc" ] |
| 410 deps += [ "//third_party/brotli" ] | 410 deps += [ "//third_party/brotli" ] |
| 411 } else { | 411 } else { |
| 412 sources += [ "filter/brotli_filter_disabled.cc" ] | 412 sources += [ "filter/brotli_stream_source_disabled.cc" ] |
| 413 } | 413 } |
| 414 } | 414 } |
| 415 } | 415 } |
| 416 | 416 |
| 417 grit("net_resources") { | 417 grit("net_resources") { |
| 418 source = "base/net_resources.grd" | 418 source = "base/net_resources.grd" |
| 419 use_qualified_include = true | 419 use_qualified_include = true |
| 420 outputs = [ | 420 outputs = [ |
| 421 "grit/net_resources.h", | 421 "grit/net_resources.h", |
| 422 "net_resources.pak", | 422 "net_resources.pak", |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 deps = [ | 1045 deps = [ |
| 1046 ":net", | 1046 ":net", |
| 1047 ":test_support", | 1047 ":test_support", |
| 1048 "//base", | 1048 "//base", |
| 1049 ] | 1049 ] |
| 1050 } | 1050 } |
| 1051 | 1051 |
| 1052 executable("content_decoder_tool") { | 1052 executable("content_decoder_tool") { |
| 1053 testonly = true | 1053 testonly = true |
| 1054 sources = [ | 1054 sources = [ |
| 1055 "filter/mock_filter_context.cc", | |
| 1056 "filter/mock_filter_context.h", | |
| 1057 "tools/content_decoder_tool/content_decoder_tool.cc", | 1055 "tools/content_decoder_tool/content_decoder_tool.cc", |
| 1058 ] | 1056 ] |
| 1059 deps = [ | 1057 deps = [ |
| 1060 ":net", | 1058 ":net", |
| 1061 ":test_support", | 1059 ":test_support", |
| 1062 "//base", | 1060 "//base", |
| 1063 "//url", | 1061 "//url", |
| 1064 ] | 1062 ] |
| 1065 } | 1063 } |
| 1066 } | 1064 } |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1601 if (is_ios) { | 1599 if (is_ios) { |
| 1602 sources -= [ | 1600 sources -= [ |
| 1603 # TODO(droger): The following tests are disabled because the | 1601 # TODO(droger): The following tests are disabled because the |
| 1604 # implementation is missing or incomplete. | 1602 # implementation is missing or incomplete. |
| 1605 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. | 1603 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. |
| 1606 "base/keygen_handler_unittest.cc", | 1604 "base/keygen_handler_unittest.cc", |
| 1607 "disk_cache/backend_unittest.cc", | 1605 "disk_cache/backend_unittest.cc", |
| 1608 "disk_cache/blockfile/block_files_unittest.cc", | 1606 "disk_cache/blockfile/block_files_unittest.cc", |
| 1609 | 1607 |
| 1610 # Need to read input data files. | 1608 # Need to read input data files. |
| 1611 "filter/gzip_filter_unittest.cc", | |
| 1612 "socket/ssl_server_socket_unittest.cc", | 1609 "socket/ssl_server_socket_unittest.cc", |
| 1613 "spdy/fuzzing/hpack_fuzz_util_test.cc", | 1610 "spdy/fuzzing/hpack_fuzz_util_test.cc", |
| 1614 | 1611 |
| 1615 # Need TestServer. | 1612 # Need TestServer. |
| 1616 "cert_net/cert_net_fetcher_impl_unittest.cc", | 1613 "cert_net/cert_net_fetcher_impl_unittest.cc", |
| 1617 "proxy/proxy_script_fetcher_impl_unittest.cc", | 1614 "proxy/proxy_script_fetcher_impl_unittest.cc", |
| 1618 "socket/ssl_client_socket_unittest.cc", | 1615 "socket/ssl_client_socket_unittest.cc", |
| 1619 "url_request/url_fetcher_impl_unittest.cc", | 1616 "url_request/url_fetcher_impl_unittest.cc", |
| 1620 "url_request/url_request_context_builder_unittest.cc", | 1617 "url_request/url_request_context_builder_unittest.cc", |
| 1621 | 1618 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1658 "spdy/spdy_network_transaction_unittest.cc", | 1655 "spdy/spdy_network_transaction_unittest.cc", |
| 1659 "spdy/spdy_proxy_client_socket_unittest.cc", | 1656 "spdy/spdy_proxy_client_socket_unittest.cc", |
| 1660 "url_request/url_request_job_unittest.cc", | 1657 "url_request/url_request_job_unittest.cc", |
| 1661 "url_request/url_request_unittest.cc", | 1658 "url_request/url_request_unittest.cc", |
| 1662 ] | 1659 ] |
| 1663 } | 1660 } |
| 1664 | 1661 |
| 1665 # Exclude brotli test if the support for brotli is disabled. | 1662 # Exclude brotli test if the support for brotli is disabled. |
| 1666 # Also, exclude the test from iOS for now (needs to read input data files). | 1663 # Also, exclude the test from iOS for now (needs to read input data files). |
| 1667 if (disable_brotli_filter || is_ios) { | 1664 if (disable_brotli_filter || is_ios) { |
| 1668 sources -= [ "filter/brotli_filter_unittest.cc" ] | 1665 sources -= [ "filter/brotli_stream_source_unittest.cc" ] |
| 1669 } | 1666 } |
| 1670 | 1667 |
| 1671 if (is_android) { | 1668 if (is_android) { |
| 1672 data_deps += [ "//net/tools/testserver:testserver_py" ] | 1669 data_deps += [ "//net/tools/testserver:testserver_py" ] |
| 1673 deps += [ | 1670 deps += [ |
| 1674 ":net_test_jni_headers", | 1671 ":net_test_jni_headers", |
| 1675 "//base:base_java_unittest_support", | 1672 "//base:base_java_unittest_support", |
| 1676 "//net/android:net_java", | 1673 "//net/android:net_java", |
| 1677 "//net/android:net_java_test_support", | 1674 "//net/android:net_java_test_support", |
| 1678 "//net/android:net_javatests", | 1675 "//net/android:net_javatests", |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2083 "url_request/url_request_fuzzer.cc", | 2080 "url_request/url_request_fuzzer.cc", |
| 2084 ] | 2081 ] |
| 2085 deps = [ | 2082 deps = [ |
| 2086 ":net_fuzzer_test_support", | 2083 ":net_fuzzer_test_support", |
| 2087 ":test_support", | 2084 ":test_support", |
| 2088 "//base", | 2085 "//base", |
| 2089 "//net", | 2086 "//net", |
| 2090 ] | 2087 ] |
| 2091 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" | 2088 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" |
| 2092 } | 2089 } |
| OLD | NEW |