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

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: remediate to felipeg review 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 25 matching lines...) Expand all
45 'variables': { 'enable_wexit_time_destructors': 1, }, 46 'variables': { 'enable_wexit_time_destructors': 1, },
46 'dependencies': [ 47 'dependencies': [
47 '../base/base.gyp:base', 48 '../base/base.gyp:base',
48 '../base/base.gyp:base_i18n', 49 '../base/base.gyp:base_i18n',
49 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 50 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
50 '../build/temp_gyp/googleurl.gyp:googleurl', 51 '../build/temp_gyp/googleurl.gyp:googleurl',
51 '../crypto/crypto.gyp:crypto', 52 '../crypto/crypto.gyp:crypto',
52 '../sdch/sdch.gyp:sdch', 53 '../sdch/sdch.gyp:sdch',
53 '../third_party/icu/icu.gyp:icui18n', 54 '../third_party/icu/icu.gyp:icui18n',
54 '../third_party/icu/icu.gyp:icuuc', 55 '../third_party/icu/icu.gyp:icuuc',
56 '../third_party/smhasher/smhasher.gyp:murmurhash3',
rvargas (doing something else) 2013/02/13 01:48:46 stale
gavinp 2013/02/14 15:29:55 Done.
55 '../third_party/zlib/zlib.gyp:zlib', 57 '../third_party/zlib/zlib.gyp:zlib',
56 'net_resources', 58 'net_resources',
57 ], 59 ],
58 'sources': [ 60 'sources': [
59 'android/keystore.cc', 61 'android/keystore.cc',
60 'android/keystore.h', 62 'android/keystore.h',
61 'android/keystore_openssl.cc', 63 'android/keystore_openssl.cc',
62 'android/keystore_openssl.h', 64 'android/keystore_openssl.h',
63 'android/gurl_utils.cc', 65 'android/gurl_utils.cc',
64 'android/gurl_utils.h', 66 'android/gurl_utils.h',
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 'disk_cache/sparse_control.h', 404 'disk_cache/sparse_control.h',
403 'disk_cache/stats.cc', 405 'disk_cache/stats.cc',
404 'disk_cache/stats.h', 406 'disk_cache/stats.h',
405 'disk_cache/stats_histogram.cc', 407 'disk_cache/stats_histogram.cc',
406 'disk_cache/stats_histogram.h', 408 'disk_cache/stats_histogram.h',
407 'disk_cache/storage_block-inl.h', 409 'disk_cache/storage_block-inl.h',
408 'disk_cache/storage_block.h', 410 'disk_cache/storage_block.h',
409 'disk_cache/stress_support.h', 411 'disk_cache/stress_support.h',
410 'disk_cache/trace.cc', 412 'disk_cache/trace.cc',
411 'disk_cache/trace.h', 413 'disk_cache/trace.h',
414 'disk_cache/simple/simple_backend_impl.cc',
415 'disk_cache/simple/simple_backend_impl.h',
416 'disk_cache/simple/simple_disk_format.h',
417 'disk_cache/simple/simple_entry_impl.cc',
418 'disk_cache/simple/simple_entry_impl.h',
419 'disk_cache/simple/simple_synchronous_entry.cc',
420 'disk_cache/simple/simple_synchronous_entry.h',
412 'disk_cache/flash/format.h', 421 'disk_cache/flash/format.h',
413 'disk_cache/flash/log_store.cc', 422 'disk_cache/flash/log_store.cc',
414 'disk_cache/flash/log_store.h', 423 'disk_cache/flash/log_store.h',
415 'disk_cache/flash/log_store_entry.cc', 424 'disk_cache/flash/log_store_entry.cc',
416 'disk_cache/flash/log_store_entry.h', 425 'disk_cache/flash/log_store_entry.h',
417 'disk_cache/flash/segment.cc', 426 'disk_cache/flash/segment.cc',
418 'disk_cache/flash/segment.h', 427 'disk_cache/flash/segment.h',
419 'disk_cache/flash/storage.cc', 428 'disk_cache/flash/storage.cc',
420 'disk_cache/flash/storage.h', 429 'disk_cache/flash/storage.h',
421 'dns/address_sorter.h', 430 'dns/address_sorter.h',
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 'defines': [ 1035 'defines': [
1027 'ENABLE_BUILT_IN_DNS', 1036 'ENABLE_BUILT_IN_DNS',
1028 ] 1037 ]
1029 }, { # else 1038 }, { # else
1030 'sources!': [ 1039 'sources!': [
1031 'dns/address_sorter_posix.cc', 1040 'dns/address_sorter_posix.cc',
1032 'dns/address_sorter_posix.h', 1041 'dns/address_sorter_posix.h',
1033 'dns/dns_client.cc', 1042 'dns/dns_client.cc',
1034 ], 1043 ],
1035 }], 1044 }],
1045 ['use_simple_cache_backend==1', {
1046 'defines': [
1047 'USE_SIMPLE_CACHE_BACKEND',
1048 ]
1049 }, { # else
1050 'sources!': [
1051 'disk_cache/simple/simple_backend_impl.cc',
1052 'disk_cache/simple/simple_backend_impl.h',
1053 'disk_cache/simple/simple_disk_format.h',
1054 'disk_cache/simple/simple_entry_impl.cc',
1055 'disk_cache/simple/simple_entry_impl.h',
1056 'disk_cache/simple/simple_synchronous_entry.cc',
1057 'disk_cache/simple/simple_synchronous_entry.h',
1058 ],
1059 }],
1036 ['use_openssl==1', { 1060 ['use_openssl==1', {
1037 'sources!': [ 1061 'sources!': [
1038 'base/cert_database_nss.cc', 1062 'base/cert_database_nss.cc',
1039 'base/cert_verify_proc_nss.cc', 1063 'base/cert_verify_proc_nss.cc',
1040 'base/cert_verify_proc_nss.h', 1064 'base/cert_verify_proc_nss.h',
1041 'base/client_cert_store_impl_nss.cc', 1065 'base/client_cert_store_impl_nss.cc',
1042 'base/crypto_module_nss.cc', 1066 'base/crypto_module_nss.cc',
1043 'base/keygen_handler_nss.cc', 1067 'base/keygen_handler_nss.cc',
1044 'base/nss_cert_database.cc', 1068 'base/nss_cert_database.cc',
1045 'base/nss_cert_database.h', 1069 'base/nss_cert_database.h',
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
2501 '--result', '<@(_outputs)', 2525 '--result', '<@(_outputs)',
2502 '--isolate', 'net_unittests.isolate', 2526 '--isolate', 'net_unittests.isolate',
2503 ], 2527 ],
2504 }, 2528 },
2505 ], 2529 ],
2506 }, 2530 },
2507 ], 2531 ],
2508 }], 2532 }],
2509 ], 2533 ],
2510 } 2534 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698