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

Side by Side Diff: net/net.gyp

Issue 12192005: Add new simple disk cache backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix dcheck Created 7 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
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,
10 'conditions': [ 11 'conditions': [
11 ['chromeos==1 or OS=="android" or OS=="ios"', { 12 ['chromeos==1 or OS=="android" or OS=="ios"', {
12 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. 13 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
13 # It needs configuration (krb5.conf and so on). 14 # It needs configuration (krb5.conf and so on).
14 'use_kerberos%': 0, 15 'use_kerberos%': 0,
15 }, { # chromeos == 0 16 }, { # chromeos == 0
16 'use_kerberos%': 1, 17 'use_kerberos%': 1,
17 }], 18 }],
18 ['OS=="android"', { 19 ['OS=="android"', {
19 # The way the cache uses mmap() is inefficient on some Android devices. 20 # The way the cache uses mmap() is inefficient on some Android devices.
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 'disk_cache/sparse_control.h', 403 'disk_cache/sparse_control.h',
403 'disk_cache/stats.cc', 404 'disk_cache/stats.cc',
404 'disk_cache/stats.h', 405 'disk_cache/stats.h',
405 'disk_cache/stats_histogram.cc', 406 'disk_cache/stats_histogram.cc',
406 'disk_cache/stats_histogram.h', 407 'disk_cache/stats_histogram.h',
407 'disk_cache/storage_block-inl.h', 408 'disk_cache/storage_block-inl.h',
408 'disk_cache/storage_block.h', 409 'disk_cache/storage_block.h',
409 'disk_cache/stress_support.h', 410 'disk_cache/stress_support.h',
410 'disk_cache/trace.cc', 411 'disk_cache/trace.cc',
411 'disk_cache/trace.h', 412 'disk_cache/trace.h',
413 'disk_cache/simple/simple_backend_impl.cc',
414 'disk_cache/simple/simple_backend_impl.h',
415 'disk_cache/simple/simple_disk_format.h',
416 'disk_cache/simple/simple_entry_impl.cc',
417 'disk_cache/simple/simple_entry_impl.h',
418 'disk_cache/simple/simple_synchronous_entry.cc',
419 'disk_cache/simple/simple_synchronous_entry.h',
412 'disk_cache/flash/format.h', 420 'disk_cache/flash/format.h',
413 'disk_cache/flash/log_store.cc', 421 'disk_cache/flash/log_store.cc',
414 'disk_cache/flash/log_store.h', 422 'disk_cache/flash/log_store.h',
415 'disk_cache/flash/log_store_entry.cc', 423 'disk_cache/flash/log_store_entry.cc',
416 'disk_cache/flash/log_store_entry.h', 424 'disk_cache/flash/log_store_entry.h',
417 'disk_cache/flash/segment.cc', 425 'disk_cache/flash/segment.cc',
418 'disk_cache/flash/segment.h', 426 'disk_cache/flash/segment.h',
419 'disk_cache/flash/storage.cc', 427 'disk_cache/flash/storage.cc',
420 'disk_cache/flash/storage.h', 428 'disk_cache/flash/storage.h',
421 'dns/address_sorter.h', 429 'dns/address_sorter.h',
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 'defines': [ 1035 'defines': [
1028 'ENABLE_BUILT_IN_DNS', 1036 'ENABLE_BUILT_IN_DNS',
1029 ] 1037 ]
1030 }, { # else 1038 }, { # else
1031 'sources!': [ 1039 'sources!': [
1032 'dns/address_sorter_posix.cc', 1040 'dns/address_sorter_posix.cc',
1033 'dns/address_sorter_posix.h', 1041 'dns/address_sorter_posix.h',
1034 'dns/dns_client.cc', 1042 'dns/dns_client.cc',
1035 ], 1043 ],
1036 }], 1044 }],
1045 ['use_simple_cache_backend==1', {
1046 'defines': [
1047 'USE_SIMPLE_CACHE_BACKEND',
1048 ]
1049 }],
1037 ['use_openssl==1', { 1050 ['use_openssl==1', {
1038 'sources!': [ 1051 'sources!': [
1039 'base/cert_database_nss.cc', 1052 'base/cert_database_nss.cc',
1040 'base/cert_verify_proc_nss.cc', 1053 'base/cert_verify_proc_nss.cc',
1041 'base/cert_verify_proc_nss.h', 1054 'base/cert_verify_proc_nss.h',
1042 'base/client_cert_store_impl_nss.cc', 1055 'base/client_cert_store_impl_nss.cc',
1043 'base/crypto_module_nss.cc', 1056 'base/crypto_module_nss.cc',
1044 'base/keygen_handler_nss.cc', 1057 'base/keygen_handler_nss.cc',
1045 'base/nss_cert_database.cc', 1058 'base/nss_cert_database.cc',
1046 'base/nss_cert_database.h', 1059 'base/nss_cert_database.h',
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
2502 '--result', '<@(_outputs)', 2515 '--result', '<@(_outputs)',
2503 '--isolate', 'net_unittests.isolate', 2516 '--isolate', 'net_unittests.isolate',
2504 ], 2517 ],
2505 }, 2518 },
2506 ], 2519 ],
2507 }, 2520 },
2508 ], 2521 ],
2509 }], 2522 }],
2510 ], 2523 ],
2511 } 2524 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698