| 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 modp_b64.lib / libmodp_b64.a. | |
| 7 """ | |
| 8 | |
| 9 Import('env') | |
| 10 | |
| 11 env = env.Clone( | |
| 12 PDB = 'vc80.pdb', | |
| 13 ) | |
| 14 | |
| 15 env.Prepend( | |
| 16 CPPPATH = [ | |
| 17 '$CHROME_SRC_DIR', | |
| 18 ], | |
| 19 ) | |
| 20 | |
| 21 input_files = ChromeFileList([ | |
| 22 'modp_b64.cc', | |
| 23 'modp_b64.h', | |
| 24 'modp_b64_data.h', | |
| 25 ]) | |
| 26 | |
| 27 env.ChromeLibrary('modp_b64', input_files) | |
| 28 | |
| 29 p = env.ChromeMSVSProject('modp_b64.vcproj', | |
| 30 dest=('$CHROME_SRC_DIR/third_party/' + | |
| 31 'modp_b64/modp_b64.vcproj'), | |
| 32 guid='{7100F41F-868D-4E99-80A2-AF8E6574749D}', | |
| 33 keyword='Win32Proj', | |
| 34 # TODO(sgk): when we can intuit the hierarchy | |
| 35 # from the built targets. | |
| 36 #buildtargets=TODO, | |
| 37 files=input_files, | |
| 38 relative_path_prefix='./', | |
| 39 tools=[ | |
| 40 'VCCLCompilerTool', | |
| 41 'VCLibrarianTool', | |
| 42 ], | |
| 43 ConfigurationType='4') | |
| 44 | |
| 45 p.AddConfig('Debug|Win32', | |
| 46 InheritedPropertySheets=[ | |
| 47 '$(SolutionDir)../build/common.vsprops', | |
| 48 '$(SolutionDir)../build/debug.vsprops', | |
| 49 '$(SolutionDir)../build/external_code.vsprops', | |
| 50 ]) | |
| 51 | |
| 52 p.AddConfig('Release|Win32', | |
| 53 InheritedPropertySheets=[ | |
| 54 '$(SolutionDir)../build/common.vsprops', | |
| 55 '$(SolutionDir)../build/release.vsprops', | |
| 56 '$(SolutionDir)../build/external_code.vsprops', | |
| 57 ]) | |
| OLD | NEW |