summaryrefslogtreecommitdiffstats
path: root/net/stress_cache.scons
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 23:21:40 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 23:21:40 +0000
commitf727e41d25258a22143c04192b5d98afafae25d2 (patch)
tree0f5b30dbc519aa91e1f17a0b3ae98d4470670572 /net/stress_cache.scons
parent156f2c0e187c0283f026fd356a4b682d4b4eaaa1 (diff)
downloadchromium_src-f727e41d25258a22143c04192b5d98afafae25d2.zip
chromium_src-f727e41d25258a22143c04192b5d98afafae25d2.tar.gz
chromium_src-f727e41d25258a22143c04192b5d98afafae25d2.tar.bz2
Port stress_cache tool.
BUG=4491 Review URL: http://codereview.chromium.org/11202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/stress_cache.scons')
-rw-r--r--net/stress_cache.scons11
1 files changed, 10 insertions, 1 deletions
diff --git a/net/stress_cache.scons b/net/stress_cache.scons
index 09cd905..e7dfedf 100644
--- a/net/stress_cache.scons
+++ b/net/stress_cache.scons
@@ -17,6 +17,15 @@ env.ApplySConscript([
'$NET_DIR/using_net.scons',
])
+if env['PLATFORM'] in ('darwin', 'posix'):
+ env.ApplySConscript(['$THIRD_PARTY_DIR/libevent/using_libevent.scons'])
+
+env.Prepend(
+ CPPPATH = [
+ '$CHROME_SRC_DIR',
+ ],
+)
+
if env['PLATFORM'] == 'win32':
env.Prepend(
CCFLAGS = [
@@ -29,5 +38,5 @@ input_files = [
'disk_cache/stress_cache.cc',
]
-if env['PLATFORM'] == 'win32':
+if env['PLATFORM'] in ('posix', 'win32'):
env.ChromeTestProgram('stress_cache', input_files)