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

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

Powered by Google App Engine
This is Rietveld 408576698