OLD | NEW |
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 net_perftests{,.exe} executable. | 6 Configuration for building the net_perftests{,.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.SConscript([ | 13 env.SConscript([ |
14 # On Linux, dependencies must follow dependents, so... | 14 # On Linux, dependencies must follow dependents, so... |
15 # 1) net must come before base and modp_b64. | 15 # 1) net must come before base and modp_b64. |
16 # 2) bzip2 must come before base. | 16 # 2) bzip2 must come before base. |
17 '$NET_DIR/using_net.scons', | 17 '$NET_DIR/using_net.scons', |
18 | 18 |
19 '$BASE_DIR/using_base.scons', | 19 '$BASE_DIR/using_base.scons', |
20 '$CHROME_SRC_DIR/build/using_googleurl.scons', | 20 '$CHROME_SRC_DIR/build/using_googleurl.scons', |
21 '$DMG_FP_DIR/using_dmg_fp.scons', | |
22 '$GTEST_DIR/../using_gtest.scons', | 21 '$GTEST_DIR/../using_gtest.scons', |
23 '$ICU38_DIR/using_icu38.scons', | 22 '$ICU38_DIR/using_icu38.scons', |
24 '$MODP_B64_DIR/using_modp_b64.scons', | 23 '$MODP_B64_DIR/using_modp_b64.scons', |
25 ], {'env':env}) | 24 ], {'env':env}) |
26 | 25 |
27 if env['PLATFORM'] in ('posix', 'darwin'): | 26 if env['PLATFORM'] in ('posix', 'darwin'): |
28 env.SConscript([ | 27 env.SConscript([ |
29 '$LIBEVENT_DIR/using_libevent.scons', | 28 '$LIBEVENT_DIR/using_libevent.scons', |
30 ], {'env':env}) | 29 ], {'env':env}) |
31 | 30 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 'disk_cache/disk_cache_test_util$OBJSUFFIX', | 68 'disk_cache/disk_cache_test_util$OBJSUFFIX', |
70 | 69 |
71 # TODO(sgk): avoid using .cc from base directly | 70 # TODO(sgk): avoid using .cc from base directly |
72 '$OBJ_ROOT/base/run_all_perftests$OBJSUFFIX', | 71 '$OBJ_ROOT/base/run_all_perftests$OBJSUFFIX', |
73 '$OBJ_ROOT/base/perftimer$OBJSUFFIX', | 72 '$OBJ_ROOT/base/perftimer$OBJSUFFIX', |
74 ] | 73 ] |
75 | 74 |
76 if env['PLATFORM'] in ('posix', 'win32'): | 75 if env['PLATFORM'] in ('posix', 'win32'): |
77 | 76 |
78 env.ChromeTestProgram('net_perftests', input_files) | 77 env.ChromeTestProgram('net_perftests', input_files) |
OLD | NEW |