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

Side by Side Diff: chrome/test/unit/unit_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, 8 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/ui/ui_tests.scons ('k') | chrome/third_party/hunspell/SConscript » ('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 Import('bdict_reader_o', 'bdict_writer_o')
7
8 env = env.Clone()
9
10 env.SConscript([
11 '$BASE_DIR/gfx/using_base_gfx.scons',
12 '$BASE_DIR/using_base.scons',
13 '$BZIP2_DIR/using_bzip2.scons',
14 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons',
15 '$CHROME_DIR/third_party/wtl/using_wtl.scons',
16 '$CHROME_SRC_DIR/build/using_googleurl.scons',
17 '$CHROME_SRC_DIR/build/using_v8.scons',
18 '$GRIT_DIR/build/using_generated_resources.scons',
19 '$GTEST_DIR/../using_gtest.scons',
20 '$ICU38_DIR/using_icu38.scons',
21 '$LIBJPEG_DIR/using_libjpeg.scons',
22 '$LIBPNG_DIR/using_libpng.scons',
23 '$LIBXML_DIR/using_libxml.scons',
24 '$LIBXSLT_DIR/using_libxslt.scons',
25 '$MODP_B64_DIR/using_modp_b64.scons',
26 '$MEDIA_DIR/using_media.scons',
27 '$NET_DIR/using_net.scons',
28 '$NPAPI_DIR/using_npapi.scons',
29 '$PRINTING_DIR/using_printing.scons',
30 '$SDCH_DIR/using_sdch.scons',
31 '$SKIA_DIR/using_skia.scons',
32 '$ZLIB_DIR/using_zlib.scons',
33 ], {'env':env})
34
35 env.Prepend(
36 CPPPATH = [
37 '$CHROME_DIR/app/resources',
38 '$CHROME_SRC_DIR',
39 ],
40 LIBS = [
41 'views',
42
43 'browser',
44 'common',
45 'debugger',
46 'plugin',
47 'renderer',
48 'sqlite',
49 'util',
50 'v8_snapshot',
51
52 'WTF',
53 'V8Bindings',
54 'default_plugin',
55 'glue',
56 'JavaScriptCore_pcre',
57 'port',
58 'WebCore',
59 'WebKit',
60
61 'X11',
62 'Xrender',
63 'Xext',
64 ],
65 )
66
67 if env.Bit('windows'):
68 env.Prepend(
69 CPPPATH = [
70 '$CHROME_DIR/tools/build/win',
71 ],
72 )
73
74 if env.Bit('windows'):
75 # TODO(port): Port or mark as Windows-specific.
76 env.Prepend(
77 LIBS = [
78 # TODO(port): to be ported to Mac and Linux, or else
79 # moved to the Windows-specific list below.
80 'browser_views',
81 'jscre',
82 'test_chrome_plugin',
83 'views',
84
85 # Windows-specific libraries.
86 'activex_shim',
87
88 'winmm',
89 'rpcrt4',
90 'oleacc',
91 'comsupp',
92 ],
93 LINKFLAGS = [
94 '/INCREMENTAL',
95
96 '/safeseh',
97 '/dynamicbase',
98 '/ignore:4199',
99 '/nxcompat',
100
101 '/MANIFEST',
102 '/DELAYLOAD:"ws2_32.dll"',
103 '/DELAYLOAD:"dwmapi.dll"',
104 '/DELAYLOAD:"uxtheme.dll"',
105
106 '/DEBUG',
107 '/MACHINE:X86',
108 '/FIXED:No',
109 ],
110 )
111
112 input_files = ChromeFileList([
113 MSVSFilter('browser', [
114 '$CHROME_DIR/browser/autocomplete/autocomplete_unittest.cc',
115 '$CHROME_DIR/browser/back_forward_menu_model_unittest.cc',
116 '$CHROME_DIR/browser/safe_browsing/bloom_filter_unittest.cc',
117 '$CHROME_DIR/browser/bookmarks/bookmark_context_menu_test.cc',
118 '$CHROME_DIR/browser/bookmarks/bookmark_drag_data_unittest.cc',
119 '$CHROME_DIR/browser/views/bookmark_editor_view_unittest.cc',
120 '$CHROME_DIR/browser/bookmarks/bookmark_folder_tree_model_unittest.cc',
121 '$CHROME_DIR/browser/bookmarks/bookmark_html_writer_unittest.cc',
122 '$CHROME_DIR/browser/bookmarks/bookmark_model_unittest.cc',
123 '$CHROME_DIR/browser/bookmarks/bookmark_table_model_unittest.cc',
124 '$CHROME_DIR/browser/bookmarks/bookmark_utils_unittest.cc',
125 '$CHROME_DIR/browser/browser_commands_unittest.cc',
126 '$CHROME_DIR/browser/chrome_thread_unittest.cc',
127 '$CHROME_DIR/browser/safe_browsing/chunk_range_unittest.cc',
128 '$CHROME_DIR/browser/command_updater_unittest.cc',
129 '$CHROME_DIR/browser/debugger/devtools_manager_unittest.cc',
130 '$CHROME_DIR/browser/net/dns_host_info_unittest.cc',
131 '$CHROME_DIR/browser/net/dns_master_unittest.cc',
132 '$CHROME_DIR/browser/download/download_manager_unittest.cc',
133 '$CHROME_DIR/browser/download/download_request_manager_unittest.cc',
134 '$CHROME_DIR/browser/password_manager/encryptor_unittest.cc',
135 '$CHROME_DIR/browser/history/expire_history_backend_unittest.cc',
136 '$CHROME_DIR/browser/extensions/extension_unittest.cc',
137 '$CHROME_DIR/browser/extensions/extension_ui_unittest.cc',
138 '$CHROME_DIR/browser/extensions/extensions_service_unittest.cc',
139 '$CHROME_DIR/browser/importer/firefox_importer_unittest.cc',
140 '$CHROME_DIR/browser/google_url_tracker_unittest.cc',
141 '$CHROME_DIR/browser/history/history_backend_unittest.cc',
142 '$CHROME_DIR/browser/autocomplete/history_contents_provider_unittest.cc',
143 '$CHROME_DIR/browser/history/history_querying_unittest.cc',
144 '$CHROME_DIR/browser/history/history_types_unittest.cc',
145 '$CHROME_DIR/browser/history/history_unittest.cc',
146 '$CHROME_DIR/browser/autocomplete/history_url_provider_unittest.cc',
147 '$CHROME_DIR/browser/importer/importer_unittest.cc',
148 '$CHROME_DIR/browser/views/keyword_editor_view_unittest.cc',
149 '$CHROME_DIR/browser/autocomplete/keyword_provider_unittest.cc',
150 '$CHROME_DIR/browser/login_prompt_unittest.cc',
151 '$CHROME_DIR/browser/metrics/metrics_log_unittest.cc',
152 '$CHROME_DIR/browser/metrics/metrics_response_unittest.cc',
153 '$CHROME_DIR/browser/navigation_controller_unittest.cc',
154 '$CHROME_DIR/browser/printing/page_number_unittest.cc',
155 '$CHROME_DIR/browser/printing/page_overlays_unittest.cc',
156 '$CHROME_DIR/browser/printing/page_range_unittest.cc',
157 '$CHROME_DIR/browser/printing/page_setup_unittest.cc',
158 '$CHROME_DIR/browser/password_manager/password_form_manager_unittest.cc',
159 '$CHROME_DIR/browser/printing/print_job_unittest.cc',
160 '$CHROME_DIR/browser/printing/printing_test.h',
161 '$CHROME_DIR/browser/profile_manager_unittest.cc',
162 '$CHROME_DIR/browser/safe_browsing/protocol_manager_unittest.cc',
163 '$CHROME_DIR/browser/safe_browsing/protocol_parser_unittest.cc',
164 '$CHROME_DIR/browser/history/query_parser_unittest.cc',
165 '$CHROME_DIR/browser/renderer_host/renderer_security_policy_unittest.cc',
166 '$CHROME_DIR/browser/renderer_host/resource_dispatcher_host_unittest.cc',
167 '$CHROME_DIR/browser/renderer_host/test_render_view_host.cc',
168 '$CHROME_DIR/browser/renderer_host/web_cache_manager_unittest.cc',
169 '$CHROME_DIR/browser/rlz/rlz_unittest.cc',
170 '$CHROME_DIR/browser/safe_browsing/safe_browsing_database_unittest.cc',
171 '$CHROME_DIR/browser/safe_browsing/safe_browsing_util_unittest.cc',
172 '$CHROME_DIR/browser/download/save_package_unittest.cc',
173 '$CHROME_DIR/browser/sessions/session_backend_unittest.cc',
174 '$CHROME_DIR/browser/sessions/session_service_test_helper.cc',
175 '$CHROME_DIR/browser/sessions/session_service_test_helper.h',
176 '$CHROME_DIR/browser/sessions/session_service_unittest.cc',
177 '$CHROME_DIR/browser/site_instance_unittest.cc',
178 '$CHROME_DIR/browser/history/snippet_unittest.cc',
179 '$CHROME_DIR/browser/spellcheck_unittest.cc',
180 '$CHROME_DIR/browser/history/starred_url_database_unittest.cc',
181 '$CHROME_DIR/browser/sessions/tab_restore_service_unittest.cc',
182 '$CHROME_DIR/browser/tabs/tab_strip_model_unittest.cc',
183 '$CHROME_DIR/browser/search_engines/template_url_model_unittest.cc',
184 '$CHROME_DIR/browser/search_engines/template_url_parser_unittest.cc',
185 '$CHROME_DIR/browser/search_engines/template_url_prepopulate_data_unittest.c c',
186 '$CHROME_DIR/browser/search_engines/template_url_unittest.cc',
187 '$CHROME_DIR/browser/history/text_database_manager_unittest.cc',
188 '$CHROME_DIR/browser/history/text_database_unittest.cc',
189 '$CHROME_DIR/browser/history/thumbnail_database_unittest.cc',
190 '$CHROME_DIR/browser/history/url_database_unittest.cc',
191 '$CHROME_DIR/browser/net/resolve_proxy_msg_helper_unittest.cc',
192 '$CHROME_DIR/browser/net/url_fetcher_unittest.cc',
193 '$CHROME_DIR/browser/net/url_fixer_upper_unittest.cc',
194 '$CHROME_DIR/browser/extensions/user_script_master_unittest.cc',
195 '$CHROME_DIR/browser/history/visit_database_unittest.cc',
196 '$CHROME_DIR/browser/history/visit_tracker_unittest.cc',
197 '$CHROME_DIR/browser/visitedlink_unittest.cc',
198 '$CHROME_DIR/browser/tab_contents/web_contents_unittest.cc',
199 '$CHROME_DIR/browser/webdata/web_database_unittest.cc',
200 '$CHROME_DIR/browser/printing/win_printing_context_unittest.cc',
201 '$CHROME_DIR/browser/window_sizer_unittest.cc',
202 '$CHROME_DIR/browser/renderer_host/render_widget_host_unittest.cc',
203
204 # test_infrastructure
205 '$CHROME_DIR/browser/renderer_host/mock_render_process_host.cc',
206 '$CHROME_DIR/browser/renderer_host/mock_render_process_host.h',
207 '$CHROME_DIR/browser/tab_contents/test_web_contents.cc',
208 '$CHROME_DIR/browser/tab_contents/test_web_contents.h',
209 '$CHROME_DIR/test/browser_with_test_window_test.cc',
210 '$CHROME_DIR/test/browser_with_test_window_test.h',
211 '$CHROME_DIR/test/test_browser_window.h',
212 '$CHROME_DIR/test/test_tab_contents.cc',
213 '$CHROME_DIR/test/test_tab_contents.h',
214 ]),
215 MSVSFilter('common', [
216 '$CHROME_DIR/common/animation_unittest.cc',
217 '$CHROME_DIR/common/bzip2_unittest.cc',
218 '$CHROME_DIR/common/chrome_plugin_unittest.cc',
219 '$CHROME_DIR/common/extensions/url_pattern_unittest.cc',
220 '$CHROME_DIR/common/extensions/user_script_unittest.cc',
221 '$CHROME_DIR/common/gfx/emf_unittest.cc',
222 '$CHROME_DIR/common/gfx/icon_util_unittest.cc',
223 '$CHROME_DIR/common/ipc_message_unittest.cc',
224 '$CHROME_DIR/common/ipc_sync_channel_unittest.cc',
225 '$CHROME_DIR/common/ipc_sync_channel_unittest.h',
226 '$CHROME_DIR/common/ipc_sync_message_unittest.cc',
227 '$CHROME_DIR/common/ipc_sync_message_unittest.h',
228 '$CHROME_DIR/common/json_value_serializer_unittest.cc',
229 '$CHROME_DIR/common/l10n_util_unittest.cc',
230 '$CHROME_DIR/common/mru_cache_unittest.cc',
231 '$CHROME_DIR/common/notification_service_unittest.cc',
232 '$CHROME_DIR/common/os_exchange_data_unittest.cc',
233 '$CHROME_DIR/common/pref_member_unittest.cc',
234 '$CHROME_DIR/common/pref_service_unittest.cc',
235 '$CHROME_DIR/common/property_bag_unittest.cc',
236 '$CHROME_DIR/common/resource_dispatcher_unittest.cc',
237 '$CHROME_DIR/common/gfx/text_elider_unittest.cc',
238 '$CHROME_DIR/common/time_format_unittest.cc',
239 '$CHROME_DIR/common/unzip_unittest.cc',
240 '$CHROME_DIR/common/win_util_unittest.cc',
241 '$CHROME_DIR/common/worker_thread_ticker_unittest.cc',
242 ]),
243 MSVSFilter('googleurl', [
244 '$CHROME_DIR/../googleurl/src/gurl_unittest$OBJSUFFIX',
245 '$CHROME_DIR/../googleurl/src/url_canon_unittest$OBJSUFFIX',
246 '$CHROME_DIR/../googleurl/src/url_parse_unittest$OBJSUFFIX',
247 '$CHROME_DIR/../googleurl/src/url_util_unittest$OBJSUFFIX',
248 ]),
249 MSVSFilter('hunspell', [
250 '$CHROME_DIR/tools/convert_dict/aff_reader$OBJSUFFIX',
251 '$CHROME_DIR/tools/convert_dict/aff_reader.h',
252 '$CHROME_DIR/third_party/hunspell/google/bdict.h',
253 bdict_reader_o,
254 '$CHROME_DIR/third_party/hunspell/google/bdict_reader.h',
255 bdict_writer_o,
256 '$CHROME_DIR/third_party/hunspell/google/bdict_writer.h',
257 '$CHROME_DIR/tools/convert_dict/dic_reader$OBJSUFFIX',
258 '$CHROME_DIR/tools/convert_dict/dic_reader.h',
259 '$CHROME_DIR/tools/convert_dict/hunspell_reader$OBJSUFFIX',
260 '$CHROME_DIR/tools/convert_dict/hunspell_reader.h',
261 '$CHROME_DIR/third_party/hunspell/google/hunspell_tests.cc',
262 ]),
263 MSVSFilter('renderer', [
264 '$CHROME_DIR/renderer/extensions/greasemonkey_api_unittest.cc',
265 '$CHROME_DIR/renderer/net/render_dns_master_unittest.cc',
266 '$CHROME_DIR/renderer/net/render_dns_queue_unittest.cc',
267 '$CHROME_DIR/renderer/render_view_unittest.cc',
268 '$CHROME_DIR/renderer/render_widget_unittest.cc',
269 '$CHROME_DIR/renderer/render_process_unittest.cc',
270 '$CHROME_DIR/renderer/render_thread_unittest.cc',
271 '$CHROME_DIR/renderer/renderer_main_unittest.cc',
272
273 # test_infrastructure
274 '$CHROME_DIR/renderer/mock_render_process.h',
275 '$CHROME_DIR/renderer/mock_render_thread.cc',
276 '$CHROME_DIR/renderer/mock_render_thread.h',
277 '$CHROME_DIR/test/v8_unit_test.h',
278 '$CHROME_DIR/test/v8_unit_test.cc',
279 ]),
280 MSVSFilter('resources', [
281 '$CHROME_DIR/browser/browser_resources.h',
282 '$CHROME_DIR/browser/browser_resources.rc',
283 '$CHROME_DIR/app/chrome_dll.rc',
284 '$CHROME_DIR/app/chrome_dll_resource.h',
285 '$CHROME_DIR/app/chrome_dll_version.rc.version',
286 '$CHROME_DIR/common/common_resources.h',
287 '$CHROME_DIR/common/common_resources.rc',
288 '$CHROME_DIR/browser/debugger/resources/debugger_resources.h',
289 '$CHROME_DIR/browser/debugger/resources/debugger_resources.rc',
290 '$TARGET_ROOT/grit_derived_sources/net_resources.res',
291 '$CHROME_DIR/renderer/renderer_resources.h',
292 '$CHROME_DIR/renderer/renderer_resources.rc',
293 '$CHROME_DIR/test/data/resource.h',
294 '$CHROME_DIR/test/data/resource.rc',
295 '$TARGET_ROOT/grit_derived_sources/webkit_resources.res',
296 ]),
297 MSVSFilter('test_infrastructure', [
298 'chrome_test_suite.h',
299 '$CHROME_DIR/common/ipc_test_sink.cc',
300 '$CHROME_DIR/common/ipc_test_sink.h',
301 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
302 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
303 'run_all_unittests.cc',
304 '$CHROME_DIR/test/test_notification_tracker.cc',
305 '$CHROME_DIR/test/test_notification_tracker.h',
306 '$CHROME_DIR/test/testing_browser_process.h',
307 '$CHROME_DIR/test/testing_profile.cc',
308 '$CHROME_DIR/test/testing_profile.h',
309 '$NET_DIR/url_request/url_request_test_job$OBJSUFFIX',
310 '$NET_DIR/url_request/url_request_test_job.h',
311 ]),
312 ])
313
314 if env.Bit('mac'):
315 # TODO(port): Port to Mac.
316 input_files.Remove(
317 'run_all_unittests.cc',
318
319 '$CHROME_DIR/browser/chrome_thread_unittest.cc',
320 '$CHROME_DIR/browser/extensions/extension_unittest.cc',
321 '$CHROME_DIR/browser/extensions/extensions_service_unittest.cc',
322 '$CHROME_DIR/browser/history/history_types_unittest.cc',
323 '$CHROME_DIR/browser/history/snippet_unittest.cc',
324 '$CHROME_DIR/browser/history/text_database_unittest.cc',
325 '$CHROME_DIR/browser/history/visit_tracker_unittest.cc',
326 '$CHROME_DIR/browser/metrics/metrics_response_unittest.cc',
327 '$CHROME_DIR/browser/net/dns_host_info_unittest.cc',
328 '$CHROME_DIR/browser/net/dns_master_unittest.cc',
329 '$CHROME_DIR/browser/net/url_fetcher_unittest.cc',
330 '$CHROME_DIR/browser/printing/page_range_unittest.cc',
331 '$CHROME_DIR/browser/printing/page_setup_unittest.cc',
332 '$CHROME_DIR/browser/safe_browsing/bloom_filter_unittest.cc',
333 '$CHROME_DIR/browser/safe_browsing/chunk_range_unittest.cc',
334 '$CHROME_DIR/browser/safe_browsing/protocol_parser_unittest.cc',
335 '$CHROME_DIR/browser/safe_browsing/safe_browsing_database_unittest.cc',
336 '$CHROME_DIR/browser/safe_browsing/safe_browsing_util_unittest.cc',
337 '$CHROME_DIR/browser/spellcheck_unittest.cc',
338 '$CHROME_DIR/common/animation_unittest.cc',
339 '$CHROME_DIR/common/bzip2_unittest.cc',
340 '$CHROME_DIR/common/gfx/chrome_font_unittest.cc',
341 '$CHROME_DIR/common/ipc_message_unittest.cc',
342 '$CHROME_DIR/common/jpeg_codec_unittest.cc',
343 '$CHROME_DIR/common/json_value_serializer_unittest.cc',
344 '$CHROME_DIR/common/mru_cache_unittest.cc',
345 '$CHROME_DIR/common/notification_service_unittest.cc',
346 '$CHROME_DIR/common/pref_member_unittest.cc',
347 '$CHROME_DIR/common/worker_thread_ticker_unittest.cc',
348 '$CHROME_DIR/renderer/net/render_dns_queue_unittest.cc',
349 '$CHROME_DIR/test/test_notification_tracker.cc',
350
351 '$NET_DIR/base/ssl_test_util$OBJSUFFIX',
352 )
353
354 if not env.Bit('windows'):
355 # Windows-specific.
356 input_files.Remove(
357 '$CHROME_DIR/browser/browser_resources.h',
358 '$CHROME_DIR/browser/browser_resources.rc',
359 '$CHROME_DIR/app/chrome_dll.rc',
360 '$CHROME_DIR/app/chrome_dll_resource.h',
361 '$CHROME_DIR/app/chrome_dll_version.rc.version',
362 '$CHROME_DIR/common/common_resources.h',
363 '$CHROME_DIR/common/common_resources.rc',
364 '$CHROME_DIR/browser/debugger/resources/debugger_resources.h',
365 '$CHROME_DIR/browser/debugger/resources/debugger_resources.rc',
366 '$TARGET_ROOT/grit_derived_sources/net_resources.res',
367 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX',
368 '$CHROME_DIR/tools/build/win/precompiled_wtl.h',
369 '$CHROME_DIR/renderer/renderer_resources.h',
370 '$CHROME_DIR/renderer/renderer_resources.rc',
371 '$CHROME_DIR/test/data/resource.h',
372 '$CHROME_DIR/test/data/resource.rc',
373 '$TARGET_ROOT/grit_derived_sources/webkit_resources.res',
374 )
375
376 if env.Bit('posix'):
377 # POSIX only unittests
378 input_files.Append(
379 '$CHROME_DIR/common/file_descriptor_set_unittest.cc'
380 )
381
382 if not env.Bit('windows'):
383 # TODO(port): Port these.
384 input_files.Remove(
385 '$CHROME_DIR/browser/bookmarks/bookmark_context_menu_test.cc',
386 '$CHROME_DIR/browser/bookmarks/bookmark_drag_data_unittest.cc',
387 '$CHROME_DIR/browser/bookmarks/bookmark_folder_tree_model_unittest.cc',
388 '$CHROME_DIR/browser/bookmarks/bookmark_table_model_unittest.cc',
389 '$CHROME_DIR/browser/browser_commands_unittest.cc',
390 # This test is mostly about renaming downloads to safe file names. As such
391 # we don't need/want to port it to linux. We might want to write our own
392 # tests for the download manager on linux, though.
393 '$CHROME_DIR/browser/download/download_manager_unittest.cc',
394 '$CHROME_DIR/browser/extensions/user_script_master_unittest.cc',
395 '$CHROME_DIR/browser/importer/firefox_importer_unittest.cc',
396 '$CHROME_DIR/browser/importer/importer_unittest.cc',
397 '$CHROME_DIR/browser/login_prompt_unittest.cc',
398 '$CHROME_DIR/browser/password_manager/encryptor_unittest.cc',
399 '$CHROME_DIR/browser/password_manager/password_form_manager_unittest.cc',
400 '$CHROME_DIR/browser/printing/page_number_unittest.cc',
401 '$CHROME_DIR/browser/printing/page_overlays_unittest.cc',
402 '$CHROME_DIR/browser/printing/print_job_unittest.cc',
403 '$CHROME_DIR/browser/printing/win_printing_context_unittest.cc',
404 '$CHROME_DIR/browser/rlz/rlz_unittest.cc',
405 '$CHROME_DIR/browser/sessions/session_service_unittest.cc',
406 '$CHROME_DIR/browser/tabs/tab_strip_model_unittest.cc',
407 '$CHROME_DIR/browser/views/bookmark_editor_view_unittest.cc',
408 '$CHROME_DIR/browser/views/keyword_editor_view_unittest.cc',
409 '$CHROME_DIR/browser/webdata/web_database_unittest.cc',
410 '$CHROME_DIR/browser/window_sizer_unittest.cc',
411 '$CHROME_DIR/common/chrome_plugin_unittest.cc',
412 '$CHROME_DIR/common/gfx/emf_unittest.cc',
413 '$CHROME_DIR/common/gfx/icon_util_unittest.cc',
414 '$CHROME_DIR/common/os_exchange_data_unittest.cc',
415 '$CHROME_DIR/common/win_util_unittest.cc',
416 '$CHROME_DIR/test/browser_with_test_window_test.cc',
417
418 # Commented out for now because googleurl_tests doesn't build with
419 # gtest; see ../build/SConscript.googleurl.
420 #'$GOOGLEURL_DIR/googleurl_tests.lib',
421 '$NET_DIR/url_request/url_request_test_job$OBJSUFFIX',
422
423 '$CHROME_DIR/browser/browser_resources.res',
424 '$CHROME_DIR/test/data/resource.res',
425 )
426
427 if not env.Bit('mac'):
428 # TODO(port): This should work on all platforms.
429
430 unit_tests = env.ChromeTestProgram('unit_tests', input_files)
431
432 i = env.Install('$TARGET_ROOT', unit_tests)
433 Alias('chrome', i)
434
435 p = env.ChromeMSVSProject('unittests.vcproj',
436 dest='$CHROME_SRC_DIR/chrome/test/unit/unittests.vcproj',
437 name='unit_tests',
438 dependencies = [
439 '$BASE_DIR/build/base.vcproj',
440 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj',
441 '$CHROME_DIR/plugin/plugin.vcproj',
442 '$LIBJPEG_DIR/libjpeg.vcproj',
443 '$BZIP2_DIR/bzip2.vcproj',
444 '$NET_DIR/build/net.vcproj',
445 ('$WEBKIT_DIR/build/JavaScriptCore/' +
446 'JavaScriptCore_pcre.vcproj'),
447 '$WEBKIT_DIR/build/port/port.vcproj',
448 '$CHROME_DIR/browser/debugger/debugger.vcproj',
449 '$WEBKIT_DIR/default_plugin/default_plugin.vcproj',
450 '$CHROME_DIR/browser/browser.vcproj',
451 '$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj',
452 '$SQLITE_DIR/sqlite.vcproj',
453 '$CHROME_DIR/views/views.vcproj',
454 '$MODP_B64_DIR/modp_b64.vcproj',
455 '$CHROME_DIR/app/chrome_exe.vcproj',
456 '$CHROME_DIR/test/chrome_plugin/test_chrome_plugin.vcproj',
457 '$ZLIB_DIR/zlib.vcproj',
458 '$CHROME_DIR/common/common.vcproj',
459 '$ICU38_DIR/build/icu.vcproj',
460 '$CHROME_DIR/renderer/renderer.vcproj',
461 '$BASE_DIR/build/base_gfx.vcproj',
462 '$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj',
463 '$CHROME_DIR/browser/resources/browser_resources.vcproj',
464 '$RLZ_DIR/rlz.vcproj',
465 '$TESTING_DIR/gtest.vcproj',
466 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj',
467 '$LIBPNG_DIR/libpng.vcproj',
468 '$WEBKIT_DIR/build/glue/glue.vcproj',
469 '$CHROME_DIR/app/locales/en-US.vcproj',
470 '$SKIA_DIR/skia.vcproj',
471 '$CHROME_DIR/third_party/hunspell/hunspell.vcproj',
472 '$CHROME_DIR/app/generated_resources.vcproj',
473 '$GOOGLEURL_DIR/build/googleurl.vcproj',
474 '$CHROME_DIR/installer/util/util.vcproj',
475 '$WEBKIT_DIR/activex_shim/activex_shim.vcproj',
476 '$SDCH_DIR/sdch.vcproj',
477 '$CHROME_DIR/browser/views/browser_views.vcproj',
478 '$LIBXSLT_DIR/build/libxslt.vcproj',
479 '$CHROME_DIR/app/theme/theme_dll.vcproj',
480 ],
481 guid='{ECFC2BEC-9FC0-4AD9-9649-5F26793F65FC}',
482 # TODO(sgk): when we can intuit the hierarchy
483 # from the built targets.
484 #buildtargets=TODO,
485 files=input_files,
486 local_directory_prefix='./',
487 tools=[
488 'VCPreBuildEventTool',
489 'VCCustomBuildTool',
490 'VCXMLDataGeneratorTool',
491 'VCWebServiceProxyGeneratorTool',
492 'VCMIDLTool',
493 'VCCLCompilerTool',
494 'VCManagedResourceCompilerTool',
495 MSVSTool('VCResourceCompilerTool',
496 AdditionalIncludeDirectories=[
497 '$(SolutionDir)..',
498 '"$(IntDir)"',
499 '"$(IntDir)"',
500 '"$(SolutionDir)"',
501 '"$(IntDir)/../"',
502 ]),
503 'VCPreLinkEventTool',
504 MSVSTool('VCLinkerTool',
505 AdditionalDependencies='winmm.lib'),
506 'VCALinkTool',
507 'VCManifestTool',
508 'VCXDCMakeTool',
509 'VCBscMakeTool',
510 'VCFxCopTool',
511 'VCAppVerifierTool',
512 'VCWebDeploymentTool',
513 'VCPostBuildEventTool',
514 ],
515 ConfigurationType='1')
516
517 p.AddConfig('Debug|Win32',
518 InheritedPropertySheets=[
519 '$(SolutionDir)../build/common.vsprops',
520 '$(SolutionDir)../build/debug.vsprops',
521 '../../tools/build/win/precompiled_wtl.vsprops',
522 '../../tools/build/win/unit_test.vsprops',
523 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops',
524 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
525 '$(SolutionDir)../skia/using_skia.vsprops',
526 '$(SolutionDir)../third_party/libxml/build/using_libxml.vsprops' ,
527 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops',
528 '$(SolutionDir)../testing/using_gtest.vsprops',
529 '../../third_party/hunspell/using_hunspell.vsprops',
530 '../../../third_party/npapi/using_npapi.vsprops',
531 ])
532
533 p.AddConfig('Release|Win32',
534 InheritedPropertySheets=[
535 '$(SolutionDir)../build/common.vsprops',
536 '$(SolutionDir)../build/release.vsprops',
537 '../../tools/build/win/unit_test.vsprops',
538 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops',
539 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
540 '$(SolutionDir)../skia/using_skia.vsprops',
541 '$(SolutionDir)../third_party/libxml/build/using_libxml.vsprops' ,
542 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops',
543 '$(SolutionDir)../testing/using_gtest.vsprops',
544 '../../third_party/hunspell/using_hunspell.vsprops',
545 '../../../third_party/npapi/using_npapi.vsprops',
546 ])
547
548 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc',
549 'Debug|Win32',
550 tools=[
551 MSVSTool('VCCLCompilerTool',
552 UsePrecompiledHeader='1'),
553 ])
OLDNEW
« no previous file with comments | « chrome/test/ui/ui_tests.scons ('k') | chrome/third_party/hunspell/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698