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 Import('env') | |
6 | |
7 env = env.Clone() | |
8 | |
9 env.ApplySConscript([ | |
10 '$BASE_DIR/using_base.scons', | |
11 '$ICU38_DIR/using_icu38.scons', | |
12 ]) | |
13 | |
14 env.Prepend( | |
15 CPPPATH = [ | |
16 '$CHROME_SRC_DIR', | |
17 ], | |
18 ) | |
19 | |
20 if env.Bit('windows'): | |
21 env.Prepend( | |
22 LINKFLAGS = [ | |
23 '/INCREMENTAL', | |
24 '/DEBUG', | |
25 | |
26 '/DELAYLOAD:"dwmapi.dll"', | |
27 '/DELAYLOAD:"uxtheme.dll"', | |
28 | |
29 '/MACHINE:X86', | |
30 '/FIXED:No', | |
31 | |
32 '/safeseh', | |
33 '/dynamicbase', | |
34 '/ignore:4199', | |
35 '/nxcompat', | |
36 ], | |
37 ) | |
38 | |
39 input_files = ChromeFileList([ | |
40 'flush_cache.cc', | |
41 ]) | |
42 | |
43 env.ChromeTestProgram('flush_cache', input_files) | |
44 | |
45 p = env.ChromeMSVSProject('flush_cache.vcproj', | |
46 dest=('$CHROME_SRC_DIR/chrome/' | |
47 + 'tools/perf/flush_cache/flush_cache.vcproj'), | |
48 guid='{4539AFB3-B8DC-47F3-A491-6DAC8FD26657}', | |
49 dependencies = [ | |
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 |