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

Unified Diff: net/net.gyp

Issue 253603004: Make it so net/ can be built without file:// support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: merge Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/BUILD.gn ('k') | net/proxy/proxy_script_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net.gyp
===================================================================
--- net/net.gyp (revision 268640)
+++ net/net.gyp (working copy)
@@ -128,6 +128,24 @@
'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc',
],
}],
+ ['disable_file_support==1', {
+ # TODO(mmenke): Should probably get rid of the dependency on
+ # net_resources in this case (It's used in net_util, to format
+ # directory listings. Also used outside of net/).
+ 'dependencies!': [
+ 'net_resources',
+ ],
+ 'sources!': [
+ 'base/directory_lister.cc',
+ 'base/directory_lister.h',
+ 'url_request/url_request_file_dir_job.cc',
+ 'url_request/url_request_file_dir_job.h',
+ 'url_request/url_request_file_job.cc',
+ 'url_request/url_request_file_job.h',
+ 'url_request/file_protocol_handler.cc',
+ 'url_request/file_protocol_handler.h',
+ ],
+ }],
['disable_ftp_support==1', {
'sources/': [
['exclude', '^ftp/'],
@@ -595,6 +613,12 @@
['exclude', '^spdy/spdy_websocket_stream_unittest\\.cc$'],
],
}],
+ ['disable_file_support==1', {
+ 'sources!': [
+ 'base/directory_lister_unittest.cc',
+ 'url_request/url_request_file_job_unittest.cc',
+ ],
+ }],
[ 'disable_ftp_support==1', {
'sources/': [
['exclude', '^ftp/'],
« no previous file with comments | « net/BUILD.gn ('k') | net/proxy/proxy_script_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698