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

Side by Side Diff: net/BUILD.gn

Issue 1562073003: net: exclude directory_listing_unittest.cc from the build when the file support is disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for gyp too Created 4 years, 11 months 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/net.gyp » ('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/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//build_overrides/v8.gni") 10 import("//build_overrides/v8.gni")
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 "websockets/websocket_stream_test.cc", 1525 "websockets/websocket_stream_test.cc",
1526 "websockets/websocket_test_util.cc", 1526 "websockets/websocket_test_util.cc",
1527 "websockets/websocket_test_util.h", 1527 "websockets/websocket_test_util.h",
1528 ] 1528 ]
1529 deps -= [ ":http_server" ] 1529 deps -= [ ":http_server" ]
1530 } 1530 }
1531 1531
1532 if (disable_file_support) { 1532 if (disable_file_support) {
1533 sources -= [ 1533 sources -= [
1534 "base/directory_lister_unittest.cc", 1534 "base/directory_lister_unittest.cc",
1535 "base/directory_listing_unittest.cc",
1535 "url_request/url_request_file_job_unittest.cc", 1536 "url_request/url_request_file_job_unittest.cc",
1536 ] 1537 ]
1537 } 1538 }
1538 1539
1539 if (disable_ftp_support) { 1540 if (disable_ftp_support) {
1540 sources -= [ 1541 sources -= [
1541 "ftp/ftp_auth_cache_unittest.cc", 1542 "ftp/ftp_auth_cache_unittest.cc",
1542 "ftp/ftp_ctrl_response_buffer_unittest.cc", 1543 "ftp/ftp_ctrl_response_buffer_unittest.cc",
1543 "ftp/ftp_directory_listing_parser_ls_unittest.cc", 1544 "ftp/ftp_directory_listing_parser_ls_unittest.cc",
1544 "ftp/ftp_directory_listing_parser_unittest.cc", 1545 "ftp/ftp_directory_listing_parser_unittest.cc",
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 if (enable_websockets) { 1721 if (enable_websockets) {
1721 sources += [ "websockets/websocket_frame_perftest.cc" ] 1722 sources += [ "websockets/websocket_frame_perftest.cc" ]
1722 } 1723 }
1723 1724
1724 if (use_v8_in_net) { 1725 if (use_v8_in_net) {
1725 deps += [ ":net_with_v8" ] 1726 deps += [ ":net_with_v8" ]
1726 } else { 1727 } else {
1727 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1728 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1728 } 1729 }
1729 } 1730 }
OLDNEW
« no previous file with comments | « no previous file | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698