Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Side by Side Diff: chrome/test/memory_test/memory_test.scons

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 '$BASE_DIR/gfx/using_base_gfx.scons',
12 '$CHROME_SRC_DIR/build/using_googleurl.scons',
13 '$GTEST_DIR/../using_gtest.scons',
14 '$ICU38_DIR/using_icu38.scons',
15 '$LIBPNG_DIR/using_libpng.scons',
16 '$MODP_B64_DIR/using_modp_b64.scons',
17 '$NET_DIR/using_net.scons',
18 '$SKIA_DIR/using_skia.scons',
19 '$ZLIB_DIR/using_zlib.scons',
20 ])
21
22 env.Prepend(
23 CPPDEFINES = [
24 'UI_TEST',
25 'UNIT_TEST',
26 ],
27 CPPPATH = [
28 '$CHROME_SRC_DIR',
29 ],
30 LIBS = [
31 'automation',
32 'browser',
33 'browser_views',
34 'common',
35 ],
36 )
37
38 if env.Bit('windows'):
39 env.Prepend(
40 LINKFLAGS = [
41 '/INCREMENTAL',
42 '/DEBUG',
43
44 '/DELAYLOAD:"dwmapi.dll"',
45 '/DELAYLOAD:"uxtheme.dll"',
46
47 '/MACHINE:X86',
48 '/FIXED:No',
49
50 '/safeseh',
51 '/dynamicbase',
52 '/ignore:4199',
53 '/nxcompat',
54 ],
55 )
56
57 input_files = ChromeFileList([
58 # TODO(sgk): violate standard indentation so we don't have to
59 # reindent too much when we remove the explicit MSVSFilter() calls
60 # in favor of generating the hierarchy to reflect the file system.
61 MSVSFilter('Common', [
62 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
63 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
64 '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
65 '$CHROME_DIR/test/testing_browser_process.h',
66 '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
67 '$CHROME_DIR/test/ui/ui_test.h',
68 '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
69 ]),
70 MSVSFilter('MemoryUsage', [
71 '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
72 '$CHROME_DIR/test/perf/mem_usage.h',
73 ]),
74 MSVSFilter('TestMemory', [
75 'memory_test.cc',
76 ]),
77 ])
78
79 if not env.Bit('windows'):
80 # Windows-specific.
81 input_files.Remove(
82 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
83 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
84 )
85
86 # TODO(port):
87 if env.Bit('windows'):
88 env.ChromeTestProgram('memory_test', input_files)
89
90 p = env.ChromeMSVSProject('memory_test.vcproj',
91 dest=('$CHROME_SRC_DIR/chrome/'
92 + 'test/memory_test/memory_test.vcproj'),
93 guid='{A5F831FD-9B9C-4FEF-9FBA-554817B734CE}',
94 dependencies = [
95 '$CHROME_DIR/test/automation/automation.vcproj',
96 '$BASE_DIR/build/base.vcproj',
97 '$NET_DIR/build/net.vcproj',
98 '$CHROME_DIR/browser/browser.vcproj',
99 '$MODP_B64_DIR/modp_b64.vcproj',
100 '$ZLIB_DIR/zlib.vcproj',
101 '$CHROME_DIR/common/common.vcproj',
102 '$BASE_DIR/build/base_gfx.vcproj',
103 '$TESTING_DIR/gtest.vcproj',
104 '$LIBPNG_DIR/libpng.vcproj',
105 '$SKIA_DIR/skia.vcproj',
106 '$GOOGLEURL_DIR/build/googleurl.vcproj',
107 '$CHROME_DIR/browser/views/browser_views.vcproj',
108 ],
109 # TODO(sgk): when we can intuit the hierarchy
110 # from the built targets.
111 #buildtargets=TODO,
112 files=input_files,
113 local_directory_prefix='./',
114 tools=[
115 'VCPreBuildEventTool',
116 'VCCustomBuildTool',
117 'VCXMLDataGeneratorTool',
118 'VCWebServiceProxyGeneratorTool',
119 'VCMIDLTool',
120 'VCCLCompilerTool',
121 'VCManagedResourceCompilerTool',
122 'VCResourceCompilerTool',
123 'VCPreLinkEventTool',
124 MSVSTool('VCLinkerTool',
125 AdditionalDependencies='winmm.lib'),
126 'VCALinkTool',
127 'VCManifestTool',
128 'VCXDCMakeTool',
129 'VCBscMakeTool',
130 'VCFxCopTool',
131 'VCAppVerifierTool',
132 'VCWebDeploymentTool',
133 'VCPostBuildEventTool',
134 ],
135 ConfigurationType='1')
136
137
138 p.AddConfig('Debug|Win32',
139 InheritedPropertySheets=[
140 '$(SolutionDir)../build/common.vsprops',
141 '$(SolutionDir)../build/debug.vsprops',
142 '../../tools/build/win/precompiled_wtl.vsprops',
143 '../../tools/build/win/unit_test.vsprops',
144 '../../tools/build/win/ui_test.vsprops',
145 '../../tools/build/win/test_memory_usage.vsprops',
146 '$(SolutionDir)../skia/using_skia.vsprops',
147 '$(SolutionDir)../testing/using_gtest.vsprops',
148 ])
149
150 p.AddConfig('Release|Win32',
151 InheritedPropertySheets=[
152 '$(SolutionDir)../build/common.vsprops',
153 '$(SolutionDir)../build/release.vsprops',
154 '../../tools/build/win/unit_test.vsprops',
155 '../../tools/build/win/ui_test.vsprops',
156 '../../tools/build/win/test_memory_usage.vsprops',
157 '$(SolutionDir)../skia/using_skia.vsprops',
158 '$(SolutionDir)../testing/using_gtest.vsprops',
159 ])
160
161 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc',
162 'Debug|Win32',
163 tools=[
164 MSVSTool('VCCLCompilerTool',
165 UsePrecompiledHeader='1'),
166 ])
OLDNEW
« no previous file with comments | « chrome/test/interactive_ui/interactive_ui_tests.scons ('k') | chrome/test/mini_installer_test/mini_installer_test.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698