| 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 the tld_cleanup{,.exe} executable. | |
| 7 """ | |
| 8 | |
| 9 Import('env') | |
| 10 | |
| 11 env = env.Clone() | |
| 12 | |
| 13 env.ApplySConscript([ | |
| 14 '$BASE_DIR/using_base.scons', | |
| 15 '$CHROME_SRC_DIR/build/using_googleurl.scons', | |
| 16 '$ICU38_DIR/using_icu38.scons', | |
| 17 ]) | |
| 18 | |
| 19 if env.Bit('windows'): | |
| 20 env.Append( | |
| 21 LINKFLAGS = [ | |
| 22 '/SUBSYSTEM:CONSOLE', | |
| 23 ], | |
| 24 ) | |
| 25 | |
| 26 input_files = ChromeFileList([ | |
| 27 'tld_cleanup.cc', | |
| 28 ]) | |
| 29 | |
| 30 env.ChromeProgram('tld_cleanup', input_files) | |
| 31 | |
| 32 p = env.ChromeMSVSProject('$NET_DIR/build/tld_cleanup.vcproj', | |
| 33 dest='$CHROME_SRC_DIR/net/build/tld_cleanup.vcproj', | |
| 34 guid='{E13045CD-7E1F-4A41-9B18-8D288B2E7B41}', | |
| 35 keyword='Win32Proj', | |
| 36 dependencies = [ | |
| 37 '$BASE_DIR/build/base.vcproj', | |
| 38 '$ICU38_DIR/build/icu.vcproj', | |
| 39 '$GOOGLEURL_DIR/build/googleurl.vcproj', | |
| 40 ], | |
| 41 # TODO: restore when we can derive all info, | |
| 42 # on all platforms, from the windows build targets. | |
| 43 #buildtargets=TODO, | |
| 44 files=input_files, | |
| 45 tools=[ | |
| 46 'VCPreBuildEventTool', | |
| 47 'VCCustomBuildTool', | |
| 48 'VCXMLDataGeneratorTool', | |
| 49 'VCWebServiceProxyGeneratorTool', | |
| 50 'VCMIDLTool', | |
| 51 'VCCLCompilerTool', | |
| 52 'VCManagedResourceCompilerTool', | |
| 53 'VCResourceCompilerTool', | |
| 54 'VCPreLinkEventTool', | |
| 55 MSVSTool('VCLinkerTool', | |
| 56 SubSystem='1'), | |
| 57 'VCALinkTool', | |
| 58 'VCManifestTool', | |
| 59 'VCXDCMakeTool', | |
| 60 'VCBscMakeTool', | |
| 61 'VCFxCopTool', | |
| 62 'VCAppVerifierTool', | |
| 63 'VCWebDeploymentTool', | |
| 64 'VCPostBuildEventTool', | |
| 65 ], | |
| 66 ConfigurationType='1') | |
| 67 | |
| 68 | |
| 69 p.AddConfig('Debug|Win32', | |
| 70 InheritedPropertySheets=[ | |
| 71 '$(SolutionDir)../build/common.vsprops', | |
| 72 '$(SolutionDir)../build/debug.vsprops', | |
| 73 ]) | |
| 74 | |
| 75 p.AddConfig('Release|Win32', | |
| 76 InheritedPropertySheets=[ | |
| 77 '$(SolutionDir)../build/common.vsprops', | |
| 78 '$(SolutionDir)../build/release.vsprops', | |
| 79 ]) | |
| OLD | NEW |