OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 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 printing.lib / libprinting.a. |
| 7 """ |
| 8 |
| 9 Import('env') |
| 10 |
| 11 env = env.Clone() |
| 12 |
| 13 env.Prepend( |
| 14 CPPPATH = [ |
| 15 '$CHROME_SRC_DIR', |
| 16 ], |
| 17 ) |
| 18 |
| 19 input_files = ChromeFileList([ |
| 20 # TODO(sgk): violate standard indentation so we don't have to |
| 21 # reindent too much when we remove the explicit MSVSFilter() calls |
| 22 # in favor of generating the hierarchy to reflect the file system. |
| 23 'units.cc', |
| 24 'units.h', |
| 25 ]) |
| 26 |
| 27 env.ChromeLibrary('printing', input_files) |
| 28 |
| 29 p = env.ChromeMSVSProject('build/printing.vcproj', |
| 30 dest='$CHROME_SRC_DIR/printing/printing.vcproj', |
| 31 guid='{9E5416B9-B91B-4029-93F4-102C1AD5CAF4}', |
| 32 keyword='Win32Proj', |
| 33 # TODO(sgk): when we can intuit the hierarchy |
| 34 # from the built targets. |
| 35 #buildtargets=TODO, |
| 36 files=input_files, |
| 37 tools=[ |
| 38 'VCPreBuildEventTool', |
| 39 'VCCustomBuildTool', |
| 40 'VCXMLDataGeneratorTool', |
| 41 'VCWebServiceProxyGeneratorTool', |
| 42 'VCMIDLTool', |
| 43 'VCCLCompilerTool', |
| 44 'VCManagedResourceCompilerTool', |
| 45 'VCResourceCompilerTool', |
| 46 'VCPreLinkEventTool', |
| 47 'VCLibrarianTool', |
| 48 'VCALinkTool', |
| 49 'VCXDCMakeTool', |
| 50 'VCBscMakeTool', |
| 51 'VCFxCopTool', |
| 52 'VCPostBuildEventTool', |
| 53 ], |
| 54 ConfigurationType='4') |
| 55 |
| 56 p.AddConfig('Debug|Win32', |
| 57 InheritedPropertySheets=[ |
| 58 '$(SolutionDir)../build/debug.vsprops', |
| 59 './printing.vsprops', |
| 60 ]) |
| 61 |
| 62 p.AddConfig('Release|Win32', |
| 63 InheritedPropertySheets=[ |
| 64 '$(SolutionDir)../build/release.vsprops', |
| 65 './printing.vsprops', |
| 66 ]) |
OLD | NEW |