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 'skia', | 21 'skia', |
22 'libpng', | 22 'libpng', |
23 'base_gfx', | 23 'base_gfx', |
24 env_test['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed | 24 env_test['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed |
25 'zlib', | 25 env_test['ZLIB_LIB'], |
26 'base', | 26 'base', |
27 ], | 27 ], |
28 ) | 28 ) |
29 | 29 |
30 if env_test['PLATFORM'] == 'win32': | 30 if env_test['PLATFORM'] == 'win32': |
31 env_test.Prepend( | 31 env_test.Prepend( |
32 LINKFLAGS = [ | 32 LINKFLAGS = [ |
33 '/INCREMENTAL', | 33 '/INCREMENTAL', |
34 '/DEBUG', | 34 '/DEBUG', |
35 | 35 |
(...skipping 14 matching lines...) Expand all Loading... |
50 | 50 |
51 input_files = [ | 51 input_files = [ |
52 'image_diff.cc', | 52 'image_diff.cc', |
53 ] | 53 ] |
54 | 54 |
55 exe = env_test.ChromeTestProgram('image_diff', input_files) | 55 exe = env_test.ChromeTestProgram('image_diff', input_files) |
56 i = env_test.Install('$TARGET_ROOT', exe) | 56 i = env_test.Install('$TARGET_ROOT', exe) |
57 | 57 |
58 env_test.Alias('chrome', i) | 58 env_test.Alias('chrome', i) |
59 | 59 |
OLD | NEW |