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

Side by Side Diff: net/net.gyp

Issue 117533003: Make the blockfile cache an optional build product for chrome target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another rebase Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/cache_creator.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 'linux_link_kerberos%': 0, 9 'linux_link_kerberos%': 0,
10 'use_blockfile_cache_backend%': 1,
10 'use_tracing_cache_backend%': 0, 11 'use_tracing_cache_backend%': 0,
11 'conditions': [ 12 'conditions': [
12 ['chromeos==1 or embedded==1 or OS=="android" or OS=="ios"', { 13 ['chromeos==1 or embedded==1 or OS=="android" or OS=="ios"', {
13 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. 14 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
14 # It needs configuration (krb5.conf and so on). 15 # It needs configuration (krb5.conf and so on).
15 'use_kerberos%': 0, 16 'use_kerberos%': 0,
16 }, { # chromeos == 0 and embedded==0 and OS!="android" and OS!="ios" 17 }, { # chromeos == 0 and embedded==0 and OS!="android" and OS!="ios"
17 'use_kerberos%': 1, 18 'use_kerberos%': 1,
18 }], 19 }],
19 ['OS=="android" and target_arch != "ia32"', { 20 ['OS=="android" and target_arch != "ia32"', {
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 'sources!': [ 1310 'sources!': [
1310 'disk_cache/blockfile/mapped_file_posix.cc', 1311 'disk_cache/blockfile/mapped_file_posix.cc',
1311 ], 1312 ],
1312 }, { # else 1313 }, { # else
1313 'sources!': [ 1314 'sources!': [
1314 'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc', 1315 'disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc',
1315 ], 1316 ],
1316 }], 1317 }],
1317 ['disable_ftp_support==1', { 1318 ['disable_ftp_support==1', {
1318 'sources/': [ 1319 'sources/': [
1319 ['exclude', '^ftp/'], 1320 ['exclude', '^ftp/'],
gavinp 2014/02/13 20:18:05 We exclude by pattern on ftp already. Should we fi
1320 ], 1321 ],
1321 'sources!': [ 1322 'sources!': [
1322 'url_request/ftp_protocol_handler.cc', 1323 'url_request/ftp_protocol_handler.cc',
1323 'url_request/ftp_protocol_handler.h', 1324 'url_request/ftp_protocol_handler.h',
1324 'url_request/url_request_ftp_job.cc', 1325 'url_request/url_request_ftp_job.cc',
1325 'url_request/url_request_ftp_job.h', 1326 'url_request/url_request_ftp_job.h',
1326 ], 1327 ],
1327 }], 1328 }],
1328 ['enable_built_in_dns==1', { 1329 ['enable_built_in_dns==1', {
1329 'defines': [ 1330 'defines': [
1330 'ENABLE_BUILT_IN_DNS', 1331 'ENABLE_BUILT_IN_DNS',
1331 ] 1332 ]
1332 }, { # else 1333 }, { # else
1333 'sources!': [ 1334 'sources!': [
1334 'dns/address_sorter_posix.cc', 1335 'dns/address_sorter_posix.cc',
1335 'dns/address_sorter_posix.h', 1336 'dns/address_sorter_posix.h',
1336 'dns/dns_client.cc', 1337 'dns/dns_client.cc',
1337 ], 1338 ],
1338 }], 1339 }],
1340 ['use_blockfile_cache_backend==1', {
1341 'defines': [
1342 'USE_BLOCKFILE_CACHE_BACKEND',
1343 ],
1344 }, { # use_blockfile_cache_backend == 0
1345 'sources/': [ ['exclude', '^disk_cache/blockfile/' ] ]
1346 }],
1339 ['use_tracing_cache_backend==1', { 1347 ['use_tracing_cache_backend==1', {
1340 'defines': [ 1348 'defines': [
1341 'USE_TRACING_CACHE_BACKEND' 1349 'USE_TRACING_CACHE_BACKEND'
1342 ], 1350 ],
1343 }], 1351 }],
1344 ['use_openssl==1', { 1352 ['use_openssl==1', {
1345 'sources!': [ 1353 'sources!': [
1346 'base/crypto_module_nss.cc', 1354 'base/crypto_module_nss.cc',
1347 'base/keygen_handler_nss.cc', 1355 'base/keygen_handler_nss.cc',
1348 'base/nss_memio.c', 1356 'base/nss_memio.c',
1349 'base/nss_memio.h', 1357 'base/nss_memio.h',
1350 'cert/cert_database_nss.cc', 1358 'cert/cert_database_nss.cc',
1351 'cert/cert_verify_proc_nss.cc', 1359 'cert/cert_verify_proc_nss.cc',
1352 'cert/cert_verify_proc_nss.h', 1360 'cert/cert_verify_proc_nss.h',
1353 'cert/ct_log_verifier_nss.cc', 1361 'cert/ct_log_verifier_nss.cc',
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after
3194 'net_unittests.isolate', 3202 'net_unittests.isolate',
3195 ], 3203 ],
3196 'sources': [ 3204 'sources': [
3197 'net_unittests.isolate', 3205 'net_unittests.isolate',
3198 ], 3206 ],
3199 }, 3207 },
3200 ], 3208 ],
3201 }], 3209 }],
3202 ], 3210 ],
3203 } 3211 }
OLDNEW
« no previous file with comments | « net/disk_cache/cache_creator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698