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

Unified Diff: net/net_common.gypi

Issue 1320933002: Revert of Make separate net and url GN targets with and without ICU (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/net.gypi ('k') | url/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net_common.gypi
diff --git a/net/net_common.gypi b/net/net_common.gypi
index d029591690877c700bd05091636149fc15b9a208..0a1a4edbf1a48a30cbf0942af1c43536c25a33b9 100644
--- a/net/net_common.gypi
+++ b/net/net_common.gypi
@@ -86,14 +86,31 @@
'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc',
],
}],
- ['disable_file_support!=1', {
+ ['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/).
- 'sources': ['<@(net_file_support_sources)']
- }],
- ['disable_ftp_support!=1', {
- 'sources': ['<@(net_ftp_support_sources)']
+ 'sources!': [
+ 'base/directory_lister.cc',
+ 'base/directory_lister.h',
+ 'url_request/file_protocol_handler.cc',
+ 'url_request/file_protocol_handler.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',
+ ],
+ }],
+ ['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',
+ ],
}],
['enable_built_in_dns==1', {
'defines': [
@@ -283,8 +300,10 @@
'third_party/nss/ssl/cmpcert.c',
],
}],
- [ 'enable_websockets == 1', {
- 'sources': ['<@(net_websockets_sources)']
+ [ 'enable_websockets != 1', {
+ 'sources/': [
+ ['exclude', '^websockets/'],
+ ],
}],
[ 'enable_mdns != 1', {
'sources!' : [
« no previous file with comments | « net/net.gypi ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698