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

Side by Side Diff: net/net.gyp

Issue 12794003: Initialize the simple cache backend at runtime. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased to latest, auto-merged net.gyp Created 7 years, 8 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/disk_cache/simple/simple_backend_impl.cc ('k') | net/tools/crash_cache/crash_cache.cc » ('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 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_simple_cache_backend%': 0,
11 'conditions': [ 10 'conditions': [
12 ['chromeos==1 or OS=="android" or OS=="ios"', { 11 ['chromeos==1 or OS=="android" or OS=="ios"', {
13 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. 12 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
14 # It needs configuration (krb5.conf and so on). 13 # It needs configuration (krb5.conf and so on).
15 'use_kerberos%': 0, 14 'use_kerberos%': 0,
16 }, { # chromeos == 0 15 }, { # chromeos == 0
17 'use_kerberos%': 1, 16 'use_kerberos%': 1,
18 }], 17 }],
19 ['OS=="android" and target_arch != "ia32"', { 18 ['OS=="android" and target_arch != "ia32"', {
20 # The way the cache uses mmap() is inefficient on some Android devices. 19 # The way the cache uses mmap() is inefficient on some Android devices.
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 'cookies/parsed_cookie.cc', 325 'cookies/parsed_cookie.cc',
327 'cookies/parsed_cookie.h', 326 'cookies/parsed_cookie.h',
328 'disk_cache/addr.cc', 327 'disk_cache/addr.cc',
329 'disk_cache/addr.h', 328 'disk_cache/addr.h',
330 'disk_cache/backend_impl.cc', 329 'disk_cache/backend_impl.cc',
331 'disk_cache/backend_impl.h', 330 'disk_cache/backend_impl.h',
332 'disk_cache/bitmap.cc', 331 'disk_cache/bitmap.cc',
333 'disk_cache/bitmap.h', 332 'disk_cache/bitmap.h',
334 'disk_cache/block_files.cc', 333 'disk_cache/block_files.cc',
335 'disk_cache/block_files.h', 334 'disk_cache/block_files.h',
335 'disk_cache/cache_creator.cc',
336 'disk_cache/cache_util.h', 336 'disk_cache/cache_util.h',
337 'disk_cache/cache_util.cc',
337 'disk_cache/cache_util_posix.cc', 338 'disk_cache/cache_util_posix.cc',
338 'disk_cache/cache_util_win.cc', 339 'disk_cache/cache_util_win.cc',
339 'disk_cache/disk_cache.h', 340 'disk_cache/disk_cache.h',
340 'disk_cache/disk_format.cc', 341 'disk_cache/disk_format.cc',
341 'disk_cache/disk_format.h', 342 'disk_cache/disk_format.h',
342 'disk_cache/entry_impl.cc', 343 'disk_cache/entry_impl.cc',
343 'disk_cache/entry_impl.h', 344 'disk_cache/entry_impl.h',
344 'disk_cache/errors.h', 345 'disk_cache/errors.h',
345 'disk_cache/eviction.cc', 346 'disk_cache/eviction.cc',
346 'disk_cache/eviction.h', 347 'disk_cache/eviction.h',
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 'defines': [ 1074 'defines': [
1074 'ENABLE_BUILT_IN_DNS', 1075 'ENABLE_BUILT_IN_DNS',
1075 ] 1076 ]
1076 }, { # else 1077 }, { # else
1077 'sources!': [ 1078 'sources!': [
1078 'dns/address_sorter_posix.cc', 1079 'dns/address_sorter_posix.cc',
1079 'dns/address_sorter_posix.h', 1080 'dns/address_sorter_posix.h',
1080 'dns/dns_client.cc', 1081 'dns/dns_client.cc',
1081 ], 1082 ],
1082 }], 1083 }],
1083 ['use_simple_cache_backend==1', {
1084 'defines': [
1085 'USE_SIMPLE_CACHE_BACKEND',
1086 ]
1087 }],
1088 ['use_openssl==1', { 1084 ['use_openssl==1', {
1089 'sources!': [ 1085 'sources!': [
1090 'base/crypto_module_nss.cc', 1086 'base/crypto_module_nss.cc',
1091 'base/keygen_handler_nss.cc', 1087 'base/keygen_handler_nss.cc',
1092 'base/nss_memio.c', 1088 'base/nss_memio.c',
1093 'base/nss_memio.h', 1089 'base/nss_memio.h',
1094 'cert/cert_database_nss.cc', 1090 'cert/cert_database_nss.cc',
1095 'cert/cert_verify_proc_nss.cc', 1091 'cert/cert_verify_proc_nss.cc',
1096 'cert/cert_verify_proc_nss.h', 1092 'cert/cert_verify_proc_nss.h',
1097 'cert/nss_cert_database.cc', 1093 'cert/nss_cert_database.cc',
(...skipping 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 '--result', '<@(_outputs)', 2710 '--result', '<@(_outputs)',
2715 '--isolate', 'net_unittests.isolate', 2711 '--isolate', 'net_unittests.isolate',
2716 ], 2712 ],
2717 }, 2713 },
2718 ], 2714 ],
2719 }, 2715 },
2720 ], 2716 ],
2721 }], 2717 }],
2722 ], 2718 ],
2723 } 2719 }
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_backend_impl.cc ('k') | net/tools/crash_cache/crash_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698