| 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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1518 if (is_ios) { | 1516 if (is_ios) { |
| 1519 sources -= [ | 1517 sources -= [ |
| 1520 # TODO(droger): The following tests are disabled because the | 1518 # TODO(droger): The following tests are disabled because the |
| 1521 # implementation is missing or incomplete. | 1519 # implementation is missing or incomplete. |
| 1522 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. | 1520 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. |
| 1523 "base/keygen_handler_unittest.cc", | 1521 "base/keygen_handler_unittest.cc", |
| 1524 "disk_cache/backend_unittest.cc", | 1522 "disk_cache/backend_unittest.cc", |
| 1525 "disk_cache/blockfile/block_files_unittest.cc", | 1523 "disk_cache/blockfile/block_files_unittest.cc", |
| 1526 | 1524 |
| 1527 # Need to read input data files. | 1525 # Need to read input data files. |
| 1528 "filter/gzip_filter_unittest.cc", | |
| 1529 "socket/ssl_server_socket_unittest.cc", | 1526 "socket/ssl_server_socket_unittest.cc", |
| 1530 "spdy/fuzzing/hpack_fuzz_util_test.cc", | 1527 "spdy/fuzzing/hpack_fuzz_util_test.cc", |
| 1531 | 1528 |
| 1532 # Need TestServer. | 1529 # Need TestServer. |
| 1533 "cert_net/cert_net_fetcher_impl_unittest.cc", | 1530 "cert_net/cert_net_fetcher_impl_unittest.cc", |
| 1534 "proxy/proxy_script_fetcher_impl_unittest.cc", | 1531 "proxy/proxy_script_fetcher_impl_unittest.cc", |
| 1535 "socket/ssl_client_socket_unittest.cc", | 1532 "socket/ssl_client_socket_unittest.cc", |
| 1536 "url_request/url_fetcher_impl_unittest.cc", | 1533 "url_request/url_fetcher_impl_unittest.cc", |
| 1537 "url_request/url_request_context_builder_unittest.cc", | 1534 "url_request/url_request_context_builder_unittest.cc", |
| 1538 | 1535 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1577 "spdy/spdy_network_transaction_unittest.cc", | 1574 "spdy/spdy_network_transaction_unittest.cc", |
| 1578 "spdy/spdy_proxy_client_socket_unittest.cc", | 1575 "spdy/spdy_proxy_client_socket_unittest.cc", |
| 1579 "url_request/url_request_job_unittest.cc", | 1576 "url_request/url_request_job_unittest.cc", |
| 1580 "url_request/url_request_unittest.cc", | 1577 "url_request/url_request_unittest.cc", |
| 1581 ] | 1578 ] |
| 1582 } | 1579 } |
| 1583 | 1580 |
| 1584 # Exclude brotli test if the support for brotli is disabled. | 1581 # Exclude brotli test if the support for brotli is disabled. |
| 1585 # Also, exclude the test from iOS for now (needs to read input data files). | 1582 # Also, exclude the test from iOS for now (needs to read input data files). |
| 1586 if (disable_brotli_filter || is_ios) { | 1583 if (disable_brotli_filter || is_ios) { |
| 1587 sources -= [ "filter/brotli_filter_unittest.cc" ] | 1584 sources -= [ "filter/brotli_stream_source_unittest.cc" ] |
| 1588 } | 1585 } |
| 1589 | 1586 |
| 1590 if (is_android) { | 1587 if (is_android) { |
| 1591 data_deps += [ "//net/tools/testserver:testserver_py" ] | 1588 data_deps += [ "//net/tools/testserver:testserver_py" ] |
| 1592 deps += [ | 1589 deps += [ |
| 1593 ":net_test_jni_headers", | 1590 ":net_test_jni_headers", |
| 1594 "//base:base_java_unittest_support", | 1591 "//base:base_java_unittest_support", |
| 1595 "//net/android:net_java", | 1592 "//net/android:net_java", |
| 1596 "//net/android:net_java_test_support", | 1593 "//net/android:net_java_test_support", |
| 1597 "//net/android:net_javatests", | 1594 "//net/android:net_javatests", |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2002 "url_request/url_request_fuzzer.cc", | 1999 "url_request/url_request_fuzzer.cc", |
| 2003 ] | 2000 ] |
| 2004 deps = [ | 2001 deps = [ |
| 2005 ":net_fuzzer_test_support", | 2002 ":net_fuzzer_test_support", |
| 2006 ":test_support", | 2003 ":test_support", |
| 2007 "//base", | 2004 "//base", |
| 2008 "//net", | 2005 "//net", |
| 2009 ] | 2006 ] |
| 2010 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" | 2007 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" |
| 2011 } | 2008 } |
| OLD | NEW |