| 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 CPPDEFINES = [ | |
| 20 '_DEBUG', | |
| 21 ], | |
| 22 CPPPATH = [ | 19 CPPPATH = [ |
| 23 '$CHROME_SRC_DIR', | 20 '$CHROME_SRC_DIR', |
| 24 ], | 21 ], |
| 25 ) | 22 ) |
| 26 | 23 |
| 27 if env['PLATFORM'] == 'win32': | 24 if env['PLATFORM'] == 'win32': |
| 28 env.Prepend( | 25 env.Prepend( |
| 29 LINKFLAGS = [ | 26 LINKFLAGS = [ |
| 30 '/INCREMENTAL', | 27 '/INCREMENTAL', |
| 31 '/DEBUG', | 28 '/DEBUG', |
| (...skipping 11 matching lines...) Expand all Loading... |
| 43 '/ignore:4199', | 40 '/ignore:4199', |
| 44 '/nxcompat', | 41 '/nxcompat', |
| 45 ], | 42 ], |
| 46 ) | 43 ) |
| 47 | 44 |
| 48 input_files = [ | 45 input_files = [ |
| 49 'image_diff.cc', | 46 'image_diff.cc', |
| 50 ] | 47 ] |
| 51 | 48 |
| 52 env.ChromeTestProgram('image_diff', input_files) | 49 env.ChromeTestProgram('image_diff', input_files) |
| OLD | NEW |