| OLD | NEW |
| (Empty) |
| 1 | |
| 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 __doc__ = """ | |
| 7 Configuration for building base_unittests{,.exe}. | |
| 8 """ | |
| 9 | |
| 10 Import('env') | |
| 11 | |
| 12 env = env.Clone() | |
| 13 | |
| 14 if env.Bit('windows'): | |
| 15 env.Append( | |
| 16 LINKFLAGS = [ | |
| 17 '/SUBSYSTEM:WINDOWS', | |
| 18 ], | |
| 19 ) | |
| 20 | |
| 21 input_files = ChromeFileList([ | |
| 22 'debug_message.cc', | |
| 23 ]) | |
| 24 | |
| 25 if env.Bit('windows'): | |
| 26 # TODO(port): port this if it's needed on non-Windows systems, | |
| 27 # or remove this comment (and merge with the above block?) | |
| 28 # if it's really Windows-specific. | |
| 29 env.ChromeProgram('debug_message', input_files) | |
| 30 | |
| 31 p = env.ChromeMSVSProject('build/debug_message.vcproj', | |
| 32 dest=('$CHROME_SRC_DIR/base/' | |
| 33 + 'build/debug_message.vcproj'), | |
| 34 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}', | |
| 35 keyword='Win32Proj', | |
| 36 files=input_files, | |
| 37 root_namespace='DebugMessage', | |
| 38 tools = [ | |
| 39 'VCPreBuildEventTool', | |
| 40 'VCCustomBuildTool', | |
| 41 'VCXMLDataGeneratorTool', | |
| 42 'VCWebServiceProxyGeneratorTool', | |
| 43 'VCMIDLTool', | |
| 44 'VCCLCompilerTool', | |
| 45 'VCManagedResourceCompilerTool', | |
| 46 'VCResourceCompilerTool', | |
| 47 'VCPreLinkEventTool', | |
| 48 MSVSTool('VCLinkerTool', SubSystem='2'), | |
| 49 'VCALinkTool', | |
| 50 'VCManifestTool', | |
| 51 'VCXDCMakeTool', | |
| 52 'VCBscMakeTool', | |
| 53 'VCFxCopTool', | |
| 54 'VCAppVerifierTool', | |
| 55 'VCWebDeploymentTool', | |
| 56 'VCPostBuildEventTool', | |
| 57 ]) | |
| 58 | |
| 59 p.AddConfig('Debug|Win32', | |
| 60 ConfigurationType = '1', | |
| 61 InheritedPropertySheets = [ | |
| 62 '$(SolutionDir)../build/common.vsprops', | |
| 63 '$(SolutionDir)../build/debug.vsprops', | |
| 64 ]) | |
| 65 | |
| 66 p.AddConfig('Release|Win32', | |
| 67 ConfigurationType = '1', | |
| 68 InheritedPropertySheets = [ | |
| 69 '$(SolutionDir)../build/common.vsprops', | |
| 70 '$(SolutionDir)../build/release.vsprops', | |
| 71 ]) | |
| OLD | NEW |