| 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 "//third_party/icu", | 396 "//third_party/icu", |
| 397 ] | 397 ] |
| 398 sources += [ | 398 sources += [ |
| 399 "base/filename_util_icu.cc", | 399 "base/filename_util_icu.cc", |
| 400 "base/net_string_util_icu.cc", | 400 "base/net_string_util_icu.cc", |
| 401 ] | 401 ] |
| 402 } | 402 } |
| 403 | 403 |
| 404 # Brotli support. | 404 # Brotli support. |
| 405 if (!disable_brotli_filter) { | 405 if (!disable_brotli_filter) { |
| 406 sources += [ "filter/brotli_filter.cc" ] | 406 sources += [ "filter/brotli_source_stream.cc" ] |
| 407 deps += [ "//third_party/brotli" ] | 407 deps += [ "//third_party/brotli" ] |
| 408 } else { | 408 } else { |
| 409 sources += [ "filter/brotli_filter_disabled.cc" ] | 409 sources += [ "filter/brotli_source_stream_disabled.cc" ] |
| 410 } | 410 } |
| 411 } | 411 } |
| 412 } | 412 } |
| 413 | 413 |
| 414 grit("net_resources") { | 414 grit("net_resources") { |
| 415 source = "base/net_resources.grd" | 415 source = "base/net_resources.grd" |
| 416 use_qualified_include = true | 416 use_qualified_include = true |
| 417 outputs = [ | 417 outputs = [ |
| 418 "grit/net_resources.h", | 418 "grit/net_resources.h", |
| 419 "net_resources.pak", | 419 "net_resources.pak", |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1034 deps = [ | 1034 deps = [ |
| 1035 ":net", | 1035 ":net", |
| 1036 ":test_support", | 1036 ":test_support", |
| 1037 "//base", | 1037 "//base", |
| 1038 ] | 1038 ] |
| 1039 } | 1039 } |
| 1040 | 1040 |
| 1041 executable("content_decoder_tool") { | 1041 executable("content_decoder_tool") { |
| 1042 testonly = true | 1042 testonly = true |
| 1043 sources = [ | 1043 sources = [ |
| 1044 "filter/mock_filter_context.cc", | |
| 1045 "filter/mock_filter_context.h", | |
| 1046 "tools/content_decoder_tool/content_decoder_tool.cc", | 1044 "tools/content_decoder_tool/content_decoder_tool.cc", |
| 1047 ] | 1045 ] |
| 1048 deps = [ | 1046 deps = [ |
| 1049 ":net", | 1047 ":net", |
| 1050 ":test_support", | 1048 ":test_support", |
| 1051 "//base", | 1049 "//base", |
| 1052 "//url", | 1050 "//url", |
| 1053 ] | 1051 ] |
| 1054 } | 1052 } |
| 1055 } | 1053 } |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 if (is_ios) { | 1507 if (is_ios) { |
| 1510 sources -= [ | 1508 sources -= [ |
| 1511 # TODO(droger): The following tests are disabled because the | 1509 # TODO(droger): The following tests are disabled because the |
| 1512 # implementation is missing or incomplete. | 1510 # implementation is missing or incomplete. |
| 1513 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. | 1511 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. |
| 1514 "base/keygen_handler_unittest.cc", | 1512 "base/keygen_handler_unittest.cc", |
| 1515 "disk_cache/backend_unittest.cc", | 1513 "disk_cache/backend_unittest.cc", |
| 1516 "disk_cache/blockfile/block_files_unittest.cc", | 1514 "disk_cache/blockfile/block_files_unittest.cc", |
| 1517 | 1515 |
| 1518 # Need to read input data files. | 1516 # Need to read input data files. |
| 1519 "filter/gzip_filter_unittest.cc", | |
| 1520 "socket/ssl_server_socket_unittest.cc", | 1517 "socket/ssl_server_socket_unittest.cc", |
| 1521 "spdy/fuzzing/hpack_fuzz_util_test.cc", | 1518 "spdy/fuzzing/hpack_fuzz_util_test.cc", |
| 1522 | 1519 |
| 1523 # Need TestServer. | 1520 # Need TestServer. |
| 1524 "cert_net/cert_net_fetcher_impl_unittest.cc", | 1521 "cert_net/cert_net_fetcher_impl_unittest.cc", |
| 1525 "proxy/proxy_script_fetcher_impl_unittest.cc", | 1522 "proxy/proxy_script_fetcher_impl_unittest.cc", |
| 1526 "socket/ssl_client_socket_unittest.cc", | 1523 "socket/ssl_client_socket_unittest.cc", |
| 1527 "url_request/url_fetcher_impl_unittest.cc", | 1524 "url_request/url_fetcher_impl_unittest.cc", |
| 1528 "url_request/url_request_context_builder_unittest.cc", | 1525 "url_request/url_request_context_builder_unittest.cc", |
| 1529 | 1526 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1568 "spdy/spdy_network_transaction_unittest.cc", | 1565 "spdy/spdy_network_transaction_unittest.cc", |
| 1569 "spdy/spdy_proxy_client_socket_unittest.cc", | 1566 "spdy/spdy_proxy_client_socket_unittest.cc", |
| 1570 "url_request/url_request_job_unittest.cc", | 1567 "url_request/url_request_job_unittest.cc", |
| 1571 "url_request/url_request_unittest.cc", | 1568 "url_request/url_request_unittest.cc", |
| 1572 ] | 1569 ] |
| 1573 } | 1570 } |
| 1574 | 1571 |
| 1575 # Exclude brotli test if the support for brotli is disabled. | 1572 # Exclude brotli test if the support for brotli is disabled. |
| 1576 # Also, exclude the test from iOS for now (needs to read input data files). | 1573 # Also, exclude the test from iOS for now (needs to read input data files). |
| 1577 if (disable_brotli_filter || is_ios) { | 1574 if (disable_brotli_filter || is_ios) { |
| 1578 sources -= [ "filter/brotli_filter_unittest.cc" ] | 1575 sources -= [ "filter/brotli_source_stream_unittest.cc" ] |
| 1579 } | 1576 } |
| 1580 | 1577 |
| 1581 if (is_android) { | 1578 if (is_android) { |
| 1582 data_deps += [ "//net/tools/testserver:testserver_py" ] | 1579 data_deps += [ "//net/tools/testserver:testserver_py" ] |
| 1583 deps += [ | 1580 deps += [ |
| 1584 ":net_test_jni_headers", | 1581 ":net_test_jni_headers", |
| 1585 "//base:base_java_unittest_support", | 1582 "//base:base_java_unittest_support", |
| 1586 "//net/android:net_java", | 1583 "//net/android:net_java", |
| 1587 "//net/android:net_java_test_support", | 1584 "//net/android:net_java_test_support", |
| 1588 "//net/android:net_javatests", | 1585 "//net/android:net_javatests", |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1994 "url_request/url_request_fuzzer.cc", | 1991 "url_request/url_request_fuzzer.cc", |
| 1995 ] | 1992 ] |
| 1996 deps = [ | 1993 deps = [ |
| 1997 ":net_fuzzer_test_support", | 1994 ":net_fuzzer_test_support", |
| 1998 ":test_support", | 1995 ":test_support", |
| 1999 "//base", | 1996 "//base", |
| 2000 "//net", | 1997 "//net", |
| 2001 ] | 1998 ] |
| 2002 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" | 1999 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" |
| 2003 } | 2000 } |
| OLD | NEW |