diff options
Diffstat (limited to 'net/tools/tld_cleanup/tld_cleanup.scons')
-rw-r--r-- | net/tools/tld_cleanup/tld_cleanup.scons | 63 |
1 files changed, 54 insertions, 9 deletions
diff --git a/net/tools/tld_cleanup/tld_cleanup.scons b/net/tools/tld_cleanup/tld_cleanup.scons index cd937ca..5f366c4 100644 --- a/net/tools/tld_cleanup/tld_cleanup.scons +++ b/net/tools/tld_cleanup/tld_cleanup.scons @@ -23,16 +23,61 @@ if env.Bit('windows'): ], ) -input_files = [ +input_files = ChromeFileList([ 'tld_cleanup.cc', -] +]) env.ChromeProgram('tld_cleanup', input_files) -env.ChromeMSVSProject('$NET_DIR/build/tld_cleanup.vcproj', - dependencies = [ - '$BASE_DIR/build/base.vcproj', - '$ICU38_DIR/build/icu.vcproj', - '$GOOGLEURL_DIR/build/googleurl.vcproj', - ], - guid='{E13045CD-7E1F-4A41-9B18-8D288B2E7B41}') +p = env.ChromeMSVSProject('$NET_DIR/build/tld_cleanup.vcproj', + guid='{E13045CD-7E1F-4A41-9B18-8D288B2E7B41}', + dependencies = [ + '$BASE_DIR/build/base.vcproj', + '$ICU38_DIR/build/icu.vcproj', + '$GOOGLEURL_DIR/build/googleurl.vcproj', + ], + # TODO: restore when we can derive all info, + # on all platforms, from the windows build targets. + #buildtargets=TODO, + files=input_files, + tools=[ + 'VCPreBuildEventTool', + 'VCCustomBuildTool', + 'VCXMLDataGeneratorTool', + 'VCWebServiceProxyGeneratorTool', + 'VCMIDLTool', + 'VCCLCompilerTool', + 'VCManagedResourceCompilerTool', + 'VCResourceCompilerTool', + 'VCPreLinkEventTool', + MSVSTool('VCLinkerTool', + SubSystem='1'), + 'VCALinkTool', + 'VCManifestTool', + 'VCXDCMakeTool', + 'VCBscMakeTool', + 'VCFxCopTool', + 'VCAppVerifierTool', + 'VCWebDeploymentTool', + 'VCPostBuildEventTool', + ], + ConfigurationType='1') + + +p.AddConfig('Debug|Win32', + InheritedPropertySheets=[ + '$(SolutionDir)../build/common.vsprops', + '$(SolutionDir)../build/debug.vsprops', + ]) + +p.AddConfig('Release|Win32', + InheritedPropertySheets=[ + '$(SolutionDir)../build/common.vsprops', + '$(SolutionDir)../build/release.vsprops', + ]) + +env.AlwaysBuild(p) + +i = env.Command('$CHROME_SRC_DIR/net/build/tld_cleanup.vcproj', p, + Copy('$TARGET', '$SOURCE')) +Alias('msvs', i) |