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 Import('env_test') | 5 Import('env_test') |
6 | 6 |
7 env_test = env_test.Clone() | 7 env_test = env_test.Clone() |
8 | 8 |
9 env_test.Prepend( | 9 env_test.Prepend( |
10 CPPPATH = [ | 10 CPPPATH = [ |
11 '$CHROME_SRC_DIR', | 11 '$CHROME_SRC_DIR', |
12 ], | 12 ], |
13 LIBS = [ | 13 LIBS = [ |
14 env_test['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed | 14 env_test['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed |
15 'base', | 15 'base', |
16 ], | 16 ], |
17 ) | 17 ) |
18 | 18 |
19 if env_test['PLATFORM'] == 'win32': | 19 env_test.Prepend( |
20 env_test.Prepend( | 20 LINKFLAGS = [ |
21 LINKFLAGS = [ | 21 '/INCREMENTAL', |
22 '/INCREMENTAL', | 22 '/DEBUG', |
23 '/DEBUG', | |
24 | 23 |
25 '/DELAYLOAD:"dwmapi.dll"', | 24 '/DELAYLOAD:"dwmapi.dll"', |
26 '/DELAYLOAD:"uxtheme.dll"', | 25 '/DELAYLOAD:"uxtheme.dll"', |
27 | 26 |
28 '/MACHINE:X86', | 27 '/MACHINE:X86', |
29 '/FIXED:No', | 28 '/FIXED:No', |
30 | 29 |
31 '/safeseh', | 30 '/safeseh', |
32 '/dynamicbase', | 31 '/dynamicbase', |
33 '/ignore:4199', | 32 '/ignore:4199', |
34 '/nxcompat', | 33 '/nxcompat', |
35 ], | 34 ], |
36 ) | 35 ) |
37 | 36 |
38 input_files = [ | 37 input_files = [ |
| 38 '$CHROME_DIR/test/test_file_util$OBJSUFFIX', |
39 'flush_cache.cc', | 39 'flush_cache.cc', |
40 ] | 40 ] |
41 | 41 |
42 exe = env_test.ChromeTestProgram('flush_cache', input_files) | 42 exe = env_test.ChromeTestProgram('flush_cache', input_files) |
43 i = env_test.Install('$TARGET_ROOT', exe) | 43 i = env_test.Install('$TARGET_ROOT', exe) |
44 | 44 |
45 env_test.Alias('chrome', i) | 45 env_test.Alias('chrome', i) |
46 | 46 |
OLD | NEW |