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 |
(...skipping 18 matching lines...) Expand all Loading... |
29 'tools/crash_cache/crash_cache.cc', | 29 'tools/crash_cache/crash_cache.cc', |
30 'disk_cache/disk_cache_test_util$OBJSUFFIX', | 30 'disk_cache/disk_cache_test_util$OBJSUFFIX', |
31 ]) | 31 ]) |
32 | 32 |
33 | 33 |
34 if not env.AnyBits('linux', 'mac'): | 34 if not env.AnyBits('linux', 'mac'): |
35 # TODO(port): port to linux and mac? | 35 # TODO(port): port to linux and mac? |
36 env.ChromeTestProgram('crash_cache', input_files) | 36 env.ChromeTestProgram('crash_cache', input_files) |
37 | 37 |
38 p = env.ChromeMSVSProject('$NET_DIR/build/crash_cache.vcproj', | 38 p = env.ChromeMSVSProject('$NET_DIR/build/crash_cache.vcproj', |
| 39 dest='$CHROME_SRC_DIR/net/build/crash_cache.vcproj', |
39 guid='{B0EE0599-2913-46A0-A847-A3EC813658D3}', | 40 guid='{B0EE0599-2913-46A0-A847-A3EC813658D3}', |
40 dependencies = [ | 41 dependencies = [ |
41 '$BASE_DIR/build/base.vcproj', | 42 '$BASE_DIR/build/base.vcproj', |
42 '$NET_DIR/build/net.vcproj', | 43 '$NET_DIR/build/net.vcproj', |
43 '$ICU38_DIR/build/icu.vcproj', | 44 '$ICU38_DIR/build/icu.vcproj', |
44 ], | 45 ], |
45 # TODO: restore when we can derive all info, | 46 # TODO: restore when we can derive all info, |
46 # on all platforms, from the windows build targets. | 47 # on all platforms, from the windows build targets. |
47 #buildtargets=TODO, | 48 #buildtargets=TODO, |
48 files=input_files, | 49 files=input_files, |
(...skipping 25 matching lines...) Expand all Loading... |
74 InheritedPropertySheets=[ | 75 InheritedPropertySheets=[ |
75 '$(SolutionDir)../build/common.vsprops', | 76 '$(SolutionDir)../build/common.vsprops', |
76 '$(SolutionDir)../build/debug.vsprops', | 77 '$(SolutionDir)../build/debug.vsprops', |
77 ]) | 78 ]) |
78 | 79 |
79 p.AddConfig('Release|Win32', | 80 p.AddConfig('Release|Win32', |
80 InheritedPropertySheets=[ | 81 InheritedPropertySheets=[ |
81 '$(SolutionDir)../build/common.vsprops', | 82 '$(SolutionDir)../build/common.vsprops', |
82 '$(SolutionDir)../build/release.vsprops', | 83 '$(SolutionDir)../build/release.vsprops', |
83 ]) | 84 ]) |
84 | |
85 env.AlwaysBuild(p) | |
86 | |
87 i = env.Command('$CHROME_SRC_DIR/net/build/crash_cache.vcproj', p, | |
88 Copy('$TARGET', '$SOURCE')) | |
89 Alias('msvs', i) | |
OLD | NEW |