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 'google_update_idl.idl', |
| 9 ]) |
| 10 |
7 # TODO(port): | 11 # TODO(port): |
8 if env.Bit('windows'): | 12 if env.Bit('windows'): |
| 13 # TODO(sgk): get from the input_files list. |
9 env.TypeLibrary('google_update_idl') | 14 env.TypeLibrary('google_update_idl') |
10 | 15 |
11 env.ChromeMSVSProject('$GOOGLE_UPDATE_DIR/ondemand_updates.vcproj', | 16 p = env.ChromeMSVSProject('ondemand_updates.vcproj', |
12 guid='{4052059A-D72B-4183-B5C2-9D1B099E9E35}') | 17 dest=('$CHROME_SRC_DIR/google_update/' + |
| 18 'ondemand_updates.vcproj'), |
| 19 guid='{4052059A-D72B-4183-B5C2-9D1B099E9E35}', |
| 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 relative_path_prefix='./', |
| 26 tools=[ |
| 27 'VCPreBuildEventTool', |
| 28 'VCCustomBuildTool', |
| 29 'VCMIDLTool', |
| 30 'VCPostBuildEventTool', |
| 31 ], |
| 32 ConfigurationType='10') |
| 33 |
| 34 p.AddConfig('Debug|Win32', |
| 35 InheritedPropertySheets=[ |
| 36 '$(SolutionDir)../build/debug.vsprops', |
| 37 ]) |
| 38 |
| 39 p.AddConfig('Release|Win32', |
| 40 InheritedPropertySheets=[ |
| 41 '$(SolutionDir)../build/release.vsprops', |
| 42 ]) |
OLD | NEW |