Index: net/net.gyp |
diff --git a/net/net.gyp b/net/net.gyp |
index 51cdaf6d8a8b9eb57fc72da80fee9760695d7d64..6251a9ee2d429c734b90f6654d3d79ee3c52b67f 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. |
@@ -52,6 +53,7 @@ |
'../sdch/sdch.gyp:sdch', |
'../third_party/icu/icu.gyp:icui18n', |
'../third_party/icu/icu.gyp:icuuc', |
+ '../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.
|
'../third_party/zlib/zlib.gyp:zlib', |
'net_resources', |
], |
@@ -409,6 +411,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', |
@@ -1033,6 +1042,21 @@ |
'dns/dns_client.cc', |
], |
}], |
+ ['use_simple_cache_backend==1', { |
+ 'defines': [ |
+ 'USE_SIMPLE_CACHE_BACKEND', |
+ ] |
+ }, { # else |
+ 'sources!': [ |
+ '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', |
+ ], |
+ }], |
['use_openssl==1', { |
'sources!': [ |
'base/cert_database_nss.cc', |