| 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 '$BASE_DIR/gfx/using_base_gfx.scons', | 11 '$BASE_DIR/gfx/using_base_gfx.scons', |
| 12 '$ICU38_DIR/using_icu38.scons', | 12 '$ICU38_DIR/using_icu38.scons', |
| 13 '$LIBPNG_DIR/using_libpng.scons', | 13 '$LIBPNG_DIR/using_libpng.scons', |
| 14 '$SKIA_DIR/using_skia.scons', | 14 '$SKIA_DIR/using_skia.scons', |
| 15 '$ZLIB_DIR/using_zlib.scons', | 15 '$ZLIB_DIR/using_zlib.scons', |
| 16 ]) | 16 ]) |
| 17 | 17 |
| 18 env.Prepend( | 18 env.Prepend( |
| 19 CPPPATH = [ | 19 CPPPATH = [ |
| 20 '$CHROME_SRC_DIR', | 20 '$CHROME_SRC_DIR', |
| 21 ], | 21 ], |
| 22 ) | 22 ) |
| 23 | 23 |
| 24 if env['PLATFORM'] == 'win32': | 24 if env.Bit('windows'): |
| 25 env.Prepend( | 25 env.Prepend( |
| 26 LINKFLAGS = [ | 26 LINKFLAGS = [ |
| 27 '/INCREMENTAL', | 27 '/INCREMENTAL', |
| 28 '/DEBUG', | 28 '/DEBUG', |
| 29 | 29 |
| 30 '/DELAYLOAD:"dwmapi.dll"', | 30 '/DELAYLOAD:"dwmapi.dll"', |
| 31 '/DELAYLOAD:"uxtheme.dll"', | 31 '/DELAYLOAD:"uxtheme.dll"', |
| 32 | 32 |
| 33 '/SUBSYSTEM:CONSOLE', | 33 '/SUBSYSTEM:CONSOLE', |
| 34 | 34 |
| 35 '/MACHINE:X86', | 35 '/MACHINE:X86', |
| 36 '/FIXED:No', | 36 '/FIXED:No', |
| 37 | 37 |
| 38 '/safeseh', | 38 '/safeseh', |
| 39 '/dynamicbase', | 39 '/dynamicbase', |
| 40 '/ignore:4199', | 40 '/ignore:4199', |
| 41 '/nxcompat', | 41 '/nxcompat', |
| 42 ], | 42 ], |
| 43 ) | 43 ) |
| 44 | 44 |
| 45 input_files = [ | 45 input_files = [ |
| 46 'image_diff.cc', | 46 'image_diff.cc', |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 env.ChromeTestProgram('image_diff', input_files) | 49 env.ChromeTestProgram('image_diff', input_files) |
| OLD | NEW |