Index: net/net.gyp |
diff --git a/net/net.gyp b/net/net.gyp |
index 1149bf55849c907112bce20b8f2aed4c696d2189..9c3c313c921740262f145f8db84cde46fbce3e08 100644 |
--- a/net/net.gyp |
+++ b/net/net.gyp |
@@ -890,6 +890,18 @@ |
'disk_cache/mapped_file_avoid_mmap_posix.cc', |
], |
}], |
+ [ 'disable_ftp_support==1', { |
+ 'sources/': [ |
+ ['exclude', '^ftp/'], |
+ ], |
+ 'sources!': [ |
+ 'url_request/ftp_protocol_handler.cc', |
+ 'url_request/ftp_protocol_handler.h', |
+ 'url_request/url_request_ftp_job.cc', |
+ 'url_request/url_request_ftp_job.h', |
+ ], |
+ }, |
+ ], |
['use_openssl==1', { |
'sources!': [ |
'base/cert_database_nss.cc', |
@@ -1092,6 +1104,7 @@ |
['include', '^http/http_util\\.'], |
['include', '^http/http_util_icu\\.cc$'], |
['include', '^http/http_version\\.h$'], |
+ ['include', '^url_request/url_request_job_manager\\.'], |
], |
}, |
], |
@@ -1465,6 +1478,15 @@ |
['exclude', '^spdy/spdy_websocket_stream_spdy._unittest\\.cc$'], |
], |
}], |
+ [ 'disable_ftp_support==1', { |
+ 'sources/': [ |
+ ['exclude', '^ftp/'], |
+ ], |
+ 'sources!': [ |
+ 'url_request/url_request_ftp_job_unittest.cc', |
+ ], |
+ }, |
+ ], |
[ 'OS == "win"', { |
'sources!': [ |
'dns/dns_config_service_posix_unittest.cc', |