| 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 CPPDEFINES = [ | 10 CPPDEFINES = [ |
| 11 'PNG_USER_CONFIG', | 11 'PNG_USER_CONFIG', |
| 12 'CHROME_PNG_WRITE_SUPPORT', | 12 'CHROME_PNG_WRITE_SUPPORT', |
| 13 '_DEBUG', | 13 '_DEBUG', |
| 14 ], | 14 ], |
| 15 CPPPATH = [ | 15 CPPPATH = [ |
| 16 '$ZLIB_DIR', | 16 '$ZLIB_DIR', |
| 17 '$LIBPNG_DIR', | 17 '$LIBPNG_DIR', |
| 18 '$CHROME_SRC_DIR', | 18 '$CHROME_SRC_DIR', |
| 19 ], | 19 ], |
| 20 LIBS = [ | 20 LIBS = [ |
| 21 'dmg_fp', |
| 21 'skia', | 22 'skia', |
| 22 'libpng', | 23 'libpng', |
| 23 'base_gfx', | 24 'base_gfx', |
| 24 env_test['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed | 25 env_test['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed |
| 25 'zlib', | 26 'zlib', |
| 26 'base', | 27 'base', |
| 27 ], | 28 ], |
| 28 ) | 29 ) |
| 29 | 30 |
| 30 if env_test['PLATFORM'] == 'win32': | 31 if env_test['PLATFORM'] == 'win32': |
| (...skipping 19 matching lines...) Expand all Loading... |
| 50 | 51 |
| 51 input_files = [ | 52 input_files = [ |
| 52 'image_diff.cc', | 53 'image_diff.cc', |
| 53 ] | 54 ] |
| 54 | 55 |
| 55 exe = env_test.ChromeTestProgram('image_diff', input_files) | 56 exe = env_test.ChromeTestProgram('image_diff', input_files) |
| 56 i = env_test.Install('$TARGET_ROOT', exe) | 57 i = env_test.Install('$TARGET_ROOT', exe) |
| 57 | 58 |
| 58 env_test.Alias('chrome', i) | 59 env_test.Alias('chrome', i) |
| 59 | 60 |
| OLD | NEW |