Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: net/BUILD.gn

Issue 2478703004: Remove net::Filter code (Closed)
Patch Set: Address Matt's comment Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 "//third_party/icu", 379 "//third_party/icu",
380 ] 380 ]
381 sources += [ 381 sources += [
382 "base/filename_util_icu.cc", 382 "base/filename_util_icu.cc",
383 "base/net_string_util_icu.cc", 383 "base/net_string_util_icu.cc",
384 ] 384 ]
385 } 385 }
386 386
387 # Brotli support. 387 # Brotli support.
388 if (!disable_brotli_filter) { 388 if (!disable_brotli_filter) {
389 sources += [ "filter/brotli_filter.cc" ]
390 sources += [ "filter/brotli_source_stream.cc" ] 389 sources += [ "filter/brotli_source_stream.cc" ]
391 deps += [ "//third_party/brotli" ] 390 deps += [ "//third_party/brotli" ]
392 } else { 391 } else {
393 sources += [ "filter/brotli_filter_disabled.cc" ]
394 sources += [ "filter/brotli_source_stream_disabled.cc" ] 392 sources += [ "filter/brotli_source_stream_disabled.cc" ]
395 } 393 }
396 } 394 }
397 } 395 }
398 396
399 grit("net_resources") { 397 grit("net_resources") {
400 source = "base/net_resources.grd" 398 source = "base/net_resources.grd"
401 use_qualified_include = true 399 use_qualified_include = true
402 outputs = [ 400 outputs = [
403 "grit/net_resources.h", 401 "grit/net_resources.h",
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 if (is_ios) { 1437 if (is_ios) {
1440 sources -= [ 1438 sources -= [
1441 # TODO(droger): The following tests are disabled because the 1439 # TODO(droger): The following tests are disabled because the
1442 # implementation is missing or incomplete. 1440 # implementation is missing or incomplete.
1443 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. 1441 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
1444 "base/keygen_handler_unittest.cc", 1442 "base/keygen_handler_unittest.cc",
1445 "disk_cache/backend_unittest.cc", 1443 "disk_cache/backend_unittest.cc",
1446 "disk_cache/blockfile/block_files_unittest.cc", 1444 "disk_cache/blockfile/block_files_unittest.cc",
1447 1445
1448 # Need to read input data files. 1446 # Need to read input data files.
1449 "filter/gzip_filter_unittest.cc",
1450 "socket/ssl_server_socket_unittest.cc", 1447 "socket/ssl_server_socket_unittest.cc",
1451 "spdy/fuzzing/hpack_fuzz_util_test.cc", 1448 "spdy/fuzzing/hpack_fuzz_util_test.cc",
1452 1449
1453 # Need TestServer. 1450 # Need TestServer.
1454 "cert_net/cert_net_fetcher_impl_unittest.cc", 1451 "cert_net/cert_net_fetcher_impl_unittest.cc",
1455 "proxy/proxy_script_fetcher_impl_unittest.cc", 1452 "proxy/proxy_script_fetcher_impl_unittest.cc",
1456 "socket/ssl_client_socket_unittest.cc", 1453 "socket/ssl_client_socket_unittest.cc",
1457 "url_request/url_fetcher_impl_unittest.cc", 1454 "url_request/url_fetcher_impl_unittest.cc",
1458 "url_request/url_request_context_builder_unittest.cc", 1455 "url_request/url_request_context_builder_unittest.cc",
1459 1456
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 "socket/ssl_client_socket_pool_unittest.cc", 1494 "socket/ssl_client_socket_pool_unittest.cc",
1498 "spdy/spdy_network_transaction_unittest.cc", 1495 "spdy/spdy_network_transaction_unittest.cc",
1499 "spdy/spdy_proxy_client_socket_unittest.cc", 1496 "spdy/spdy_proxy_client_socket_unittest.cc",
1500 "url_request/url_request_job_unittest.cc", 1497 "url_request/url_request_job_unittest.cc",
1501 "url_request/url_request_unittest.cc", 1498 "url_request/url_request_unittest.cc",
1502 ] 1499 ]
1503 } 1500 }
1504 1501
1505 # Exclude brotli test if the support for brotli is disabled. 1502 # Exclude brotli test if the support for brotli is disabled.
1506 if (disable_brotli_filter) { 1503 if (disable_brotli_filter) {
1507 sources -= [ "filter/brotli_filter_unittest.cc" ]
1508 sources -= [ "filter/brotli_source_stream_unittest.cc" ] 1504 sources -= [ "filter/brotli_source_stream_unittest.cc" ]
1509 } 1505 }
1510 1506
1511 if (is_android) { 1507 if (is_android) {
1512 data_deps += [ "//net/tools/testserver:testserver_py" ] 1508 data_deps += [ "//net/tools/testserver:testserver_py" ]
1513 deps += [ 1509 deps += [
1514 ":net_test_jni_headers", 1510 ":net_test_jni_headers",
1515 "//base:base_java_unittest_support", 1511 "//base:base_java_unittest_support",
1516 "//net/android:net_java", 1512 "//net/android:net_java",
1517 "//net/android:net_java_test_support", 1513 "//net/android:net_java_test_support",
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 "http/http_security_headers_hpkp_report_only_fuzzer.cc", 2036 "http/http_security_headers_hpkp_report_only_fuzzer.cc",
2041 ] 2037 ]
2042 deps = [ 2038 deps = [
2043 ":net_fuzzer_test_support", 2039 ":net_fuzzer_test_support",
2044 "//base", 2040 "//base",
2045 "//net", 2041 "//net",
2046 "//url", 2042 "//url",
2047 ] 2043 ]
2048 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict" 2044 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict"
2049 } 2045 }
OLDNEW
« no previous file with comments | « no previous file | net/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698