OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.ApplySConscript([ | 9 env.ApplySConscript([ |
10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
(...skipping 18 matching lines...) Expand all Loading... |
29 '/MACHINE:X86', | 29 '/MACHINE:X86', |
30 '/FIXED:No', | 30 '/FIXED:No', |
31 | 31 |
32 '/safeseh', | 32 '/safeseh', |
33 '/dynamicbase', | 33 '/dynamicbase', |
34 '/ignore:4199', | 34 '/ignore:4199', |
35 '/nxcompat', | 35 '/nxcompat', |
36 ], | 36 ], |
37 ) | 37 ) |
38 | 38 |
39 input_files = [ | 39 input_files = ChromeFileList([ |
40 'flush_cache.cc', | 40 'flush_cache.cc', |
41 ] | 41 ]) |
42 | 42 |
43 env.ChromeTestProgram('flush_cache', input_files) | 43 env.ChromeTestProgram('flush_cache', input_files) |
44 | 44 |
45 env.ChromeMSVSProject('$CHROME_DIR/tools/perf/flush_cache/flush_cache.vcproj', | 45 p = env.ChromeMSVSProject('flush_cache.vcproj', |
46 dependencies = [ | 46 dest=('$CHROME_SRC_DIR/chrome/' |
47 '$BASE_DIR/build/base.vcproj', | 47 + 'tools/perf/flush_cache/flush_cache.vcproj'), |
48 '$ICU38_DIR/build/icu.vcproj', | 48 guid='{4539AFB3-B8DC-47F3-A491-6DAC8FD26657}', |
49 ], | 49 dependencies = [ |
50 guid='{4539AFB3-B8DC-47F3-A491-6DAC8FD26657}') | 50 '$BASE_DIR/build/base.vcproj', |
| 51 '$ICU38_DIR/build/icu.vcproj', |
| 52 ], |
| 53 # TODO(sgk): when we can intuit the hierarchy |
| 54 # from the built targets. |
| 55 #buildtargets=TODO, |
| 56 files=input_files, |
| 57 relative_path_prefix='./', |
| 58 tools=[ |
| 59 'VCPreBuildEventTool', |
| 60 'VCCustomBuildTool', |
| 61 'VCXMLDataGeneratorTool', |
| 62 'VCWebServiceProxyGeneratorTool', |
| 63 'VCMIDLTool', |
| 64 'VCCLCompilerTool', |
| 65 'VCManagedResourceCompilerTool', |
| 66 'VCResourceCompilerTool', |
| 67 'VCPreLinkEventTool', |
| 68 'VCLinkerTool', |
| 69 'VCALinkTool', |
| 70 'VCManifestTool', |
| 71 'VCXDCMakeTool', |
| 72 'VCBscMakeTool', |
| 73 'VCFxCopTool', |
| 74 'VCAppVerifierTool', |
| 75 'VCWebDeploymentTool', |
| 76 'VCPostBuildEventTool', |
| 77 ], |
| 78 ConfigurationType='1') |
| 79 |
| 80 p.AddConfig('Debug|Win32', |
| 81 InheritedPropertySheets=[ |
| 82 '$(SolutionDir)../build/common.vsprops', |
| 83 '$(SolutionDir)../build/debug.vsprops', |
| 84 ]) |
| 85 |
| 86 p.AddConfig('Release|Win32', |
| 87 InheritedPropertySheets=[ |
| 88 '$(SolutionDir)../build/common.vsprops', |
| 89 '$(SolutionDir)../build/release.vsprops', |
| 90 ]) |
OLD | NEW |