diff options
Diffstat (limited to 'net/stress_cache.scons')
-rw-r--r-- | net/stress_cache.scons | 65 |
1 files changed, 55 insertions, 10 deletions
diff --git a/net/stress_cache.scons b/net/stress_cache.scons index 008683d..9f926e4 100644 --- a/net/stress_cache.scons +++ b/net/stress_cache.scons @@ -36,19 +36,64 @@ if env.Bit('windows'): ], ) -input_files = [ +input_files = ChromeFileList([ 'disk_cache/disk_cache_test_util$OBJSUFFIX', 'disk_cache/stress_cache.cc', -] +]) if not env.Bit('mac'): env.ChromeTestProgram('stress_cache', input_files) -env.ChromeMSVSProject('$NET_DIR/build/stress_cache.vcproj', - dependencies = [ - '$BASE_DIR/build/base.vcproj', - '$NET_DIR/build/net.vcproj', - '$ICU38_DIR/build/icu.vcproj', - '$TESTING_DIR/gtest.vcproj', - ], - guid='{B491C3A1-DE5F-4843-A1BB-AB8C4337187B}') +p = env.ChromeMSVSProject('$NET_DIR/build/stress_cache.vcproj', + guid='{B491C3A1-DE5F-4843-A1BB-AB8C4337187B}', + dependencies = [ + '$BASE_DIR/build/base.vcproj', + '$NET_DIR/build/net.vcproj', + '$ICU38_DIR/build/icu.vcproj', + '$TESTING_DIR/gtest.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/stress_cache.vcproj', p, + Copy('$TARGET', '$SOURCE')) +Alias('msvs', i) |