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') | 5 Import('env') |
6 | 6 |
| 7 input_files = ChromeFileList([ |
| 8 'binaries/rlz.dll', |
| 9 'binaries/rlz_dll.pdb', |
| 10 ]) |
| 11 |
| 12 # TODO(sgk): derive from above ChromeFileList object. |
7 env.Install('$TARGET_ROOT', | 13 env.Install('$TARGET_ROOT', |
8 ['binaries/rlz.dll', | 14 ['binaries/rlz.dll', |
9 'binaries/rlz_dll.pdb']) | 15 'binaries/rlz_dll.pdb']) |
10 | 16 |
11 env.ChromeMSVSProject('$RLZ_DIR/rlz.vcproj', | 17 p = env.ChromeMSVSProject('rlz.vcproj', |
12 guid='{BF4F447B-72B5-4059-BE1B-F94337B1F385}') | 18 dest='$CHROME_SRC_DIR/rlz/rlz.vcproj', |
| 19 guid='{BF4F447B-72B5-4059-BE1B-F94337B1F385}', |
| 20 keyword='Win32Proj', |
| 21 # TODO(sgk): when we can intuit the hierarchy |
| 22 # from the built targets. |
| 23 #buildtargets=TODO, |
| 24 files=input_files, |
| 25 tools=[ |
| 26 'VCPreBuildEventTool', |
| 27 'Output RLZ copy', |
| 28 'VCCustomBuildTool', |
| 29 'VCMIDLTool', |
| 30 'VCPostBuildEventTool', |
| 31 ], |
| 32 ConfigurationType='10') |
| 33 |
| 34 # TODO(sgk): remove once SCons drives build |
| 35 p.AddToolFile('./output_rlz_copy.rules') |
| 36 |
| 37 p.AddConfig('Debug|Win32', |
| 38 InheritedPropertySheets=[ |
| 39 '$(SolutionDir)../build/debug.vsprops', |
| 40 ]) |
| 41 |
| 42 p.AddConfig('Release|Win32', |
| 43 InheritedPropertySheets=[ |
| 44 '$(SolutionDir)../build/release.vsprops', |
| 45 ]) |
OLD | NEW |