summaryrefslogtreecommitdiffstats
path: root/net/dump_cache.scons
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-02 19:14:29 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-02 19:14:29 +0000
commit07c3f84910a6bc63a69d5f7fe0725090cf2af1ce (patch)
tree6450123619273152c71b984d2565d22565dec244 /net/dump_cache.scons
parent606843faf131685e7802df12f2ee97efc7cf2f3b (diff)
downloadchromium_src-07c3f84910a6bc63a69d5f7fe0725090cf2af1ce.zip
chromium_src-07c3f84910a6bc63a69d5f7fe0725090cf2af1ce.tar.gz
chromium_src-07c3f84910a6bc63a69d5f7fe0725090cf2af1ce.tar.bz2
Disk cache: Add a tool to upgrade a set of cache files from one version to
another. Also moves crash_cache project to the "tools folder" on the solution. Review URL: http://codereview.chromium.org/12851 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/dump_cache.scons')
-rw-r--r--net/dump_cache.scons35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/dump_cache.scons b/net/dump_cache.scons
new file mode 100644
index 0000000..37099e5
--- /dev/null
+++ b/net/dump_cache.scons
@@ -0,0 +1,35 @@
+# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+__doc__ = """
+Configuration the dump_cache{,.exe} executable.
+"""
+
+Import('env')
+
+env = env.Clone()
+
+env.ApplySConscript([
+ '$BASE_DIR/using_base.scons',
+ '$ICU38_DIR/using_icu38.scons',
+ '$NET_DIR/using_net.scons',
+])
+
+if env['PLATFORM'] == 'win32':
+ env.Prepend(
+ CCFLAGS = [
+ '/WX',
+ ],
+ )
+
+input_files = [
+ 'tools/dump_cache/dump_cache.cc',
+ 'tools/dump_cache/dump_files.cc',
+ 'tools/dump_cache/upgrade.cc',
+]
+
+
+if env['PLATFORM'] == 'win32':
+
+ env.ChromeTestProgram('dump_cache', input_files)