| 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') | 5 Import('env') |
| 6 | 6 |
| 7 env = env.Clone() | 7 env = env.Clone() |
| 8 | 8 |
| 9 env.ApplySConscript([ | 9 env.ApplySConscript([ |
| 10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
| 11 '$ICU38_DIR/using_icu38.scons', | 11 '$ICU38_DIR/using_icu38.scons', |
| 12 ]) | 12 ]) |
| 13 | 13 |
| 14 env.Prepend( | 14 env.Prepend( |
| 15 CPPPATH = [ | 15 CPPPATH = [ |
| 16 '$CHROME_SRC_DIR', | 16 '$CHROME_SRC_DIR', |
| 17 ], | 17 ], |
| 18 ) | 18 ) |
| 19 | 19 |
| 20 if env['PLATFORM'] == 'win32': | 20 if env.Bit('windows'): |
| 21 env.Prepend( | 21 env.Prepend( |
| 22 LINKFLAGS = [ | 22 LINKFLAGS = [ |
| 23 '/INCREMENTAL', | 23 '/INCREMENTAL', |
| 24 '/DEBUG', | 24 '/DEBUG', |
| 25 | 25 |
| 26 '/DELAYLOAD:"dwmapi.dll"', | 26 '/DELAYLOAD:"dwmapi.dll"', |
| 27 '/DELAYLOAD:"uxtheme.dll"', | 27 '/DELAYLOAD:"uxtheme.dll"', |
| 28 | 28 |
| 29 '/MACHINE:X86', | 29 '/MACHINE:X86', |
| 30 '/FIXED:No', | 30 '/FIXED:No', |
| 31 | 31 |
| 32 '/safeseh', | 32 '/safeseh', |
| 33 '/dynamicbase', | 33 '/dynamicbase', |
| 34 '/ignore:4199', | 34 '/ignore:4199', |
| 35 '/nxcompat', | 35 '/nxcompat', |
| 36 ], | 36 ], |
| 37 ) | 37 ) |
| 38 | 38 |
| 39 input_files = [ | 39 input_files = [ |
| 40 'flush_cache.cc', | 40 'flush_cache.cc', |
| 41 ] | 41 ] |
| 42 | 42 |
| 43 env.ChromeTestProgram('flush_cache', input_files) | 43 env.ChromeTestProgram('flush_cache', input_files) |
| OLD | NEW |