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

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
« no previous file with comments | « 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 }, 269 },
287 ], 270 ],
288 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's 271 # client_cert_store_nss.c requires NSS_CmpCertChainWCANames from NSS's
289 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that 272 # libssl, but our bundled copy is not built in OpenSSL ports. Pull that
290 # file in directly. 273 # file in directly.
291 [ 'use_nss_certs == 1 and use_openssl == 1', { 274 [ 'use_nss_certs == 1 and use_openssl == 1', {
292 'sources': [ 275 'sources': [
293 'third_party/nss/ssl/cmpcert.c', 276 'third_party/nss/ssl/cmpcert.c',
294 ], 277 ],
295 }], 278 }],
296 [ 'enable_websockets != 1', { 279 [ 'enable_websockets == 1', {
297 'sources/': [ 280 'sources': ['<@(net_websockets_sources)']
298 ['exclude', '^websockets/'],
299 ],
300 }], 281 }],
301 [ 'enable_mdns != 1', { 282 [ 'enable_mdns != 1', {
302 'sources!' : [ 283 'sources!' : [
303 'dns/mdns_cache.cc', 284 'dns/mdns_cache.cc',
304 'dns/mdns_cache.h', 285 'dns/mdns_cache.h',
305 'dns/mdns_client.cc', 286 'dns/mdns_client.cc',
306 'dns/mdns_client.h', 287 'dns/mdns_client.h',
307 'dns/mdns_client_impl.cc', 288 'dns/mdns_client_impl.cc',
308 'dns/mdns_client_impl.h', 289 'dns/mdns_client_impl.h',
309 'dns/record_parsed.cc', 290 'dns/record_parsed.cc',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 ['include', '^cert/test_root_certs_nss\\.cc$'], 404 ['include', '^cert/test_root_certs_nss\\.cc$'],
424 ['include', '^cert/x509_util_nss_certs\\.cc$'], 405 ['include', '^cert/x509_util_nss_certs\\.cc$'],
425 ['include', '^cert_net/nss_ocsp\\.cc$'], 406 ['include', '^cert_net/nss_ocsp\\.cc$'],
426 ['include', '^cert_net/nss_ocsp\\.h$'], 407 ['include', '^cert_net/nss_ocsp\\.h$'],
427 ['include', '^proxy/proxy_resolver_mac\\.cc$'], 408 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
428 ['include', '^proxy/proxy_server_mac\\.cc$'], 409 ['include', '^proxy/proxy_server_mac\\.cc$'],
429 ], 410 ],
430 }], 411 }],
431 ], 412 ],
432 } 413 }
OLDNEW
« 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