OLD | NEW |
| (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.SConscript([ | |
10 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons', | |
11 '$CHROME_DIR/third_party/wtl/using_wtl.scons', | |
12 '$GOOGLE_UPDATE_DIR/using_google_update.scons', | |
13 '$GRIT_DIR/build/using_generated_resources.scons', | |
14 '$GTEST_DIR/../using_gtest.scons', | |
15 '$ICU38_DIR/using_icu38.scons', | |
16 '$LIBPNG_DIR/using_libpng.scons', | |
17 '$LIBXML_DIR/using_libxml.scons', | |
18 '$MEDIA_DIR/using_media.scons', | |
19 '$NPAPI_DIR/using_npapi.scons', | |
20 '$SKIA_DIR/using_skia.scons', | |
21 '$ZLIB_DIR/using_zlib.scons', | |
22 ], {'env':env}) | |
23 | |
24 env.Append( | |
25 LIBS = [ | |
26 'debugger', | |
27 'glue', | |
28 'views', | |
29 ], | |
30 ) | |
31 | |
32 env.Prepend( | |
33 CPPPATH = [ | |
34 '$CHROME_DIR/app', | |
35 '$CHROME_SRC_DIR', | |
36 # To get the #include of history_indexer.h, | |
37 # generated from history/history_indexer.idl. | |
38 'history', | |
39 ], | |
40 ) | |
41 | |
42 if env.Bit('windows'): | |
43 env.Prepend( | |
44 CPPPATH = [ | |
45 '$CHROME_DIR/tools/build/win', | |
46 ], | |
47 ) | |
48 | |
49 # input_files initialized to common files + Windows specific ones. | |
50 input_files = ChromeFileList([ | |
51 # TODO(sgk): violate standard indentation so we don't have to | |
52 # reindent too much when we remove the explicit MSVSFilter() calls | |
53 # in favor of generating the hierarchy to reflect the file system. | |
54 MSVSFilter('Autocomplete', [ | |
55 'autocomplete/autocomplete.cc', | |
56 'autocomplete/autocomplete.h', | |
57 'autocomplete/autocomplete_accessibility.cc', | |
58 'autocomplete/autocomplete_accessibility.h', | |
59 'autocomplete/autocomplete_edit.cc', | |
60 'autocomplete/autocomplete_edit.h', | |
61 'autocomplete/autocomplete_popup_model.cc', | |
62 'autocomplete/autocomplete_popup_model.h', | |
63 'autocomplete/autocomplete_popup_view_win.cc', | |
64 'autocomplete/autocomplete_popup_view.h', | |
65 'autocomplete/edit_drop_target.cc', | |
66 'autocomplete/edit_drop_target.h', | |
67 'autocomplete/history_contents_provider.cc', | |
68 'autocomplete/history_contents_provider.h', | |
69 'autocomplete/history_url_provider.cc', | |
70 'autocomplete/history_url_provider.h', | |
71 'autocomplete/keyword_provider.cc', | |
72 'autocomplete/keyword_provider.h', | |
73 'autocomplete/search_provider.cc', | |
74 'autocomplete/search_provider.h', | |
75 ]), | |
76 MSVSFilter('Base', [ | |
77 'alternate_nav_url_fetcher.cc', | |
78 'alternate_nav_url_fetcher.h', | |
79 'browser_about_handler.cc', | |
80 'browser_about_handler.h', | |
81 'browser_init.cc', | |
82 'browser_init.h', | |
83 'browser_main.cc', | |
84 'browser_main_win.cc', | |
85 'browser_prefs.cc', | |
86 'browser_prefs.h', | |
87 'browser_process.cc', | |
88 'browser_process.h', | |
89 'browser_process_impl.cc', | |
90 'browser_process_impl.h', | |
91 'browser_shutdown.cc', | |
92 'browser_shutdown.h', | |
93 'browser_url_handler.cc', | |
94 'browser_url_handler.h', | |
95 'browsing_data_remover.cc', | |
96 'browsing_data_remover.h', | |
97 'browsing_instance.cc', | |
98 'browsing_instance.h', | |
99 'cache_manager_host.h', | |
100 'cancelable_request.cc', | |
101 'cancelable_request.h', | |
102 'character_encoding.cc', | |
103 'character_encoding.h', | |
104 'chrome_thread.cc', | |
105 'chrome_thread.h', | |
106 'cross_site_request_manager.cc', | |
107 'cross_site_request_manager.h', | |
108 'fav_icon_helper.cc', | |
109 'fav_icon_helper.h', | |
110 'first_run.cc', | |
111 'first_run.h', | |
112 'google_url_tracker.cc', | |
113 'google_url_tracker.h', | |
114 'google_util.cc', | |
115 'google_util.h', | |
116 'icon_loader.cc', | |
117 'icon_loader.h', | |
118 'icon_manager.cc', | |
119 'icon_manager.h', | |
120 'ime_input.cc', | |
121 'ime_input.h', | |
122 'jankometer.cc', | |
123 'jankometer.h', | |
124 'memory_details.cc', | |
125 'memory_details.h', | |
126 'meta_table_helper.cc', | |
127 'meta_table_helper.h', | |
128 'plugin_process_host.cc', | |
129 'plugin_process_host.h', | |
130 'plugin_service.cc', | |
131 'plugin_service.h', | |
132 '../tools/build/win/precompiled_wtl.cc', | |
133 '../tools/build/win/precompiled_wtl.h', | |
134 'profile.cc', | |
135 'profile.h', | |
136 'profile_manager.cc', | |
137 'profile_manager.h', | |
138 'session_startup_pref.cc', | |
139 'session_startup_pref.h', | |
140 'shell_dialogs.h', | |
141 'shell_integration.cc', | |
142 'shell_integration.h', | |
143 'spellcheck_worditerator.cc', | |
144 'spellcheck_worditerator.h', | |
145 'spellchecker.cc', | |
146 'spellchecker.h', | |
147 'user_data_manager.cc', | |
148 'user_data_manager.h', | |
149 'visitedlink_master.cc', | |
150 'visitedlink_master.h', | |
151 ]), | |
152 MSVSFilter('Bookmarks', [ | |
153 'bookmarks/bookmark_codec.cc', | |
154 'bookmarks/bookmark_codec.h', | |
155 'bookmarks/bookmark_context_menu.cc', | |
156 'bookmarks/bookmark_context_menu.h', | |
157 'bookmarks/bookmark_drag_data.cc', | |
158 'bookmarks/bookmark_drag_data.h', | |
159 'bookmarks/bookmark_drop_info.cc', | |
160 'bookmarks/bookmark_drop_info.h', | |
161 'bookmarks/bookmark_folder_tree_model.cc', | |
162 'bookmarks/bookmark_folder_tree_model.h', | |
163 'bookmarks/bookmark_html_writer.cc', | |
164 'bookmarks/bookmark_html_writer.h', | |
165 'bookmarks/bookmark_model.cc', | |
166 'bookmarks/bookmark_model.h', | |
167 'bookmarks/bookmark_service.h', | |
168 'bookmarks/bookmark_storage.cc', | |
169 'bookmarks/bookmark_storage.h', | |
170 'bookmarks/bookmark_table_model.cc', | |
171 'bookmarks/bookmark_table_model.h', | |
172 'bookmarks/bookmark_utils.cc', | |
173 'bookmarks/bookmark_utils.h', | |
174 ]), | |
175 MSVSFilter('Browser Window', [ | |
176 'app_modal_dialog_queue.cc', | |
177 'app_modal_dialog_queue.h', | |
178 'back_forward_menu_model.cc', | |
179 'back_forward_menu_model.h', | |
180 'back_forward_menu_model_win.cc', | |
181 'back_forward_menu_model_win.h', | |
182 'browser.cc', | |
183 'browser.h', | |
184 'browser_list.cc', | |
185 'browser_list.h', | |
186 'browser_window.h', | |
187 'command_updater.cc', | |
188 'controller.h', | |
189 'dock_info.cc', | |
190 'dock_info.h', | |
191 'find_bar.h', | |
192 'find_bar_controller.cc', | |
193 'find_bar_controller.h', | |
194 'find_notification_details.h', | |
195 'js_before_unload_handler.h', | |
196 'js_before_unload_handler_win.cc', | |
197 'js_before_unload_handler_win.h', | |
198 'jsmessage_box_handler.h', | |
199 'jsmessage_box_handler_win.cc', | |
200 'jsmessage_box_handler_win.h', | |
201 'load_from_memory_cache_details.h', | |
202 'load_notification_details.h', | |
203 'login_prompt.cc', | |
204 'login_prompt.h', | |
205 'options_window.h', | |
206 'task_manager.cc', | |
207 'task_manager.h', | |
208 'task_manager_resource_providers.cc', | |
209 'task_manager_resource_providers.h', | |
210 'window_sizer.cc', | |
211 'window_sizer.h', | |
212 ]), | |
213 MSVSFilter('Automation', [ | |
214 'automation/automation_autocomplete_edit_tracker.h', | |
215 'automation/automation_browser_tracker.h', | |
216 'automation/automation_constrained_window_tracker.h', | |
217 'automation/automation_provider.cc', | |
218 'automation/automation_provider.h', | |
219 'automation/automation_provider_list.cc', | |
220 'automation/automation_provider_list_generic.cc', | |
221 'automation/automation_provider_list_mac.mm', | |
222 'automation/automation_provider_list.h', | |
223 'automation/automation_resource_tracker.cc', | |
224 'automation/automation_resource_tracker.h', | |
225 'automation/automation_tab_tracker.h', | |
226 'automation/automation_window_tracker.h', | |
227 'automation/ui_controls.cc', | |
228 'automation/ui_controls.h', | |
229 'automation/url_request_failed_dns_job.cc', | |
230 'automation/url_request_failed_dns_job.h', | |
231 'automation/url_request_mock_http_job.cc', | |
232 'automation/url_request_mock_http_job.h', | |
233 'automation/url_request_mock_net_error_job.cc', | |
234 'automation/url_request_mock_net_error_job.h', | |
235 'automation/url_request_slow_download_job.cc', | |
236 'automation/url_request_slow_download_job.h', | |
237 'view_ids.h', | |
238 ]), | |
239 MSVSFilter('History', [ | |
240 'history/archived_database.cc', | |
241 'history/archived_database.h', | |
242 'history/download_database.cc', | |
243 'history/download_database.h', | |
244 'history/download_types.h', | |
245 'history/expire_history_backend.cc', | |
246 'history/expire_history_backend.h', | |
247 'history/history.cc', | |
248 'history/history.h', | |
249 'history/history_backend.cc', | |
250 'history/history_backend.h', | |
251 'history/history_database.cc', | |
252 'history/history_database.h', | |
253 'history/history_indexer.idl', | |
254 'history/history_marshaling.h', | |
255 'history/history_notifications.h', | |
256 'history/history_publisher.cc', | |
257 'history/history_publisher_none.cc', | |
258 'history/history_publisher_win.cc', | |
259 'history/history_publisher.h', | |
260 'history/history_types.cc', | |
261 'history/history_types.h', | |
262 'history/in_memory_database.cc', | |
263 'history/in_memory_database.h', | |
264 'history/in_memory_history_backend.cc', | |
265 'history/in_memory_history_backend.h', | |
266 'history/page_usage_data.cc', | |
267 'history/page_usage_data.h', | |
268 'history/query_parser.cc', | |
269 'history/query_parser.h', | |
270 'history/snippet.cc', | |
271 'history/snippet.h', | |
272 'history/starred_url_database.cc', | |
273 'history/starred_url_database.h', | |
274 'history/text_database.cc', | |
275 'history/text_database.h', | |
276 'history/text_database_manager.cc', | |
277 'history/text_database_manager.h', | |
278 'history/thumbnail_database.cc', | |
279 'history/thumbnail_database.h', | |
280 'history/url_database.cc', | |
281 'history/url_database.h', | |
282 'history/visit_database.cc', | |
283 'history/visit_database.h', | |
284 'history/visit_tracker.cc', | |
285 'history/visit_tracker.h', | |
286 'history/visitsegment_database.cc', | |
287 'history/visitsegment_database.h', | |
288 MSVSFilter('HangMonitor', [ | |
289 'hang_monitor/hung_plugin_action.cc', | |
290 'hang_monitor/hung_plugin_action.h', | |
291 'hang_monitor/hung_window_detector.cc', | |
292 'hang_monitor/hung_window_detector.h', | |
293 ]), | |
294 ]), | |
295 MSVSFilter('Sessions and Tab Restore', [ | |
296 'sessions/base_session_service.cc', | |
297 'sessions/base_session_service.h', | |
298 'sessions/session_backend.cc', | |
299 'sessions/session_backend.h', | |
300 'sessions/session_command.cc', | |
301 'sessions/session_command.h', | |
302 'sessions/session_id.cc', | |
303 'sessions/session_id.h', | |
304 'sessions/session_restore.cc', | |
305 'sessions/session_restore.h', | |
306 'sessions/session_service.cc', | |
307 'sessions/session_service.h', | |
308 'sessions/session_types.cc', | |
309 'sessions/session_types.h', | |
310 'sessions/tab_restore_service.cc', | |
311 'sessions/tab_restore_service.h', | |
312 ]), | |
313 MSVSFilter('WebData', [ | |
314 'webdata/web_data_service.cc', | |
315 'webdata/web_data_service.h', | |
316 'webdata/web_database.cc', | |
317 'webdata/web_database.h', | |
318 'webdata/web_database_win.cc', | |
319 ]), | |
320 MSVSFilter('Importer', [ | |
321 'importer/firefox2_importer.cc', | |
322 'importer/firefox2_importer.h', | |
323 'importer/firefox3_importer.cc', | |
324 'importer/firefox3_importer.h', | |
325 'importer/firefox_importer_utils.cc', | |
326 'importer/firefox_importer_utils.h', | |
327 'importer/firefox_profile_lock.cc', | |
328 'importer/firefox_profile_lock.h', | |
329 'importer/firefox_profile_lock_win.cc', | |
330 'importer/ie_importer.cc', | |
331 'importer/ie_importer.h', | |
332 'importer/importer.cc', | |
333 'importer/importer.h', | |
334 'importer/mork_reader.cc', | |
335 'importer/mork_reader.h', | |
336 ]), | |
337 MSVSFilter('Drag & Drop', [ | |
338 'drag_utils.cc', | |
339 'drag_utils.h', | |
340 ]), | |
341 MSVSFilter('Tabs', [ | |
342 'tabs/tab_strip_model.cc', | |
343 'tabs/tab_strip_model.h', | |
344 'tabs/tab_strip_model_order_controller.cc', | |
345 'tabs/tab_strip_model_order_controller.h', | |
346 ]), | |
347 MSVSFilter('Printing', [ | |
348 'printing/page_number.cc', | |
349 'printing/page_number.h', | |
350 'printing/page_overlays.cc', | |
351 'printing/page_overlays.h', | |
352 'printing/page_range.cc', | |
353 'printing/page_range.h', | |
354 'printing/page_setup.cc', | |
355 'printing/page_setup.h', | |
356 'printing/print_job.cc', | |
357 'printing/print_job.h', | |
358 'printing/print_job_manager.cc', | |
359 'printing/print_job_manager.h', | |
360 'printing/print_job_worker.cc', | |
361 'printing/print_job_worker.h', | |
362 'printing/print_job_worker_owner.h', | |
363 'printing/print_settings.cc', | |
364 'printing/print_settings.h', | |
365 'printing/print_view_manager.cc', | |
366 'printing/print_view_manager.h', | |
367 'printing/printed_document.cc', | |
368 'printing/printed_document.h', | |
369 'printing/printed_page.cc', | |
370 'printing/printed_page.h', | |
371 'printing/printed_pages_source.h', | |
372 'printing/printer_query.cc', | |
373 'printing/printer_query.h', | |
374 'printing/win_printing_context.cc', | |
375 'printing/win_printing_context.h', | |
376 ]), | |
377 MSVSFilter('Sandbox', [ | |
378 'sandbox_policy.cc', | |
379 'sandbox_policy.h', | |
380 ]), | |
381 MSVSFilter('Password Manager', [ | |
382 'password_manager/encryptor.cc', | |
383 'password_manager/encryptor.h', | |
384 'password_manager/ie7_password.cc', | |
385 'password_manager/ie7_password.h', | |
386 'password_manager/password_form_manager.cc', | |
387 'password_manager/password_form_manager.h', | |
388 'password_manager/password_manager.cc', | |
389 'password_manager/password_manager.h', | |
390 ]), | |
391 MSVSFilter('External Tab', [ | |
392 'external_tab_container.cc', | |
393 'external_tab_container.h', | |
394 ]), | |
395 MSVSFilter('DOM UI', [ | |
396 'dom_ui/chrome_url_data_manager.cc', | |
397 'dom_ui/chrome_url_data_manager.h', | |
398 'dom_ui/debugger_ui.cc', | |
399 'dom_ui/debugger_ui.h', | |
400 'dom_ui/devtools_ui.cc', | |
401 'dom_ui/devtools_ui.h', | |
402 'dom_ui/dom_ui.cc', | |
403 'dom_ui/dom_ui.h', | |
404 'dom_ui/dom_ui_factory.cc', | |
405 'dom_ui/dom_ui_factory.h', | |
406 'dom_ui/dom_ui_favicon_source.cc', | |
407 'dom_ui/dom_ui_favicon_source.h', | |
408 'dom_ui/dom_ui_host.cc', | |
409 'dom_ui/dom_ui_host.h', | |
410 'dom_ui/dom_ui_thumbnail_source.cc', | |
411 'dom_ui/dom_ui_thumbnail_source.h', | |
412 'dom_ui/downloads_ui.cc', | |
413 'dom_ui/downloads_ui.h', | |
414 'dom_ui/fileicon_source.cc', | |
415 'dom_ui/fileicon_source.h', | |
416 'dom_ui/history_ui.cc', | |
417 'dom_ui/history_ui.h', | |
418 'dom_ui/html_dialog_contents.cc', | |
419 'dom_ui/html_dialog_contents.h', | |
420 'dom_ui/new_tab_ui.cc', | |
421 'dom_ui/new_tab_ui.h', | |
422 ]), | |
423 MSVSFilter('Net', [ | |
424 'net/chrome_url_request_context.cc', | |
425 'net/chrome_url_request_context.h', | |
426 'net/dns_global.cc', | |
427 'net/dns_global.h', | |
428 'net/dns_host_info.cc', | |
429 'net/dns_host_info.h', | |
430 'net/dns_master.cc', | |
431 'net/dns_master.h', | |
432 'net/referrer.cc', | |
433 'net/referrer.h', | |
434 'net/resolve_proxy_msg_helper.cc', | |
435 'net/resolve_proxy_msg_helper.h', | |
436 'net/sdch_dictionary_fetcher.cc', | |
437 'net/sdch_dictionary_fetcher.h', | |
438 'net/url_fetcher.cc', | |
439 'net/url_fetcher.h', | |
440 'net/url_fetcher_protect.cc', | |
441 'net/url_fetcher_protect.h', | |
442 'net/url_fixer_upper.cc', | |
443 'net/url_fixer_upper.h', | |
444 ]), | |
445 MSVSFilter('RLZ', [ | |
446 'rlz/rlz.cc', | |
447 'rlz/rlz.h', | |
448 ]), | |
449 MSVSFilter('Safe Browsing', [ | |
450 'safe_browsing/bloom_filter.cc', | |
451 'safe_browsing/bloom_filter.h', | |
452 'safe_browsing/chunk_range.cc', | |
453 'safe_browsing/chunk_range.h', | |
454 'safe_browsing/protocol_manager.cc', | |
455 'safe_browsing/protocol_manager.h', | |
456 'safe_browsing/protocol_parser.cc', | |
457 'safe_browsing/protocol_parser.h', | |
458 'safe_browsing/safe_browsing_blocking_page.cc', | |
459 'safe_browsing/safe_browsing_blocking_page.h', | |
460 'safe_browsing/safe_browsing_database.cc', | |
461 'safe_browsing/safe_browsing_database.h', | |
462 'safe_browsing/safe_browsing_database_bloom.cc', | |
463 'safe_browsing/safe_browsing_database_bloom.h', | |
464 'safe_browsing/safe_browsing_service.cc', | |
465 'safe_browsing/safe_browsing_service.h', | |
466 'safe_browsing/safe_browsing_util.cc', | |
467 'safe_browsing/safe_browsing_util.h', | |
468 ]), | |
469 MSVSFilter('Accessibility', [ | |
470 'browser_accessibility.cc', | |
471 'browser_accessibility.h', | |
472 'browser_accessibility_manager.cc', | |
473 'browser_accessibility_manager.h', | |
474 ]), | |
475 MSVSFilter('Download', [ | |
476 'download/download_exe.cc', | |
477 'download/download_file.cc', | |
478 'download/download_file.h', | |
479 'download/download_item_model.cc', | |
480 'download/download_item_model.h', | |
481 'download/download_manager.cc', | |
482 'download/download_manager.h', | |
483 'download/download_request_dialog_delegate.h', | |
484 'download/download_request_manager.cc', | |
485 'download/download_request_manager.h', | |
486 'download/download_shelf.cc', | |
487 'download/download_shelf.h', | |
488 'download/download_util.cc', | |
489 'download/download_util.h', | |
490 ]), | |
491 MSVSFilter('Save Page', [ | |
492 'download/save_file.cc', | |
493 'download/save_file.h', | |
494 'download/save_file_manager.cc', | |
495 'download/save_file_manager.h', | |
496 'download/save_item.cc', | |
497 'download/save_item.h', | |
498 'download/save_package.cc', | |
499 'download/save_package.h', | |
500 'download/save_types.h', | |
501 ]), | |
502 MSVSFilter('Autofill', [ | |
503 'autofill_manager.cc', | |
504 'autofill_manager.h', | |
505 ]), | |
506 MSVSFilter('Extensions', [ | |
507 'extensions/extension.cc', | |
508 'extensions/extension.h', | |
509 'extensions/extension_api_handler.cc', | |
510 'extensions/extension_api_handler.h', | |
511 'extensions/extension_view.cc', | |
512 'extensions/extension_view.h', | |
513 'extensions/extension_error_reporter.cc', | |
514 'extensions/extension_error_reporter.h', | |
515 'extensions/extension_message_service.cc', | |
516 'extensions/extension_message_service.h', | |
517 'extensions/extension_protocols.h', | |
518 'extensions/extensions_service.cc', | |
519 'extensions/extensions_service.h', | |
520 'extensions/extensions_ui.cc', | |
521 'extensions/extensions_ui.h', | |
522 'extensions/user_script_master.cc', | |
523 'extensions/user_script_master.h', | |
524 ]), | |
525 MSVSFilter('Renderer Host', [ | |
526 'renderer_host/async_resource_handler.cc', | |
527 'renderer_host/async_resource_handler.h', | |
528 'renderer_host/audio_renderer_host.cc', | |
529 'renderer_host/audio_renderer_host.h', | |
530 'renderer_host/backing_store.h', | |
531 'renderer_host/backing_store.cc', | |
532 'renderer_host/backing_store_win.cc', | |
533 'renderer_host/browser_render_process_host.cc', | |
534 'renderer_host/browser_render_process_host.h', | |
535 'renderer_host/buffered_resource_handler.cc', | |
536 'renderer_host/buffered_resource_handler.h', | |
537 'renderer_host/cross_site_resource_handler.cc', | |
538 'renderer_host/cross_site_resource_handler.h', | |
539 'renderer_host/download_resource_handler.cc', | |
540 'renderer_host/download_resource_handler.h', | |
541 'renderer_host/download_throttling_resource_handler.cc', | |
542 'renderer_host/download_throttling_resource_handler.h', | |
543 'renderer_host/media_resource_handler.cc', | |
544 'renderer_host/media_resource_handler.h', | |
545 'renderer_host/render_process_host.cc', | |
546 'renderer_host/render_process_host.h', | |
547 'renderer_host/render_view_host.cc', | |
548 'renderer_host/render_view_host.h', | |
549 'renderer_host/render_view_host_delegate.h', | |
550 'renderer_host/render_widget_helper.cc', | |
551 'renderer_host/render_widget_helper.h', | |
552 'renderer_host/render_widget_host.cc', | |
553 'renderer_host/render_widget_host.h', | |
554 'renderer_host/render_widget_host_view.h', | |
555 'renderer_host/render_widget_host_view_win.cc', | |
556 'renderer_host/render_widget_host_view_win.h', | |
557 'renderer_host/renderer_security_policy.cc', | |
558 'renderer_host/renderer_security_policy.h', | |
559 'renderer_host/resource_dispatcher_host.cc', | |
560 'renderer_host/resource_dispatcher_host.h', | |
561 'renderer_host/resource_handler.h', | |
562 'renderer_host/resource_message_filter.cc', | |
563 'renderer_host/resource_message_filter.h', | |
564 'renderer_host/resource_message_filter_gtk.cc', | |
565 'renderer_host/resource_request_details.h', | |
566 'renderer_host/safe_browsing_resource_handler.cc', | |
567 'renderer_host/safe_browsing_resource_handler.h', | |
568 'renderer_host/save_file_resource_handler.cc', | |
569 'renderer_host/save_file_resource_handler.h', | |
570 'renderer_host/sync_resource_handler.cc', | |
571 'renderer_host/sync_resource_handler.h', | |
572 'renderer_host/web_cache_manager.cc', | |
573 ]), | |
574 MSVSFilter('Tab Contents', [ | |
575 'tab_contents/constrained_window.h', | |
576 'tab_contents/infobar_delegate.cc', | |
577 'tab_contents/infobar_delegate.h', | |
578 'tab_contents/interstitial_page.cc', | |
579 'tab_contents/interstitial_page.h', | |
580 'tab_contents/navigation_controller.cc', | |
581 'tab_contents/navigation_controller.h', | |
582 'tab_contents/navigation_entry.cc', | |
583 'tab_contents/navigation_entry.h', | |
584 'tab_contents/page_navigator.h', | |
585 'tab_contents/provisional_load_details.cc', | |
586 'tab_contents/provisional_load_details.h', | |
587 'tab_contents/render_view_context_menu.cc', | |
588 'tab_contents/render_view_context_menu.h', | |
589 'tab_contents/render_view_host_manager.cc', | |
590 'tab_contents/render_view_host_manager.h', | |
591 'tab_contents/repost_form_warning.h', | |
592 'tab_contents/security_style.h', | |
593 'tab_contents/site_instance.cc', | |
594 'tab_contents/site_instance.h', | |
595 'tab_contents/tab_contents.cc', | |
596 'tab_contents/tab_contents.h', | |
597 'tab_contents/tab_contents_delegate.h', | |
598 'tab_contents/tab_contents_factory.cc', | |
599 'tab_contents/tab_contents_factory.h', | |
600 'tab_contents/tab_contents_type.h', | |
601 'tab_contents/tab_util.cc', | |
602 'tab_contents/tab_util.h', | |
603 'tab_contents/web_contents.cc', | |
604 'tab_contents/web_contents.h', | |
605 'tab_contents/web_contents_view.cc', | |
606 'tab_contents/web_contents_view.h', | |
607 'tab_contents/web_contents_view_win.cc', | |
608 'tab_contents/web_contents_view_win.h', | |
609 'tab_contents/web_drag_source.cc', | |
610 'tab_contents/web_drag_source.h', | |
611 'tab_contents/web_drop_target.cc', | |
612 'tab_contents/web_drop_target.h', | |
613 ]), | |
614 MSVSFilter('Search Engines', [ | |
615 'search_engines/template_url.cc', | |
616 'search_engines/template_url.h', | |
617 'search_engines/template_url_fetcher.cc', | |
618 'search_engines/template_url_fetcher.h', | |
619 'search_engines/template_url_model.cc', | |
620 'search_engines/template_url_model.h', | |
621 'search_engines/template_url_parser.cc', | |
622 'search_engines/template_url_parser.h', | |
623 'search_engines/template_url_prepopulate_data.cc', | |
624 'search_engines/template_url_prepopulate_data.h', | |
625 ]), | |
626 MSVSFilter('Metrics', [ | |
627 'metrics/metrics_log.cc', | |
628 'metrics/metrics_log.h', | |
629 'metrics/metrics_response.cc', | |
630 'metrics/metrics_response.h', | |
631 'metrics/metrics_service.cc', | |
632 'metrics/metrics_service.h', | |
633 'metrics/user_metrics.cc', | |
634 'metrics/user_metrics.h', | |
635 ]), | |
636 MSVSFilter('SSL', [ | |
637 'ssl/ssl_blocking_page.cc', | |
638 'ssl/ssl_blocking_page.h', | |
639 'ssl/ssl_error_info.cc', | |
640 'ssl/ssl_error_info.h', | |
641 'ssl/ssl_host_state.cc', | |
642 'ssl/ssl_host_state.h', | |
643 'ssl/ssl_manager.cc', | |
644 'ssl/ssl_manager.h', | |
645 'ssl/ssl_policy.cc', | |
646 'ssl/ssl_policy.h', | |
647 ]), | |
648 'browser_trial.cc', | |
649 'browser_trial.h', | |
650 'cert_store.cc', | |
651 'cert_store.h', | |
652 'chrome_plugin_browsing_context.cc', | |
653 'chrome_plugin_browsing_context.h', | |
654 'chrome_plugin_host.cc', | |
655 'encoding_menu_controller_delegate.cc', | |
656 'encoding_menu_controller_delegate.h', | |
657 'external_protocol_handler.cc', | |
658 'external_protocol_handler.h', | |
659 'gears_integration.cc', | |
660 'gears_integration.h', | |
661 'google_update.cc', | |
662 'google_update.h', | |
663 'modal_html_dialog_delegate.cc', | |
664 'modal_html_dialog_delegate.h', | |
665 'page_state.cc', | |
666 'page_state.h', | |
667 'plugin_installer.cc', | |
668 'plugin_installer.h', | |
669 'toolbar_model.cc', | |
670 'toolbar_model.h', | |
671 'worker_host/worker_process_host.cc', | |
672 'worker_host/worker_process_host.h', | |
673 'worker_host/worker_service.cc', | |
674 'worker_host/worker_service.h', | |
675 ]) | |
676 | |
677 if not env.Bit('windows'): | |
678 # TODO: Port these. | |
679 input_files.Remove( | |
680 'app_modal_dialog_queue.cc', | |
681 'autocomplete/autocomplete_accessibility.cc', | |
682 'autocomplete/autocomplete_popup_view_win.cc', | |
683 'autocomplete/edit_drop_target.cc', | |
684 'automation/ui_controls.cc', | |
685 'browser_accessibility.cc', | |
686 'browser_accessibility_manager.cc', | |
687 'dock_info.cc', | |
688 'dom_ui/debugger_ui.cc', | |
689 'dom_ui/html_dialog_contents.cc', | |
690 'download/download_exe.cc', | |
691 'download/download_util.cc', | |
692 'drag_utils.cc', | |
693 'encoding_menu_controller_delegate.cc', | |
694 'external_tab_container.cc', | |
695 'first_run.cc', | |
696 'hang_monitor/hung_plugin_action.cc', | |
697 'hang_monitor/hung_window_detector.cc', | |
698 'icon_loader.cc', | |
699 'icon_manager.cc', | |
700 'ime_input.cc', | |
701 'jankometer.cc', | |
702 'login_prompt.cc', | |
703 'memory_details.cc', | |
704 'modal_html_dialog_delegate.cc', | |
705 'google_update.cc', | |
706 'password_manager/encryptor.cc', | |
707 'printing/page_overlays.cc', | |
708 'printing/print_job.cc', | |
709 'printing/print_job_manager.cc', | |
710 'printing/print_job_worker.cc', | |
711 'printing/print_settings.cc', | |
712 'printing/print_view_manager.cc', | |
713 'printing/printed_document.cc', | |
714 'printing/printed_page.cc', | |
715 'printing/printer_query.cc', | |
716 'printing/win_printing_context.cc', | |
717 'rlz/rlz.cc', | |
718 'sandbox_policy.cc', | |
719 'shell_integration.cc', | |
720 'tab_contents/web_drop_target.cc', | |
721 'task_manager.cc', | |
722 'task_manager_resource_providers.cc', | |
723 'window_sizer.cc', | |
724 ) | |
725 | |
726 # Remove Windows-specific files on other platforms. | |
727 input_files.Remove( | |
728 'back_forward_menu_model_win.cc', | |
729 'browser_main_win.cc', | |
730 'history/history_publisher_win.cc', | |
731 'importer/firefox_profile_lock_win.cc', | |
732 'importer/ie_importer.cc', | |
733 'js_before_unload_handler_win.cc', | |
734 'jsmessage_box_handler_win.cc', | |
735 'password_manager/ie7_password.cc', | |
736 'password_manager/password_form_manager_win.cc', | |
737 'renderer_host/backing_store_win.cc', | |
738 'renderer_host/render_widget_host_view_win.cc', | |
739 'tab_contents/web_contents_view_win.cc', | |
740 'webdata/web_data_service_win.cc', | |
741 'webdata/web_database_win.cc', | |
742 '../tools/build/win/precompiled_wtl.cc', | |
743 '../tools/build/win/precompiled_wtl.h', | |
744 ) | |
745 | |
746 # Add files shared across non-Windows platforms. | |
747 input_files.Append( | |
748 'importer/firefox_profile_lock_posix.cc', | |
749 'renderer_host/backing_store_x.cc', | |
750 ) | |
751 | |
752 | |
753 if env.Bit('linux'): | |
754 input_files.Extend([ | |
755 'autocomplete/autocomplete_edit_view_gtk.cc', | |
756 'autocomplete/autocomplete_popup_view_gtk.cc', | |
757 'browser_main_gtk.cc', | |
758 'gtk/back_forward_menu_model_gtk.cc', | |
759 'gtk/browser_toolbar_gtk.cc', | |
760 'gtk/browser_window_factory_gtk.cc', | |
761 'gtk/browser_window_gtk.cc', | |
762 'gtk/custom_button.cc', | |
763 'gtk/dialogs_gtk.cc', | |
764 'gtk/download_item_gtk.cc', | |
765 'gtk/download_shelf_gtk.cc', | |
766 'gtk/find_bar_gtk.cc', | |
767 'gtk/location_bar_view_gtk.cc', | |
768 'gtk/menu_gtk.cc', | |
769 'gtk/nine_box.cc', | |
770 'gtk/standard_menus.cc', | |
771 'gtk/status_bubble_gtk.cc', | |
772 'gtk/tab_contents_container_gtk.cc', | |
773 'gtk/tab_strip_gtk.cc', | |
774 'process_singleton_linux.cc', | |
775 'renderer_host/render_widget_host_view_gtk.cc', | |
776 'tab_contents/web_contents_view_gtk.cc', | |
777 'tab_contents/render_view_context_menu_gtk.cc', | |
778 ]) | |
779 | |
780 if env.Bit('mac'): | |
781 input_files.Remove( | |
782 'spellchecker.cc', | |
783 'tab_contents/web_contents_view.cc', | |
784 ) | |
785 | |
786 if not env.Bit('mac'): | |
787 # Mac-specific files | |
788 input_files.Remove( | |
789 'automation/automation_provider_list_mac.mm', | |
790 ) | |
791 | |
792 if env.Bit('windows'): | |
793 env.TypeLibrary('history/history_indexer.idl') | |
794 | |
795 input_files.Remove( | |
796 'history/history_publisher_none.cc', | |
797 'importer/firefox_profile_lock_posix.cc', | |
798 ) | |
799 | |
800 if not env.Bit('mac'): | |
801 # TODO: This should work for all platforms. | |
802 env.ChromeLibrary('browser', input_files) | |
803 | |
804 p = env.ChromeMSVSProject('browser.vcproj', | |
805 dest='$CHROME_SRC_DIR/chrome/browser/browser.vcproj', | |
806 guid='{5BF908A7-68FB-4A4B-99E3-8C749F1FE4EA}', | |
807 keyword='Win32Proj', | |
808 root_namespace='Browser', | |
809 dependencies = [ | |
810 '$LIBXML_DIR/build/libxml_config.vcproj', | |
811 '$GOOGLE_UPDATE_DIR/ondemand_updates.vcproj', | |
812 '$NET_DIR/build/net_resources.vcproj', | |
813 '$CHROME_DIR/app/generated_resources.vcproj', | |
814 ], | |
815 # TODO(sgk): when we can intuit the hierarchy | |
816 # from the built targets. | |
817 #buildtargets=TODO, | |
818 files=input_files, | |
819 relative_path_prefix='./', | |
820 tools=[ | |
821 'VCPreBuildEventTool', | |
822 'VCCustomBuildTool', | |
823 'Resource text file copy', | |
824 'VCXMLDataGeneratorTool', | |
825 'VCWebServiceProxyGeneratorTool', | |
826 'VCMIDLTool', | |
827 'VCCLCompilerTool', | |
828 'VCManagedResourceCompilerTool', | |
829 'VCResourceCompilerTool', | |
830 'VCPreLinkEventTool', | |
831 'VCLibrarianTool', | |
832 'VCALinkTool', | |
833 'VCXDCMakeTool', | |
834 'VCBscMakeTool', | |
835 'VCFxCopTool', | |
836 'VCPostBuildEventTool', | |
837 ], | |
838 ConfigurationType='4') | |
839 | |
840 p.AddToolFile('../tools/build/win/resource_text_file_copy.rules') | |
841 | |
842 p.AddConfig('Debug|Win32', | |
843 InheritedPropertySheets=[ | |
844 './browser.vsprops', | |
845 '$(SolutionDir)../build/debug.vsprops', | |
846 '../tools/build/win/precompiled_wtl.vsprops', | |
847 ]) | |
848 | |
849 p.AddConfig('Release|Win32', | |
850 InheritedPropertySheets=[ | |
851 './browser.vsprops', | |
852 '$(SolutionDir)../build/release.vsprops', | |
853 '$(SolutionDir)/tools/build/win/js_engine.vsprops', | |
854 ]) | |
855 | |
856 p.AddFileConfig('../tools/build/win/precompiled_wtl.cc', | |
857 'Debug|Win32', | |
858 tools=[ | |
859 MSVSTool('VCCLCompilerTool', | |
860 UsePrecompiledHeader='1'), | |
861 ]) | |
862 | |
863 p.AddFileConfig('../tools/build/win/precompiled_wtl.cc', | |
864 'Release|Win32', | |
865 ExcludedFromBuild='true', | |
866 tools=[ | |
867 'VCCLCompilerTool', | |
868 ]) | |
869 | |
870 xmldoc_files = [ | |
871 'net/url_fetcher.cc', | |
872 'net/url_fetcher_protect.cc', | |
873 'net/url_fixer_upper.cc', | |
874 'password_manager/encryptor.cc', | |
875 'search_engines/template_url.cc', | |
876 'search_engines/template_url_fetcher.cc', | |
877 'search_engines/template_url_model.cc', | |
878 'search_engines/template_url_parser.cc', | |
879 'search_engines/template_url_prepopulate_data.cc', | |
880 'ssl/ssl_blocking_page.cc', | |
881 'ssl/ssl_error_info.cc', | |
882 'ssl/ssl_host_state.cc', | |
883 'ssl/ssl_manager.cc', | |
884 'ssl/ssl_policy.cc', | |
885 'tab_contents/interstitial_page.cc', | |
886 'tab_contents/native_ui_contents.cc', | |
887 'tab_contents/navigation_controller.cc', | |
888 'tab_contents/navigation_entry.cc', | |
889 'tab_contents/provisional_load_details.cc', | |
890 'tab_contents/site_instance.cc', | |
891 'tab_contents/web_drag_source.cc', | |
892 'tab_contents/web_drop_target.cc', | |
893 ] | |
894 | |
895 xmldoc_tool_list = [ | |
896 MSVSTool('VCCLCompilerTool', | |
897 XMLDocumentationFileName=('$(IntDir)/$(InputName)1.xdc'), | |
898 ObjectFile='$(IntDir)/$(InputName)1.obj'), | |
899 ] | |
900 | |
901 for filename in xmldoc_files: | |
902 p.AddFileConfig(filename, 'Debug|Win32', xmldoc_tool_list) | |
903 p.AddFileConfig(filename, 'Release|Win32', xmldoc_tool_list) | |
OLD | NEW |