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

Side by Side Diff: chrome/test/startup/startup_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 'browser_views',
61 'comsupp',
62 'oleacc',
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.cc',
74 '$CHROME_DIR/tools/build/win/precompiled.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('TestStartup', [
82 'feature_startup_test.cc',
83 'startup_test.cc',
84 ]),
85 ])
86
87 if not env.Bit('windows'):
88 # TODO(port): port.
89 input_files.Remove(
90 'feature_startup_test.cc',
91 )
92
93 # Windows-specific files
94 input_files.Remove(
95 '$CHROME_DIR/tools/build/win/precompiled.cc',
96 )
97
98 # Please note that currently you have to manually ensure that Hammer/chrome
99 # is up to date when you build startup_tests.
100 # TODO(sgk): Proper dependency tracking for startup_tests.
101 startup_tests = env.ChromeTestProgram('startup_tests', input_files)
102
103 p = env.ChromeMSVSProject('startup_tests.vcproj',
104 dest=('$CHROME_SRC_DIR/chrome/'
105 + 'test/startup/startup_tests.vcproj'),
106 guid='{D3E6C0FD-54C7-4FF2-9AE1-72F2DAFD820C}',
107 dependencies = [
108 '$CHROME_DIR/test/automation/automation.vcproj',
109 '$BASE_DIR/build/base.vcproj',
110 '$NET_DIR/build/net.vcproj',
111 '$CHROME_DIR/browser/browser.vcproj',
112 '$MODP_B64_DIR/modp_b64.vcproj',
113 '$CHROME_DIR/app/chrome_exe.vcproj',
114 '$ZLIB_DIR/zlib.vcproj',
115 '$CHROME_DIR/common/common.vcproj',
116 '$ICU38_DIR/build/icu.vcproj',
117 '$BASE_DIR/build/base_gfx.vcproj',
118 '$TESTING_DIR/gtest.vcproj',
119 '$LIBPNG_DIR/libpng.vcproj',
120 '$SKIA_DIR/skia.vcproj',
121 '$GOOGLEURL_DIR/build/googleurl.vcproj',
122 '$CHROME_DIR/browser/views/browser_views.vcproj',
123 ],
124 # TODO(sgk): when we can intuit the hierarchy
125 # from the built targets.
126 #buildtargets=TODO,
127 files=input_files,
128 local_directory_prefix='./',
129 tools=[
130 'VCPreBuildEventTool',
131 'VCCustomBuildTool',
132 'VCXMLDataGeneratorTool',
133 'VCWebServiceProxyGeneratorTool',
134 'VCMIDLTool',
135 'VCCLCompilerTool',
136 'VCManagedResourceCompilerTool',
137 'VCResourceCompilerTool',
138 'VCPreLinkEventTool',
139 MSVSTool('VCLinkerTool',
140 AdditionalDependencies='winmm.lib'),
141 'VCALinkTool',
142 'VCManifestTool',
143 'VCXDCMakeTool',
144 'VCBscMakeTool',
145 'VCFxCopTool',
146 'VCAppVerifierTool',
147 'VCWebDeploymentTool',
148 'VCPostBuildEventTool',
149 ],
150 ConfigurationType='1')
151
152
153 p.AddConfig('Debug|Win32',
154 InheritedPropertySheets=[
155 '$(SolutionDir)../build/common.vsprops',
156 '$(SolutionDir)../build/debug.vsprops',
157 '../../tools/build/win/precompiled.vsprops',
158 '../../tools/build/win/unit_test.vsprops',
159 '../../tools/build/win/ui_test.vsprops',
160 '$(SolutionDir)../skia/using_skia.vsprops',
161 '$(SolutionDir)../testing/using_gtest.vsprops',
162 ])
163
164 p.AddConfig('Release|Win32',
165 InheritedPropertySheets=[
166 '$(SolutionDir)../build/common.vsprops',
167 '$(SolutionDir)../build/release.vsprops',
168 '../../tools/build/win/unit_test.vsprops',
169 '../../tools/build/win/ui_test.vsprops',
170 '$(SolutionDir)../skia/using_skia.vsprops',
171 '$(SolutionDir)../testing/using_gtest.vsprops',
172 ])
173
174 p.AddFileConfig('../../tools/build/win/precompiled.cc',
175 'Debug|Win32',
176 tools=[
177 MSVSTool('VCCLCompilerTool',
178 UsePrecompiledHeader='1'),
179 ])
OLDNEW
« no previous file with comments | « chrome/test/selenium/selenium_tests.scons ('k') | chrome/test/tab_switching/tab_switching_test.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698