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

Side by Side 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, 3 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
« net/BUILD.gn ('K') | « net/net.gypi ('k') | url/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 { 5 {
6 # This target is included in both 'net' and 'net_small'. 6 # This target is included in both 'net' and 'net_small'.
7 'type': '<(component)', 7 'type': '<(component)',
8 'variables': { 'enable_wexit_time_destructors': 1, }, 8 'variables': { 'enable_wexit_time_destructors': 1, },
9 'dependencies': [ 9 'dependencies': [
10 '../base/base.gyp:base', 10 '../base/base.gyp:base',
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ], 79 ],
80 }, 80 },
81 'sources!': [ 81 'sources!': [
82 'disk_cache/blockfile/mapped_file_posix.cc', 82 'disk_cache/blockfile/mapped_file_posix.cc',
83 ], 83 ],
84 }, { # else 84 }, { # else
85 'sources!': [ 85 'sources!': [
86 'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc', 86 'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc',
87 ], 87 ],
88 }], 88 }],
89 ['disable_file_support==1', { 89 ['disable_file_support!=1', {
90 # TODO(mmenke): Should probably get rid of the dependency on 90 # TODO(mmenke): Should probably get rid of the dependency on
91 # net_resources in this case (It's used in net_util, to format 91 # net_resources in this case (It's used in net_util, to format
92 # directory listings. Also used outside of net/). 92 # directory listings. Also used outside of net/).
93 'sources!': [ 93 'sources': ['<@(net_file_support_sources)']
94 'base/directory_lister.cc',
95 'base/directory_lister.h',
96 'url_request/file_protocol_handler.cc',
97 'url_request/file_protocol_handler.h',
98 'url_request/url_request_file_dir_job.cc',
99 'url_request/url_request_file_dir_job.h',
100 'url_request/url_request_file_job.cc',
101 'url_request/url_request_file_job.h',
102 ],
103 }], 94 }],
104 ['disable_ftp_support==1', { 95 ['disable_ftp_support!=1', {
105 'sources/': [ 96 'sources': ['<@(net_ftp_support_sources)']
106 ['exclude', '^ftp/'],
107 ],
108 'sources!': [
109 'url_request/ftp_protocol_handler.cc',
110 'url_request/ftp_protocol_handler.h',
111 'url_request/url_request_ftp_job.cc',
112 'url_request/url_request_ftp_job.h',
113 ],
114 }], 97 }],
115 ['enable_built_in_dns==1', { 98 ['enable_built_in_dns==1', {
116 'defines': [ 99 'defines': [
117 'ENABLE_BUILT_IN_DNS', 100 'ENABLE_BUILT_IN_DNS',
118 ] 101 ]
119 }, { # else 102 }, { # else
120 'sources!': [ 103 'sources!': [
121 'dns/address_sorter_posix.cc', 104 'dns/address_sorter_posix.cc',
122 'dns/address_sorter_posix.h', 105 'dns/address_sorter_posix.h',
123 'dns/dns_client.cc', 106 'dns/dns_client.cc',
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 }, 276 },
294 ], 277 ],
295 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's 278 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's
296 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that 279 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that
297 # file in directly. 280 # file in directly.
298 [ 'use_nss_certs == 1 and use_openssl == 1', { 281 [ 'use_nss_certs == 1 and use_openssl == 1', {
299 'sources': [ 282 'sources': [
300 'third_party/nss/ssl/cmpcert.c', 283 'third_party/nss/ssl/cmpcert.c',
301 ], 284 ],
302 }], 285 }],
303 [ 'enable_websockets != 1', { 286 [ 'enable_websockets == 1', {
304 'sources/': [ 287 'sources': ['<@(net_websockets_sources)']
305 ['exclude', '^websockets/'],
306 ],
307 }], 288 }],
308 [ 'enable_mdns != 1', { 289 [ 'enable_mdns != 1', {
309 'sources!' : [ 290 'sources!' : [
310 'dns/mdns_cache.cc', 291 'dns/mdns_cache.cc',
311 'dns/mdns_cache.h', 292 'dns/mdns_cache.h',
312 'dns/mdns_client.cc', 293 'dns/mdns_client.cc',
313 'dns/mdns_client.h', 294 'dns/mdns_client.h',
314 'dns/mdns_client_impl.cc', 295 'dns/mdns_client_impl.cc',
315 'dns/mdns_client_impl.h', 296 'dns/mdns_client_impl.h',
316 'dns/record_parsed.cc', 297 'dns/record_parsed.cc',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 ['include', '^cert/test_root_certs_nss\\.cc$'], 411 ['include', '^cert/test_root_certs_nss\\.cc$'],
431 ['include', '^cert/x509_util_nss_certs\\.cc$'], 412 ['include', '^cert/x509_util_nss_certs\\.cc$'],
432 ['include', '^cert_net/nss_ocsp\\.cc$'], 413 ['include', '^cert_net/nss_ocsp\\.cc$'],
433 ['include', '^cert_net/nss_ocsp\\.h$'], 414 ['include', '^cert_net/nss_ocsp\\.h$'],
434 ['include', '^proxy/proxy_resolver_mac\\.cc$'], 415 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
435 ['include', '^proxy/proxy_server_mac\\.cc$'], 416 ['include', '^proxy/proxy_server_mac\\.cc$'],
436 ], 417 ],
437 }], 418 }],
438 ], 419 ],
439 } 420 }
OLDNEW
« net/BUILD.gn ('K') | « net/net.gypi ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698