| 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 __doc__ = """ | 5 __doc__ = """ |
| 6 Configuration the disk_cache{,.exe} executable. | 6 Configuration the disk_cache{,.exe} executable. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 Import('env') | 9 Import('env') |
| 10 | 10 |
| 11 env = env.Clone() | 11 env = env.Clone() |
| 12 | 12 |
| 13 env.SConscript([ | 13 env.SConscript([ |
| 14 # On Linux, dependencies must follow dependents, so... | 14 # On Linux, dependencies must follow dependents, so... |
| 15 # 1) net must come before base and modp_b64. | 15 # 1) net must come before base and modp_b64. |
| 16 '$NET_DIR/using_net.scons', | 16 '$NET_DIR/using_net.scons', |
| 17 | 17 |
| 18 '$BASE_DIR/using_base.scons', | 18 '$BASE_DIR/using_base.scons', |
| 19 '$DMG_FP_DIR/using_dmg_fp.scons', | |
| 20 '$GTEST_DIR/../using_gtest.scons', | 19 '$GTEST_DIR/../using_gtest.scons', |
| 21 '$ICU38_DIR/using_icu38.scons', | 20 '$ICU38_DIR/using_icu38.scons', |
| 22 ], {'env':env}) | 21 ], {'env':env}) |
| 23 | 22 |
| 24 env.Prepend( | 23 env.Prepend( |
| 25 CPPPATH = [ | 24 CPPPATH = [ |
| 26 '$CHROME_SRC_DIR', | 25 '$CHROME_SRC_DIR', |
| 27 ], | 26 ], |
| 28 ) | 27 ) |
| 29 | 28 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 52 | 51 |
| 53 input_files = [ | 52 input_files = [ |
| 54 'disk_cache/disk_cache_test_util$OBJSUFFIX', | 53 'disk_cache/disk_cache_test_util$OBJSUFFIX', |
| 55 'tools/crash_cache/crash_cache.cc', | 54 'tools/crash_cache/crash_cache.cc', |
| 56 ] | 55 ] |
| 57 | 56 |
| 58 | 57 |
| 59 if env['PLATFORM'] in ('posix', 'win32'): | 58 if env['PLATFORM'] in ('posix', 'win32'): |
| 60 | 59 |
| 61 env.ChromeTestProgram('crash_cache', input_files) | 60 env.ChromeTestProgram('crash_cache', input_files) |
| OLD | NEW |