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

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

Powered by Google App Engine
This is Rietveld 408576698