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

Side by Side Diff: chrome/test/reliability/reliability_tests.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
« no previous file with comments | « chrome/test/plugin/plugin_tests.scons ('k') | chrome/test/security_tests/security_tests.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '$LIBXML_DIR/using_libxml.scons',
17 '$MODP_B64_DIR/using_modp_b64.scons',
18 '$NET_DIR/using_net.scons',
19 '$SKIA_DIR/using_skia.scons',
20 '$ZLIB_DIR/using_zlib.scons',
21 ])
22
23 env.Prepend(
24 CPPDEFINES = [
25 'RELIABILITY_TEST', # seems to be unused
26 'UI_TEST',
27 ],
28 CPPPATH = [
29 '$CHROME_SRC_DIR',
30 ],
31 LIBS = [
32 'automation',
33 'browser',
34 'browser_views',
35 'common',
36 ],
37 )
38
39 if env.Bit('windows'):
40 env.Prepend(
41 LINKFLAGS = [
42 '/INCREMENTAL',
43 '/DEBUG',
44
45 '/DELAYLOAD:"dwmapi.dll"',
46 '/DELAYLOAD:"uxtheme.dll"',
47
48 '/MACHINE:X86',
49 '/FIXED:No',
50
51 '/safeseh',
52 '/dynamicbase',
53 '/ignore:4199',
54 '/nxcompat',
55 ],
56 LIBS = [
57 'comsupp',
58 'oleacc',
59 'psapi',
60 'rpcrt4',
61 'winmm',
62 ],
63 )
64
65 input_files = ChromeFileList([
66 # TODO(sgk): violate standard indentation so we don't have to
67 # reindent too much when we remove the explicit MSVSFilter() calls
68 # in favor of generating the hierarchy to reflect the file system.
69 MSVSFilter('Common', [
70 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
71 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
72 'reliability_test_suite.h',
73 'run_all_unittests.cc',
74 '$CHROME_DIR/test/testing_browser_process.h',
75 '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
76 '$CHROME_DIR/test/ui/ui_test.h',
77 '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
78 ]),
79 MSVSFilter('MemoryUsage', [
80 '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX',
81 '$CHROME_DIR/test/perf/mem_usage.h',
82 ]),
83 MSVSFilter('TestPageLoader', [
84 'page_load_test.cc',
85 'page_load_test.h',
86 ]),
87 ])
88
89 if not env.Bit('windows'):
90 # Windows-specific.
91 input_files.Remove(
92 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
93 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
94 )
95
96 # TODO(port):
97 if env.Bit('windows'):
98 env.ChromeTestProgram('reliability_tests', input_files)
99
100 p = env.ChromeMSVSProject('reliability_tests.vcproj',
101 dest=('$CHROME_SRC_DIR/chrome/'
102 + 'test/reliability/reliability_tests.vcproj'),
103 guid='{8A3E1774-1DE9-445C-982D-3EE37C8A752A}',
104 dependencies = [
105 '$CHROME_DIR/test/automation/automation.vcproj',
106 '$BASE_DIR/build/base.vcproj',
107 '$NET_DIR/build/net.vcproj',
108 '$CHROME_DIR/browser/browser.vcproj',
109 '$MODP_B64_DIR/modp_b64.vcproj',
110 '$CHROME_DIR/app/chrome_exe.vcproj',
111 '$ZLIB_DIR/zlib.vcproj',
112 '$CHROME_DIR/common/common.vcproj',
113 '$ICU38_DIR/build/icu.vcproj',
114 '$BASE_DIR/build/base_gfx.vcproj',
115 '$TESTING_DIR/gtest.vcproj',
116 '$LIBPNG_DIR/libpng.vcproj',
117 '$SKIA_DIR/skia.vcproj',
118 '$GOOGLEURL_DIR/build/googleurl.vcproj',
119 '$CHROME_DIR/browser/views/browser_views.vcproj',
120 ],
121 # TODO(sgk): when we can intuit the hierarchy
122 # from the built targets.
123 #buildtargets=TODO,
124 files=input_files,
125 local_directory_prefix='./',
126 tools=[
127 'VCPreBuildEventTool',
128 'VCCustomBuildTool',
129 'VCXMLDataGeneratorTool',
130 'VCWebServiceProxyGeneratorTool',
131 'VCMIDLTool',
132 'VCCLCompilerTool',
133 'VCManagedResourceCompilerTool',
134 'VCResourceCompilerTool',
135 'VCPreLinkEventTool',
136 MSVSTool('VCLinkerTool',
137 AdditionalDependencies='winmm.lib'),
138 'VCALinkTool',
139 'VCManifestTool',
140 'VCXDCMakeTool',
141 'VCBscMakeTool',
142 'VCFxCopTool',
143 'VCAppVerifierTool',
144 'VCWebDeploymentTool',
145 'VCPostBuildEventTool',
146 ],
147 ConfigurationType='1')
148
149
150 p.AddConfig('Debug|Win32',
151 InheritedPropertySheets=[
152 '$(SolutionDir)../build/common.vsprops',
153 '$(SolutionDir)../build/debug.vsprops',
154 '../../tools/build/win/precompiled_wtl.vsprops',
155 '../../tools/build/win/unit_test.vsprops',
156 '../../tools/build/win/ui_test.vsprops',
157 '../../tools/build/win/test_memory_usage.vsprops',
158 '../../tools/build/win/reliability_test.vsprops',
159 '$(SolutionDir)../skia/using_skia.vsprops',
160 '$(SolutionDir)../testing/using_gtest.vsprops',
161 ])
162
163 p.AddConfig('Release|Win32',
164 InheritedPropertySheets=[
165 '$(SolutionDir)../build/common.vsprops',
166 '$(SolutionDir)../build/release.vsprops',
167 '../../tools/build/win/unit_test.vsprops',
168 '../../tools/build/win/ui_test.vsprops',
169 '../../tools/build/win/test_memory_usage.vsprops',
170 '../../tools/build/win/reliability_test.vsprops',
171 '$(SolutionDir)../skia/using_skia.vsprops',
172 '$(SolutionDir)../testing/using_gtest.vsprops',
173 ])
174
175 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc',
176 'Debug|Win32',
177 tools=[
178 MSVSTool('VCCLCompilerTool',
179 UsePrecompiledHeader='1'),
180 ])
OLDNEW
« no previous file with comments | « chrome/test/plugin/plugin_tests.scons ('k') | chrome/test/security_tests/security_tests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698