OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.SConscript([ | 9 env.SConscript([ |
10 '$BASE_DIR/gfx/using_base_gfx.scons', | 10 '$BASE_DIR/gfx/using_base_gfx.scons', |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 LIBS = [ | 82 LIBS = [ |
83 'activex_shim', | 83 'activex_shim', |
84 'comsupp', | 84 'comsupp', |
85 'oleacc', | 85 'oleacc', |
86 'psapi', | 86 'psapi', |
87 'rpcrt4', | 87 'rpcrt4', |
88 'winmm', | 88 'winmm', |
89 ], | 89 ], |
90 ) | 90 ) |
91 | 91 |
92 input_files = [ | 92 input_files = ChromeFileList([ |
| 93 # TODO(sgk): violate standard indentation so we don't have to |
| 94 # reindent too much when we remove the explicit MSVSFilter() calls |
| 95 # in favor of generating the hierarchy to reflect the file system. |
| 96 MSVSFilter('Common', [ |
| 97 '$CHROME_DIR/test/ui/npapi_test_helper$OBJSUFFIX', |
| 98 '$CHROME_DIR/test/ui/npapi_test_helper.h', |
| 99 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX', |
| 100 '$CHROME_DIR/tools/build/win/precompiled_wtl.h', |
| 101 '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', |
| 102 '$CHROME_DIR/test/testing_profile$OBJSUFFIX', |
| 103 '$CHROME_DIR/test/testing_profile.h', |
| 104 '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', |
| 105 '$CHROME_DIR/test/ui/ui_test.h', |
| 106 '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', |
| 107 'view_event_test_base.cc', |
| 108 'view_event_test_base.h', |
| 109 ]), |
| 110 MSVSFilter('TestBookmarkBarView', [ |
| 111 '$CHROME_DIR/browser/views/bookmark_bar_view_test.cc', |
| 112 ]), |
| 113 MSVSFilter('TestFindInPage', [ |
| 114 '$CHROME_DIR/browser/views/find_bar_win_interactive_uitest.cc', |
| 115 ]), |
| 116 MSVSFilter('TestFocus', [ |
93 '$CHROME_DIR/browser/browser_focus_uitest.cc', | 117 '$CHROME_DIR/browser/browser_focus_uitest.cc', |
94 '$CHROME_DIR/browser/views/bookmark_bar_view_test.cc', | |
95 '$CHROME_DIR/browser/views/constrained_window_impl_interactive_uitest.cc', | 118 '$CHROME_DIR/browser/views/constrained_window_impl_interactive_uitest.cc', |
| 119 ]), |
| 120 MSVSFilter('TestTabDragging', [ |
96 '$CHROME_DIR/browser/views/tabs/tab_dragging_test.cc', | 121 '$CHROME_DIR/browser/views/tabs/tab_dragging_test.cc', |
97 '$CHROME_DIR/test/interactive_ui/npapi_interactive_test.cc', | 122 ]), |
98 '$CHROME_DIR/test/testing_profile$OBJSUFFIX', | 123 MSVSFilter('TestNPAPI', [ |
99 '$CHROME_DIR/test/ui/npapi_test_helper$OBJSUFFIX', | 124 'npapi_interactive_test.cc', |
100 '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', | 125 ]), |
101 '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', | 126 ]) |
102 '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', | |
103 | 127 |
104 'view_event_test_base.cc', | 128 if not env.Bit('windows'): |
105 ] | 129 # Windows-specific. |
| 130 input_files.Remove( |
| 131 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX', |
| 132 '$CHROME_DIR/tools/build/win/precompiled_wtl.h', |
| 133 ) |
106 | 134 |
107 # TODO(port): | 135 # TODO(port): |
108 if env.Bit('windows'): | 136 if env.Bit('windows'): |
109 env.ChromeTestProgram('interactive_ui_tests', input_files) | 137 env.ChromeTestProgram('interactive_ui_tests', input_files) |
110 | 138 |
111 env.ChromeMSVSProject('$CHROME_DIR/test/interactive_ui/interactive_ui.vcproj', | 139 p = env.ChromeMSVSProject('interactive_ui.vcproj', |
112 name='interactive_ui_tests', | 140 name='interactive_ui_tests', |
113 dependencies = [ | 141 root_namespace='manual_ui', |
114 '$CHROME_DIR/test/automation/automation.vcproj', | 142 dest=('$CHROME_SRC_DIR/chrome/test/' |
115 '$BASE_DIR/build/base.vcproj', | 143 + 'interactive_ui/interactive_ui.vcproj'), |
116 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', | 144 guid='{018D4F38-6272-448F-A864-976DA09F05D0}', |
117 '$CHROME_DIR/plugin/plugin.vcproj', | 145 dependencies = [ |
118 '$LIBJPEG_DIR/libjpeg.vcproj', | 146 '$CHROME_DIR/test/automation/automation.vcproj', |
119 '$BZIP2_DIR/bzip2.vcproj', | 147 '$BASE_DIR/build/base.vcproj', |
120 '$NET_DIR/build/net.vcproj', | 148 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', |
121 ('$WEBKIT_DIR/build/JavaScriptCore/' + | 149 '$CHROME_DIR/plugin/plugin.vcproj', |
122 'JavaScriptCore_pcre.vcproj'), | 150 '$LIBJPEG_DIR/libjpeg.vcproj', |
123 '$WEBKIT_DIR/build/port/port.vcproj', | 151 '$BZIP2_DIR/bzip2.vcproj', |
124 '$CHROME_DIR/browser/debugger/debugger.vcproj', | 152 '$NET_DIR/build/net.vcproj', |
125 '$WEBKIT_DIR/default_plugin/default_plugin.vcproj', | 153 ('$WEBKIT_DIR/build/JavaScriptCore/' + |
126 '$CHROME_DIR/browser/browser.vcproj', | 154 'JavaScriptCore_pcre.vcproj'), |
127 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', | 155 '$WEBKIT_DIR/build/port/port.vcproj', |
128 '$SQLITE_DIR/sqlite.vcproj', | 156 '$CHROME_DIR/browser/debugger/debugger.vcproj', |
129 '$CHROME_DIR/views/views.vcproj', | 157 ('$WEBKIT_DIR/default_plugin/' |
130 '$MODP_B64_DIR/modp_b64.vcproj', | 158 + 'default_plugin.vcproj'), |
131 '$CHROME_DIR/app/chrome_exe.vcproj', | 159 '$CHROME_DIR/browser/browser.vcproj', |
132 ('$CHROME_DIR/test/chrome_plugin/' + | 160 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj', |
133 'test_chrome_plugin.vcproj'), | 161 '$SQLITE_DIR/sqlite.vcproj', |
134 '$ZLIB_DIR/zlib.vcproj', | 162 '$CHROME_DIR/views/views.vcproj', |
135 '$CHROME_DIR/common/common.vcproj', | 163 '$MODP_B64_DIR/modp_b64.vcproj', |
136 '$ICU38_DIR/build/icu.vcproj', | 164 '$CHROME_DIR/app/chrome_exe.vcproj', |
137 '$CHROME_DIR/renderer/renderer.vcproj', | 165 ('$CHROME_DIR/test/chrome_plugin/' + |
138 '$BASE_DIR/build/base_gfx.vcproj', | 166 'test_chrome_plugin.vcproj'), |
139 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', | 167 '$ZLIB_DIR/zlib.vcproj', |
140 ('$CHROME_DIR/browser/resources/' + | 168 '$CHROME_DIR/common/common.vcproj', |
141 'browser_resources.vcproj'), | 169 '$ICU38_DIR/build/icu.vcproj', |
142 '$RLZ_DIR/rlz.vcproj', | 170 '$CHROME_DIR/renderer/renderer.vcproj', |
143 '$TESTING_DIR/gtest.vcproj', | 171 '$BASE_DIR/build/base_gfx.vcproj', |
144 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | 172 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', |
145 '$LIBPNG_DIR/libpng.vcproj', | 173 ('$CHROME_DIR/browser/resources/' + |
146 '$WEBKIT_DIR/build/glue/glue.vcproj', | 174 'browser_resources.vcproj'), |
147 '$CHROME_DIR/app/locales/en-US.vcproj', | 175 '$RLZ_DIR/rlz.vcproj', |
148 '$SKIA_DIR/skia.vcproj', | 176 '$TESTING_DIR/gtest.vcproj', |
149 '$CHROME_DIR/third_party/hunspell/hunspell.vcproj', | 177 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
150 '$GOOGLEURL_DIR/build/googleurl.vcproj', | 178 '$LIBPNG_DIR/libpng.vcproj', |
151 '$CHROME_DIR/installer/util/util.vcproj', | 179 '$WEBKIT_DIR/build/glue/glue.vcproj', |
152 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', | 180 '$CHROME_DIR/app/locales/en-US.vcproj', |
153 '$SDCH_DIR/sdch.vcproj', | 181 '$SKIA_DIR/skia.vcproj', |
154 '$CHROME_DIR/browser/views/browser_views.vcproj', | 182 ('$CHROME_DIR/third_party/' |
155 '$LIBXSLT_DIR/build/libxslt.vcproj', | 183 + 'hunspell/hunspell.vcproj'), |
156 '$CHROME_DIR/app/theme/theme_dll.vcproj', | 184 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
157 ], | 185 '$CHROME_DIR/installer/util/util.vcproj', |
158 guid='{018D4F38-6272-448F-A864-976DA09F05D0}') | 186 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj', |
| 187 '$SDCH_DIR/sdch.vcproj', |
| 188 '$CHROME_DIR/browser/views/browser_views.vcproj', |
| 189 '$LIBXSLT_DIR/build/libxslt.vcproj', |
| 190 '$CHROME_DIR/app/theme/theme_dll.vcproj', |
| 191 ], |
| 192 # TODO(sgk): when we can intuit the hierarchy |
| 193 # from the built targets. |
| 194 #buildtargets=TODO, |
| 195 files=input_files, |
| 196 local_directory_prefix='./', |
| 197 ConfigurationType='1') |
| 198 |
| 199 |
| 200 p.AddConfig('Debug|Win32', |
| 201 InheritedPropertySheets=[ |
| 202 '$(SolutionDir)../build/common.vsprops', |
| 203 '$(SolutionDir)../build/debug.vsprops', |
| 204 '../../tools/build/win/precompiled_wtl.vsprops', |
| 205 '../../tools/build/win/unit_test.vsprops', |
| 206 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', |
| 207 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', |
| 208 '$(SolutionDir)../skia/using_skia.vsprops', |
| 209 ('$(SolutionDir)../' |
| 210 + 'third_party/libxml/build/using_libxml.vsprops'), |
| 211 '../../../third_party/icu38/build/using_icu.vsprops', |
| 212 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 213 '../../third_party/hunspell/using_hunspell.vsprops', |
| 214 ], |
| 215 tools=[ |
| 216 'VCPreBuildEventTool', |
| 217 'VCCustomBuildTool', |
| 218 'VCXMLDataGeneratorTool', |
| 219 'VCWebServiceProxyGeneratorTool', |
| 220 'VCMIDLTool', |
| 221 'VCCLCompilerTool', |
| 222 'VCManagedResourceCompilerTool', |
| 223 'VCResourceCompilerTool', |
| 224 'VCPreLinkEventTool', |
| 225 'VCLinkerTool', |
| 226 'VCALinkTool', |
| 227 'VCManifestTool', |
| 228 'VCXDCMakeTool', |
| 229 'VCBscMakeTool', |
| 230 'VCFxCopTool', |
| 231 'VCAppVerifierTool', |
| 232 'VCWebDeploymentTool', |
| 233 'VCPostBuildEventTool', |
| 234 ]) |
| 235 |
| 236 p.AddConfig('Release|Win32', |
| 237 InheritedPropertySheets=[ |
| 238 '$(SolutionDir)../build/common.vsprops', |
| 239 '$(SolutionDir)../build/release.vsprops', |
| 240 '../../tools/build/win/unit_test.vsprops', |
| 241 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', |
| 242 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', |
| 243 '$(SolutionDir)../skia/using_skia.vsprops', |
| 244 ('$(SolutionDir)../' |
| 245 + 'third_party/libxml/build/using_libxml.vsprops'), |
| 246 '../../../third_party/icu38/build/using_icu.vsprops', |
| 247 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 248 '../../third_party/hunspell/using_hunspell.vsprops', |
| 249 ], |
| 250 tools=[ |
| 251 'VCPreBuildEventTool', |
| 252 'VCCustomBuildTool', |
| 253 'VCXMLDataGeneratorTool', |
| 254 'VCWebServiceProxyGeneratorTool', |
| 255 'VCMIDLTool', |
| 256 'VCCLCompilerTool', |
| 257 'VCManagedResourceCompilerTool', |
| 258 'VCResourceCompilerTool', |
| 259 'VCPreLinkEventTool', |
| 260 MSVSTool('VCLinkerTool', |
| 261 AdditionalDependencies='winmm.lib'), |
| 262 'VCALinkTool', |
| 263 'VCManifestTool', |
| 264 'VCXDCMakeTool', |
| 265 'VCBscMakeTool', |
| 266 'VCFxCopTool', |
| 267 'VCAppVerifierTool', |
| 268 'VCWebDeploymentTool', |
| 269 'VCPostBuildEventTool', |
| 270 ]) |
| 271 |
| 272 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc', |
| 273 'Debug|Win32', |
| 274 tools=[ |
| 275 MSVSTool('VCCLCompilerTool', |
| 276 UsePrecompiledHeader='1'), |
| 277 ]) |
OLD | NEW |