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

Side by Side Diff: net/stress_cache.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/net_unittests.scons ('k') | net/tools/tld_cleanup/tld_cleanup.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 __doc__ = """ 5 __doc__ = """
6 Configuration for building the stress_cache{,.exe} executable. 6 Configuration for building the stress_cache{,.exe} executable.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
11 env = env.Clone() 11 env = env.Clone()
12 12
13 env.ApplySConscript([ 13 env.ApplySConscript([
14 '$BASE_DIR/using_base.scons', 14 '$BASE_DIR/using_base.scons',
15 '$GTEST_DIR/../using_gtest.scons', 15 '$GTEST_DIR/../using_gtest.scons',
16 '$ICU38_DIR/using_icu38.scons', 16 '$ICU38_DIR/using_icu38.scons',
17 '$NET_DIR/using_net.scons', 17 '$NET_DIR/using_net.scons',
18 ]) 18 ])
19 19
20 if env['PLATFORM'] in ('darwin', 'posix'): 20 if env.Bit('posix'):
21 env.ApplySConscript(['$THIRD_PARTY_DIR/libevent/using_libevent.scons']) 21 env.ApplySConscript(['$THIRD_PARTY_DIR/libevent/using_libevent.scons'])
22 22
23 env.Prepend( 23 env.Prepend(
24 CPPPATH = [ 24 CPPPATH = [
25 '$CHROME_SRC_DIR', 25 '$CHROME_SRC_DIR',
26 ], 26 ],
27 ) 27 )
28 28
29 if env['PLATFORM'] == 'win32': 29 if env.Bit('windows'):
30 env.Prepend( 30 env.Prepend(
31 CCFLAGS = [ 31 CCFLAGS = [
32 '/WX', 32 '/WX',
33 ], 33 ],
34 ) 34 )
35 35
36 input_files = [ 36 input_files = [
37 'disk_cache/disk_cache_test_util$OBJSUFFIX', 37 'disk_cache/disk_cache_test_util$OBJSUFFIX',
38 'disk_cache/stress_cache.cc', 38 'disk_cache/stress_cache.cc',
39 ] 39 ]
40 40
41 if env['PLATFORM'] in ('posix', 'win32'): 41 if not env.Bit('mac'):
42 env.ChromeTestProgram('stress_cache', input_files) 42 env.ChromeTestProgram('stress_cache', input_files)
OLDNEW
« no previous file with comments | « net/net_unittests.scons ('k') | net/tools/tld_cleanup/tld_cleanup.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698