| 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 CPPPATH = [ | 10 CPPPATH = [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 '..', | 23 '..', |
| 24 ], | 24 ], |
| 25 CPPDEFINES = [ | 25 CPPDEFINES = [ |
| 26 'USE_HUNSPELL', | 26 'USE_HUNSPELL', |
| 27 'HUNSPELL_CHROME_CLIENT', | 27 'HUNSPELL_CHROME_CLIENT', |
| 28 'LIBXML_STATIC', | 28 'LIBXML_STATIC', |
| 29 'PNG_USER_CONFIG', | 29 'PNG_USER_CONFIG', |
| 30 'CHROME_PNG_WRITE_SUPPORT', | 30 'CHROME_PNG_WRITE_SUPPORT', |
| 31 'UNIT_TEST', | 31 'UNIT_TEST', |
| 32 ], | 32 ], |
| 33 |
| 34 # On Linux, dependencies must come after the libraries that depend on it. |
| 35 # base must come after net, bzip2 must come before base, etc. |
| 33 LIBS = [ | 36 LIBS = [ |
| 37 'net', |
| 38 'bzip2', |
| 34 'base', | 39 'base', |
| 35 'base_gfx', | 40 'base_gfx', |
| 36 'bzip2', | |
| 37 'googleurl', | 41 'googleurl', |
| 38 'gtest', | 42 'gtest', |
| 39 'icuuc', | 43 'icuuc', |
| 40 'libjpeg', | 44 'libjpeg', |
| 41 'libpng', | 45 'libpng', |
| 42 'libxml', | 46 'libxml', |
| 43 'libxslt', | 47 'libxslt', |
| 44 'modp_b64', | 48 'modp_b64', |
| 45 'net', | |
| 46 'skia', | 49 'skia', |
| 47 'v8', | 50 'v8', |
| 48 'zlib', | 51 'zlib', |
| 49 | 52 |
| 50 'WTF', | 53 'WTF', |
| 51 'V8Bindings', | 54 'V8Bindings', |
| 52 'default_plugin', | 55 'default_plugin', |
| 53 'Glue', | 56 'Glue', |
| 54 'JavaScriptCore_pcre', | 57 'JavaScriptCore_pcre', |
| 55 ], | 58 ], |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 | 244 |
| 242 test_program_files = unit_test_files | 245 test_program_files = unit_test_files |
| 243 if env_test['PLATFORM'] == 'win32': | 246 if env_test['PLATFORM'] == 'win32': |
| 244 # This is probably Windows-specific. | 247 # This is probably Windows-specific. |
| 245 test_program_files.extend(libs) | 248 test_program_files.extend(libs) |
| 246 unit_tests = env_test.ChromeTestProgram('unit_tests', test_program_files) | 249 unit_tests = env_test.ChromeTestProgram('unit_tests', test_program_files) |
| 247 | 250 |
| 248 i = env_test.Install('$TARGET_ROOT', unit_tests) | 251 i = env_test.Install('$TARGET_ROOT', unit_tests) |
| 249 Alias('chrome', i) | 252 Alias('chrome', i) |
| 250 | 253 |
| OLD | NEW |