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

Unified Diff: net/net_common.gypi

Issue 1287893005: Reland: Make separate net and url GN targets with and without ICU (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 6aac566e57ccaacd3ce52810b8a70c679b83100c..38510d1dcdfffc56acfdfc827372fa6a75914de2 100644
--- a/net/net_common.gypi
+++ b/net/net_common.gypi
@@ -86,31 +86,14 @@
'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!': [
- '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',
- ],
+ 'sources': ['<@(net_file_support_sources)']
}],
- ['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',
- ],
+ ['disable_ftp_support!=1', {
+ 'sources': ['<@(net_ftp_support_sources)']
}],
['enable_built_in_dns==1', {
'defines': [
@@ -293,10 +276,8 @@
'third_party/nss/ssl/cmpcert.c',
],
}],
- [ 'enable_websockets != 1', {
- 'sources/': [
- ['exclude', '^websockets/'],
- ],
+ [ 'enable_websockets == 1', {
+ 'sources': ['<@(net_websockets_sources)']
}],
[ '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