| 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 | 9 |
| 10 env.Prepend( | 10 env.Prepend( |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 '$LIBPNG_DIR', | 53 '$LIBPNG_DIR', |
| 54 '$BREAKPAD_DIR/src', | 54 '$BREAKPAD_DIR/src', |
| 55 ], | 55 ], |
| 56 ) | 56 ) |
| 57 | 57 |
| 58 input_files = [] | 58 input_files = [] |
| 59 | 59 |
| 60 if env['PLATFORM'] in ('posix', 'win32'): | 60 if env['PLATFORM'] in ('posix', 'win32'): |
| 61 # TODO: Port to Mac. | 61 # TODO: Port to Mac. |
| 62 input_files.extend([ | 62 input_files.extend([ |
| 63 'browser_process.cc', |
| 64 'cancelable_request.cc', |
| 65 'chrome_thread.cc', |
| 66 'cross_site_request_manager.cc', |
| 67 'google_url_tracker.cc', |
| 68 'google_util.cc', |
| 69 'meta_table_helper.cc', |
| 70 'metrics_response.cc', |
| 71 'net/dns_host_info.cc', |
| 72 'page_state.cc', |
| 73 'printing/page_number.cc', |
| 63 'printing/page_setup.cc', | 74 'printing/page_setup.cc', |
| 75 'printing/page_range.cc', |
| 64 'printing/units.cc', | 76 'printing/units.cc', |
| 65 'net/dns_host_info.cc', | 77 'renderer_security_policy.cc', |
| 66 'safe_browsing/bloom_filter.cc', | 78 'safe_browsing/bloom_filter.cc', |
| 67 'safe_browsing/chunk_range.cc', | 79 'safe_browsing/chunk_range.cc', |
| 68 'safe_browsing/protocol_parser.cc', | 80 'safe_browsing/protocol_parser.cc', |
| 69 'safe_browsing/safe_browsing_util.cc', | 81 'safe_browsing/safe_browsing_util.cc', |
| 82 'session_startup_pref.cc', |
| 83 'url_fetcher_protect.cc', |
| 84 'user_metrics.cc', |
| 70 ]) | 85 ]) |
| 71 | 86 |
| 72 if env['PLATFORM'] == 'win32': | 87 if env['PLATFORM'] == 'win32': |
| 73 # TODO: Port these. | 88 # TODO: Port these. |
| 74 input_files.extend([ | 89 input_files.extend([ |
| 75 'about_internets_status_view.cc', | 90 'about_internets_status_view.cc', |
| 76 'alternate_nav_url_fetcher.cc', | 91 'alternate_nav_url_fetcher.cc', |
| 77 'app_modal_dialog_queue.cc', | 92 'app_modal_dialog_queue.cc', |
| 78 'autocomplete/autocomplete.cc', | 93 'autocomplete/autocomplete.cc', |
| 79 'autocomplete/autocomplete_edit.cc', | 94 'autocomplete/autocomplete_edit.cc', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 98 'bookmarks/bookmark_codec.cc', | 113 'bookmarks/bookmark_codec.cc', |
| 99 'bookmarks/bookmark_storage.cc', | 114 'bookmarks/bookmark_storage.cc', |
| 100 'bookmarks/bookmark_drag_data.cc', | 115 'bookmarks/bookmark_drag_data.cc', |
| 101 'browser.cc', | 116 'browser.cc', |
| 102 'browser_about_handler.cc', | 117 'browser_about_handler.cc', |
| 103 'browser_commands.cc', | 118 'browser_commands.cc', |
| 104 'browser_init.cc', | 119 'browser_init.cc', |
| 105 'browser_list.cc', | 120 'browser_list.cc', |
| 106 'browser_main.cc', | 121 'browser_main.cc', |
| 107 'browser_prefs.cc', | 122 'browser_prefs.cc', |
| 108 'browser_process.cc', | |
| 109 'browser_process_impl.cc', | 123 'browser_process_impl.cc', |
| 110 'browser_shutdown.cc', | 124 'browser_shutdown.cc', |
| 111 'browser_url_handler.cc', | 125 'browser_url_handler.cc', |
| 112 'browser_window.cc', | 126 'browser_window.cc', |
| 113 'browsing_data_remover.cc', | 127 'browsing_data_remover.cc', |
| 114 'browsing_instance.cc', | 128 'browsing_instance.cc', |
| 115 'cache_manager_host.cc', | 129 'cache_manager_host.cc', |
| 116 'cancelable_request.cc', | |
| 117 'cert_store.cc', | 130 'cert_store.cc', |
| 118 'character_encoding.cc', | 131 'character_encoding.cc', |
| 119 'chrome_plugin_browsing_context.cc', | 132 'chrome_plugin_browsing_context.cc', |
| 120 'chrome_plugin_host.cc', | 133 'chrome_plugin_host.cc', |
| 121 'chrome_thread.cc', | |
| 122 'controller.cc', | 134 'controller.cc', |
| 123 'cross_site_request_manager.cc', | |
| 124 'dom_ui/chrome_url_data_manager.cc', | 135 'dom_ui/chrome_url_data_manager.cc', |
| 125 'dom_ui/dom_ui_host.cc', | 136 'dom_ui/dom_ui_host.cc', |
| 126 'dom_ui/html_dialog_contents.cc', | 137 'dom_ui/html_dialog_contents.cc', |
| 127 'dom_ui/new_tab_ui.cc', | 138 'dom_ui/new_tab_ui.cc', |
| 128 'download_exe.cc', | 139 'download_exe.cc', |
| 129 'download_file.cc', | 140 'download_file.cc', |
| 130 'download_item_model.cc', | 141 'download_item_model.cc', |
| 131 'download_manager.cc', | 142 'download_manager.cc', |
| 132 'download_tab_view.cc', | 143 'download_tab_view.cc', |
| 133 'download_util.cc', | 144 'download_util.cc', |
| 134 'drag_utils.cc', | 145 'drag_utils.cc', |
| 135 'encoding_menu_controller_delegate.cc', | 146 'encoding_menu_controller_delegate.cc', |
| 136 'encryptor.cc', | 147 'encryptor.cc', |
| 137 'external_protocol_dialog.cc', | 148 'external_protocol_dialog.cc', |
| 138 'external_protocol_handler.cc', | 149 'external_protocol_handler.cc', |
| 139 'external_tab_container.cc', | 150 'external_tab_container.cc', |
| 140 'fav_icon_helper.cc', | 151 'fav_icon_helper.cc', |
| 141 'find_in_page_controller.cc', | 152 'find_in_page_controller.cc', |
| 142 'find_in_page_view.cc', | 153 'find_in_page_view.cc', |
| 143 'firefox2_importer.cc', | 154 'firefox2_importer.cc', |
| 144 'firefox3_importer.cc', | 155 'firefox3_importer.cc', |
| 145 'firefox_importer_utils.cc', | 156 'firefox_importer_utils.cc', |
| 146 'firefox_profile_lock.cc', | 157 'firefox_profile_lock.cc', |
| 147 'first_run.cc', | 158 'first_run.cc', |
| 148 'frame_util.cc', | 159 'frame_util.cc', |
| 149 'frame_view.cc', | 160 'frame_view.cc', |
| 150 'gears_integration.cc', | 161 'gears_integration.cc', |
| 151 'google_url_tracker.cc', | |
| 152 'google_util.cc', | |
| 153 'hang_monitor/hung_plugin_action.cc', | 162 'hang_monitor/hung_plugin_action.cc', |
| 154 'hang_monitor/hung_window_detector.cc', | 163 'hang_monitor/hung_window_detector.cc', |
| 155 'history/archived_database.cc', | 164 'history/archived_database.cc', |
| 156 'history/download_database.cc', | 165 'history/download_database.cc', |
| 157 'history/expire_history_backend.cc', | 166 'history/expire_history_backend.cc', |
| 158 'history/history.cc', | 167 'history/history.cc', |
| 159 'history/history_backend.cc', | 168 'history/history_backend.cc', |
| 160 'history/history_database.cc', | 169 'history/history_database.cc', |
| 161 'history/history_types.cc', | 170 'history/history_types.cc', |
| 162 'history/in_memory_database.cc', | 171 'history/in_memory_database.cc', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 180 'ie7_password.cc', | 189 'ie7_password.cc', |
| 181 'ie_importer.cc', | 190 'ie_importer.cc', |
| 182 'ime_input.cc', | 191 'ime_input.cc', |
| 183 'importer.cc', | 192 'importer.cc', |
| 184 'ipc_status_view.cc', | 193 'ipc_status_view.cc', |
| 185 'jankometer.cc', | 194 'jankometer.cc', |
| 186 'js_before_unload_handler.cc', | 195 'js_before_unload_handler.cc', |
| 187 'jsmessage_box_handler.cc', | 196 'jsmessage_box_handler.cc', |
| 188 'login_prompt.cc', | 197 'login_prompt.cc', |
| 189 'memory_details.cc', | 198 'memory_details.cc', |
| 190 'meta_table_helper.cc', | |
| 191 'metrics_log.cc', | 199 'metrics_log.cc', |
| 192 'metrics_response.cc', | |
| 193 'metrics_service.cc', | 200 'metrics_service.cc', |
| 194 'modal_html_dialog_delegate.cc', | 201 'modal_html_dialog_delegate.cc', |
| 195 'mork_reader.cc', | 202 'mork_reader.cc', |
| 196 'native_ui_contents.cc', | 203 'native_ui_contents.cc', |
| 197 'navigation_controller.cc', | 204 'navigation_controller.cc', |
| 198 'navigation_entry.cc', | 205 'navigation_entry.cc', |
| 199 'net/dns_global.cc', | 206 'net/dns_global.cc', |
| 200 'net/dns_master.cc', | 207 'net/dns_master.cc', |
| 201 'net/dns_slave.cc', | 208 'net/dns_slave.cc', |
| 202 'network_status_view.cc', | 209 'network_status_view.cc', |
| 203 'google_update.cc', | 210 'google_update.cc', |
| 204 'page_info_window.cc', | 211 'page_info_window.cc', |
| 205 'page_state.cc', | |
| 206 'password_form_manager.cc', | 212 'password_form_manager.cc', |
| 207 'password_manager.cc', | 213 'password_manager.cc', |
| 208 'plugin_installer.cc', | 214 'plugin_installer.cc', |
| 209 'plugin_process_host.cc', | 215 'plugin_process_host.cc', |
| 210 'plugin_service.cc', | 216 'plugin_service.cc', |
| 211 'point_buffer.cc', | 217 'point_buffer.cc', |
| 212 'printing/page_number.cc', | |
| 213 'printing/page_overlays.cc', | 218 'printing/page_overlays.cc', |
| 214 'printing/page_range.cc', | |
| 215 'printing/print_job.cc', | 219 'printing/print_job.cc', |
| 216 'printing/print_job_manager.cc', | 220 'printing/print_job_manager.cc', |
| 217 'printing/print_job_worker.cc', | 221 'printing/print_job_worker.cc', |
| 218 'printing/print_settings.cc', | 222 'printing/print_settings.cc', |
| 219 'printing/print_view_manager.cc', | 223 'printing/print_view_manager.cc', |
| 220 'printing/printed_document.cc', | 224 'printing/printed_document.cc', |
| 221 'printing/printed_page.cc', | 225 'printing/printed_page.cc', |
| 222 'printing/printer_query.cc', | 226 'printing/printer_query.cc', |
| 223 'printing/win_printing_context.cc', | 227 'printing/win_printing_context.cc', |
| 224 'profile.cc', | 228 'profile.cc', |
| 225 'profile_manager.cc', | 229 'profile_manager.cc', |
| 226 'provisional_load_details.cc', | 230 'provisional_load_details.cc', |
| 227 'render_process_host.cc', | 231 'render_process_host.cc', |
| 228 'render_view_context_menu.cc', | 232 'render_view_context_menu.cc', |
| 229 'render_view_context_menu_controller.cc', | 233 'render_view_context_menu_controller.cc', |
| 230 'render_view_host.cc', | 234 'render_view_host.cc', |
| 231 'render_view_host_manager.cc', | 235 'render_view_host_manager.cc', |
| 232 'render_widget_helper.cc', | 236 'render_widget_helper.cc', |
| 233 'render_widget_host.cc', | 237 'render_widget_host.cc', |
| 234 'render_widget_host_hwnd.cc', | 238 'render_widget_host_hwnd.cc', |
| 235 'renderer_security_policy.cc', | |
| 236 'repost_Form_warning_dialog.cc', | 239 'repost_Form_warning_dialog.cc', |
| 237 'resource_dispatcher_host.cc', | 240 'resource_dispatcher_host.cc', |
| 238 'resource_message_filter.cc', | 241 'resource_message_filter.cc', |
| 239 'rlz/rlz.cc', | 242 'rlz/rlz.cc', |
| 240 'safe_browsing/protocol_manager.cc', | 243 'safe_browsing/protocol_manager.cc', |
| 241 'safe_browsing/safe_browsing_blocking_page.cc', | 244 'safe_browsing/safe_browsing_blocking_page.cc', |
| 242 'safe_browsing/safe_browsing_database.cc', | 245 'safe_browsing/safe_browsing_database.cc', |
| 243 'safe_browsing/safe_browsing_service.cc', | 246 'safe_browsing/safe_browsing_service.cc', |
| 244 'sandbox_policy.cc', | 247 'sandbox_policy.cc', |
| 245 'save_file.cc', | 248 'save_file.cc', |
| 246 'save_file_manager.cc', | 249 'save_file_manager.cc', |
| 247 'save_item.cc', | 250 'save_item.cc', |
| 248 'save_package.cc', | 251 'save_package.cc', |
| 249 'save_page_model.cc', | 252 'save_page_model.cc', |
| 250 'session_backend.cc', | 253 'session_backend.cc', |
| 251 'session_crashed_view.cc', | 254 'session_crashed_view.cc', |
| 252 'session_restore.cc', | 255 'session_restore.cc', |
| 253 'session_service.cc', | 256 'session_service.cc', |
| 254 'session_startup_pref.cc', | |
| 255 'shell_integration.cc', | 257 'shell_integration.cc', |
| 256 'simple_vista_frame.cc', | 258 'simple_vista_frame.cc', |
| 257 'simple_xp_frame.cc', | 259 'simple_xp_frame.cc', |
| 258 'site_instance.cc', | 260 'site_instance.cc', |
| 259 'spellcheck_worditerator.cc', | 261 'spellcheck_worditerator.cc', |
| 260 'spellchecker.cc', | 262 'spellchecker.cc', |
| 261 'ssl_blocking_page.cc', | 263 'ssl_blocking_page.cc', |
| 262 'ssl_error_info.cc', | 264 'ssl_error_info.cc', |
| 263 'ssl_manager.cc', | 265 'ssl_manager.cc', |
| 264 'ssl_policy.cc', | 266 'ssl_policy.cc', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 280 'task_manager.cc', | 282 'task_manager.cc', |
| 281 'task_manager_resource_providers.cc', | 283 'task_manager_resource_providers.cc', |
| 282 'template_url.cc', | 284 'template_url.cc', |
| 283 'template_url_fetcher.cc', | 285 'template_url_fetcher.cc', |
| 284 'template_url_model.cc', | 286 'template_url_model.cc', |
| 285 'template_url_parser.cc', | 287 'template_url_parser.cc', |
| 286 'template_url_prepopulate_data.cc', | 288 'template_url_prepopulate_data.cc', |
| 287 'title_chomper.cc', | 289 'title_chomper.cc', |
| 288 'toolbar_model.cc', | 290 'toolbar_model.cc', |
| 289 'url_fetcher.cc', | 291 'url_fetcher.cc', |
| 290 'url_fetcher_protect.cc', | |
| 291 'url_fixer_upper.cc', | 292 'url_fixer_upper.cc', |
| 292 'user_data_dir_dialog.cc', | 293 'user_data_dir_dialog.cc', |
| 293 'user_metrics.cc', | |
| 294 'view_source_contents.cc', | 294 'view_source_contents.cc', |
| 295 'visitedlink_master.cc', | 295 'visitedlink_master.cc', |
| 296 'vista_frame.cc', | 296 'vista_frame.cc', |
| 297 'web_app.cc', | 297 'web_app.cc', |
| 298 'web_app_icon_manager.cc', | 298 'web_app_icon_manager.cc', |
| 299 'web_app_launcher.cc', | 299 'web_app_launcher.cc', |
| 300 'web_contents.cc', | 300 'web_contents.cc', |
| 301 'web_drag_source.cc', | 301 'web_drag_source.cc', |
| 302 'web_drop_target.cc', | 302 'web_drop_target.cc', |
| 303 'webdata/web_data_service.cc', | 303 'webdata/web_data_service.cc', |
| 304 'webdata/web_database.cc', | 304 'webdata/web_database.cc', |
| 305 'window_clipping_info.cc', | 305 'window_clipping_info.cc', |
| 306 'window_sizer.cc', | 306 'window_sizer.cc', |
| 307 'wizard/wizard.cc', | 307 'wizard/wizard.cc', |
| 308 'xp_frame.cc', | 308 'xp_frame.cc', |
| 309 ]) | 309 ]) |
| 310 | 310 |
| 311 if env['PLATFORM'] in ('posix', 'win32'): | 311 if env['PLATFORM'] in ('posix', 'win32'): |
| 312 # TODO: This should work for all platforms. | 312 # TODO: This should work for all platforms. |
| 313 env.ChromeStaticLibrary('browser', input_files) | 313 env.ChromeStaticLibrary('browser', input_files) |
| 314 | 314 |
| 315 | 315 |
| 316 if env['PLATFORM'] == 'win32': | 316 if env['PLATFORM'] == 'win32': |
| 317 # TODO: Port this. | 317 # TODO: Port this. |
| 318 SConscript('debugger/SConscript', exports=['env']) | 318 SConscript('debugger/SConscript', exports=['env']) |
| 319 | 319 |
| OLD | NEW |