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

Side by Side Diff: chrome/test/selenium/selenium_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 '$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 '$GTEST_DIR/include',
29 '$GTEST_DIR',
30 '$SKIA_DIR/include',
31 '$SKIA_DIR/include/corecg',
32 '$SKIA_DIR/platform',
33 '$CHROME_SRC_DIR',
34 ],
35 LIBS = [
36 'automation',
37 'browser',
38 'browser_views',
39 'common',
40 ],
41 )
42
43 if env.Bit('windows'):
44 env.Prepend(
45 LINKFLAGS = [
46 '/INCREMENTAL',
47 '/DEBUG',
48
49 '/DELAYLOAD:"dwmapi.dll"',
50 '/DELAYLOAD:"uxtheme.dll"',
51
52 '/MACHINE:X86',
53 '/FIXED:No',
54
55 '/safeseh',
56 '/dynamicbase',
57 '/ignore:4199',
58 '/nxcompat',
59 ],
60 LIBS = [
61 'winmm',
62 'rpcrt4',
63 'oleacc',
64 'comsupp',
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('TestSelenium', [
82 'selenium_test.cc',
83 ]),
84 ])
85
86 if not env.Bit('windows'):
87 # Windows-specific.
88 input_files.Remove(
89 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
90 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
91 )
92
93 # TODO(port):
94 if env.Bit('windows'):
95 env.ChromeTestProgram('selenium_tests', input_files)
96
97 p = env.ChromeMSVSProject('selenium_tests.vcproj',
98 dest=('$CHROME_SRC_DIR/chrome/'
99 + 'test/selenium/selenium_tests.vcproj'),
100 guid='{E3749617-BA3D-4230-B54C-B758E56D9FA5}',
101 dependencies = [
102 '$CHROME_DIR/test/automation/automation.vcproj',
103 '$BASE_DIR/build/base.vcproj',
104 '$NET_DIR/build/net.vcproj',
105 '$CHROME_DIR/browser/browser.vcproj',
106 '$MODP_B64_DIR/modp_b64.vcproj',
107 '$CHROME_DIR/app/chrome_exe.vcproj',
108 '$ZLIB_DIR/zlib.vcproj',
109 '$CHROME_DIR/common/common.vcproj',
110 '$ICU38_DIR/build/icu.vcproj',
111 '$BASE_DIR/build/base_gfx.vcproj',
112 '$TESTING_DIR/gtest.vcproj',
113 '$LIBPNG_DIR/libpng.vcproj',
114 '$SKIA_DIR/skia.vcproj',
115 '$GOOGLEURL_DIR/build/googleurl.vcproj',
116 '$CHROME_DIR/browser/views/browser_views.vcproj',
117 ],
118 # TODO(sgk): when we can intuit the hierarchy
119 # from the built targets.
120 #buildtargets=TODO,
121 files=input_files,
122 local_directory_prefix='./',
123 tools=[
124 'VCPreBuildEventTool',
125 'VCCustomBuildTool',
126 'VCXMLDataGeneratorTool',
127 'VCWebServiceProxyGeneratorTool',
128 'VCMIDLTool',
129 'VCCLCompilerTool',
130 'VCManagedResourceCompilerTool',
131 'VCResourceCompilerTool',
132 'VCPreLinkEventTool',
133 MSVSTool('VCLinkerTool',
134 AdditionalDependencies='winmm.lib'),
135 'VCALinkTool',
136 'VCManifestTool',
137 'VCXDCMakeTool',
138 'VCBscMakeTool',
139 'VCFxCopTool',
140 'VCAppVerifierTool',
141 'VCWebDeploymentTool',
142 'VCPostBuildEventTool',
143 ],
144 ConfigurationType='1')
145
146 p.AddConfig('Debug|Win32',
147 InheritedPropertySheets=[
148 '$(SolutionDir)../build/common.vsprops',
149 '$(SolutionDir)../build/debug.vsprops',
150 '../../tools/build/win/precompiled_wtl.vsprops',
151 '../../tools/build/win/unit_test.vsprops',
152 '../../tools/build/win/ui_test.vsprops',
153 '$(SolutionDir)../skia/using_skia.vsprops',
154 '$(SolutionDir)../testing/using_gtest.vsprops',
155 ])
156
157 p.AddConfig('Release|Win32',
158 InheritedPropertySheets=[
159 '$(SolutionDir)../build/common.vsprops',
160 '$(SolutionDir)../build/release.vsprops',
161 '../../tools/build/win/unit_test.vsprops',
162 '../../tools/build/win/ui_test.vsprops',
163 '$(SolutionDir)../skia/using_skia.vsprops',
164 '$(SolutionDir)../testing/using_gtest.vsprops',
165 ])
166
167 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc',
168 'Debug|Win32',
169 tools=[
170 MSVSTool('VCCLCompilerTool',
171 UsePrecompiledHeader='1'),
172 ])
OLDNEW
« no previous file with comments | « chrome/test/security_tests/security_tests.scons ('k') | chrome/test/startup/startup_tests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698