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

Unified Diff: net/net.gyp

Issue 117533003: Make the blockfile cache an optional build product for chrome target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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/cache_creator.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 1a9b78edda474a8a5e1bf3b84d44bba03c3bfe41..78410520ffc9b32dc5ba2a9067ae414bc96e0aca 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -7,6 +7,7 @@
'chromium_code': 1,
'linux_link_kerberos%': 0,
+ 'use_blockfile_cache_backend%': 1,
'use_tracing_cache_backend%': 0,
'conditions': [
['chromeos==1 or embedded==1 or OS=="android" or OS=="ios"', {
@@ -1346,11 +1347,18 @@
'dns/dns_client.cc',
],
}],
+ ['use_blockfile_cache_backend==1', {
+ 'defines': [
+ 'USE_BLOCKFILE_CACHE_BACKEND',
+ ],
+ }, { # use_blockfile_cache_backend == 0
+ 'sources/': [ ['exclude', '^disk_cache/blockfile/' ] ]
+ }],
['use_tracing_cache_backend==1', {
'defines': [
'USE_TRACING_CACHE_BACKEND'
],
- }],
+ }],
['use_openssl==1', {
'sources!': [
'base/crypto_module_nss.cc',
« no previous file with comments | « net/disk_cache/cache_creator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698