OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 __doc__ = """ |
| 6 Configuration the dump_cache{,.exe} executable. |
| 7 """ |
| 8 |
| 9 Import('env') |
| 10 |
| 11 env = env.Clone() |
| 12 |
| 13 env.ApplySConscript([ |
| 14 '$BASE_DIR/using_base.scons', |
| 15 '$ICU38_DIR/using_icu38.scons', |
| 16 '$NET_DIR/using_net.scons', |
| 17 ]) |
| 18 |
| 19 if env['PLATFORM'] == 'win32': |
| 20 env.Prepend( |
| 21 CCFLAGS = [ |
| 22 '/WX', |
| 23 ], |
| 24 ) |
| 25 |
| 26 input_files = [ |
| 27 'tools/dump_cache/dump_cache.cc', |
| 28 'tools/dump_cache/dump_files.cc', |
| 29 'tools/dump_cache/upgrade.cc', |
| 30 ] |
| 31 |
| 32 |
| 33 if env['PLATFORM'] == 'win32': |
| 34 |
| 35 env.ChromeTestProgram('dump_cache', input_files) |
OLD | NEW |