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

Unified Diff: net/net.gyp

Issue 12192005: Add new simple disk cache backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/simple/simple_synchronous_entry.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index fe2b73487c24b9381c98e41b6d6076c9b2d92479..33c0383de11ab3eb4f6d7aa19b19dc7d3443d40c 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -7,6 +7,7 @@
'chromium_code': 1,
'linux_link_kerberos%': 0,
+ 'use_simple_cache_backend%': 0,
'conditions': [
['chromeos==1 or OS=="android" or OS=="ios"', {
# Disable Kerberos on ChromeOS, Android and iOS, at least for now.
@@ -415,6 +416,13 @@
'disk_cache/stress_support.h',
'disk_cache/trace.cc',
'disk_cache/trace.h',
+ 'disk_cache/simple/simple_backend_impl.cc',
+ 'disk_cache/simple/simple_backend_impl.h',
+ 'disk_cache/simple/simple_disk_format.h',
+ 'disk_cache/simple/simple_entry_impl.cc',
+ 'disk_cache/simple/simple_entry_impl.h',
+ 'disk_cache/simple/simple_synchronous_entry.cc',
+ 'disk_cache/simple/simple_synchronous_entry.h',
'disk_cache/flash/format.h',
'disk_cache/flash/log_store.cc',
'disk_cache/flash/log_store.h',
@@ -1048,6 +1056,11 @@
'dns/dns_client.cc',
],
}],
+ ['use_simple_cache_backend==1', {
+ 'defines': [
+ 'USE_SIMPLE_CACHE_BACKEND',
+ ]
+ }],
['use_openssl==1', {
'sources!': [
'base/cert_database_nss.cc',
« no previous file with comments | « net/disk_cache/simple/simple_synchronous_entry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698