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 for building media_player. | |
7 """ | |
8 | |
9 Import('env') | |
10 | |
11 env = env.Clone() | |
12 | |
13 input_files = ChromeFileList([ | |
14 # TODO(sgk): violate standard indentation so we don't have to | |
15 # reindent too much when we remove the explicit MSVSFilter() calls | |
16 # in favor of generating the hierarchy to reflect the file system. | |
17 MSVSFilter('player', [ | |
18 'player/player.cc', | |
19 ]), | |
20 ]) | |
21 | |
22 p = env.ChromeMSVSProject('build/media_player.vcproj', | |
23 dest=('$CHROME_SRC_DIR/media/' + | |
24 'build/media_player.vcproj'), | |
25 guid='{D4EB0EDC-DC4D-11DD-AE66-DC4F55D89593}', | |
26 keyword='Win32Proj', | |
27 # TODO(sgk): when we can intuit the hierarchy | |
28 # from the built targets. | |
29 #buildtargets=TODO, | |
30 files=input_files, | |
31 tools=[ | |
32 'VCPreBuildEventTool', | |
33 'VCCustomBuildTool', | |
34 'VCXMLDataGeneratorTool', | |
35 'VCWebServiceProxyGeneratorTool', | |
36 'VCMIDLTool', | |
37 'VCCLCompilerTool', | |
38 'VCManagedResourceCompilerTool', | |
39 'VCResourceCompilerTool', | |
40 'VCPreLinkEventTool', | |
41 'VCLinkerTool', | |
42 'VCALinkTool', | |
43 'VCManifestTool', | |
44 'VCXDCMakeTool', | |
45 'VCBscMakeTool', | |
46 'VCFxCopTool', | |
47 'VCAppVerifierTool', | |
48 'VCWebDeploymentTool', | |
49 'VCPostBuildEventTool', | |
50 ], | |
51 ConfigurationType='1') | |
52 | |
53 | |
54 p.AddConfig('Debug|Win32', | |
55 InheritedPropertySheets=[ | |
56 '$(SolutionDir)../build/debug.vsprops', | |
57 ]) | |
58 | |
59 p.AddConfig('Release|Win32', | |
60 InheritedPropertySheets=[ | |
61 '$(SolutionDir)../build/release.vsprops', | |
62 ]) | |
OLD | NEW |