| 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 'automation/url_request_failed_dns_job.cc', |
| 64 'automation/url_request_mock_http_job.cc', |
| 65 'automation/url_request_mock_net_error_job.cc', |
| 66 'automation/url_request_slow_download_job.cc', |
| 63 'browser_process.cc', | 67 'browser_process.cc', |
| 64 'cancelable_request.cc', | 68 'cancelable_request.cc', |
| 65 'chrome_thread.cc', | 69 'chrome_thread.cc', |
| 66 'cross_site_request_manager.cc', | 70 'cross_site_request_manager.cc', |
| 67 'download/save_file.cc', | 71 'download/save_file.cc', |
| 68 'google_url_tracker.cc', | 72 'google_url_tracker.cc', |
| 69 'google_util.cc', | 73 'google_util.cc', |
| 70 'history/archived_database.cc', | 74 'history/archived_database.cc', |
| 71 'history/history_types.cc', | 75 'history/history_types.cc', |
| 72 'history/in_memory_database.cc', | 76 'history/in_memory_database.cc', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 85 'page_state.cc', | 89 'page_state.cc', |
| 86 'printing/page_number.cc', | 90 'printing/page_number.cc', |
| 87 'printing/page_setup.cc', | 91 'printing/page_setup.cc', |
| 88 'printing/page_range.cc', | 92 'printing/page_range.cc', |
| 89 'printing/units.cc', | 93 'printing/units.cc', |
| 90 'renderer_security_policy.cc', | 94 'renderer_security_policy.cc', |
| 91 'safe_browsing/bloom_filter.cc', | 95 'safe_browsing/bloom_filter.cc', |
| 92 'safe_browsing/chunk_range.cc', | 96 'safe_browsing/chunk_range.cc', |
| 93 'safe_browsing/protocol_parser.cc', | 97 'safe_browsing/protocol_parser.cc', |
| 94 'safe_browsing/safe_browsing_database.cc', | 98 'safe_browsing/safe_browsing_database.cc', |
| 99 'safe_browsing/safe_browsing_database_bloom.cc', |
| 100 'safe_browsing/safe_browsing_database_impl.cc', |
| 95 'safe_browsing/safe_browsing_service.cc', | 101 'safe_browsing/safe_browsing_service.cc', |
| 96 'safe_browsing/safe_browsing_util.cc', | 102 'safe_browsing/safe_browsing_util.cc', |
| 97 'session_startup_pref.cc', | 103 'session_startup_pref.cc', |
| 98 'url_fetcher_protect.cc', | 104 'url_fetcher_protect.cc', |
| 99 'user_metrics.cc', | 105 'user_metrics.cc', |
| 100 ]) | 106 ]) |
| 101 | 107 |
| 102 if env['PLATFORM'] == 'win32': | 108 if env['PLATFORM'] == 'win32': |
| 103 # TODO: Port these. | 109 # TODO: Port these. |
| 104 input_files.extend([ | 110 input_files.extend([ |
| 105 'about_internets_status_view.cc', | 111 'about_internets_status_view.cc', |
| 106 'alternate_nav_url_fetcher.cc', | 112 'alternate_nav_url_fetcher.cc', |
| 107 'app_modal_dialog_queue.cc', | 113 'app_modal_dialog_queue.cc', |
| 108 'autocomplete/autocomplete.cc', | 114 'autocomplete/autocomplete.cc', |
| 109 'autocomplete/autocomplete_edit.cc', | 115 'autocomplete/autocomplete_edit.cc', |
| 110 'autocomplete/autocomplete_popup.cc', | 116 'autocomplete/autocomplete_popup.cc', |
| 111 'autocomplete/edit_drop_target.cc', | 117 'autocomplete/edit_drop_target.cc', |
| 112 'autocomplete/history_contents_provider.cc', | 118 'autocomplete/history_contents_provider.cc', |
| 113 'autocomplete/history_url_provider.cc', | 119 'autocomplete/history_url_provider.cc', |
| 114 'autocomplete/keyword_provider.cc', | 120 'autocomplete/keyword_provider.cc', |
| 115 'autocomplete/search_provider.cc', | 121 'autocomplete/search_provider.cc', |
| 116 'automation/automation_provider.cc', | 122 'automation/automation_provider.cc', |
| 117 'automation/automation_provider_list.cc', | 123 'automation/automation_provider_list.cc', |
| 118 'automation/automation_resource_tracker.cc', | 124 'automation/automation_resource_tracker.cc', |
| 119 'automation/ui_controls.cc', | 125 'automation/ui_controls.cc', |
| 120 'automation/url_request_failed_dns_job.cc', | |
| 121 'automation/url_request_mock_http_job.cc', | |
| 122 'automation/url_request_mock_net_error_job.cc', | |
| 123 'automation/url_request_slow_download_job.cc', | |
| 124 'back_forward_menu_model.cc', | 126 'back_forward_menu_model.cc', |
| 125 'base_history_model.cc', | 127 'base_history_model.cc', |
| 126 'bookmark_bar_context_menu_controller.cc', | 128 'bookmark_bar_context_menu_controller.cc', |
| 127 'bookmarks/bookmark_codec.cc', | 129 'bookmarks/bookmark_codec.cc', |
| 128 'bookmarks/bookmark_drag_data.cc', | 130 'bookmarks/bookmark_drag_data.cc', |
| 129 'bookmarks/bookmark_model.cc', | 131 'bookmarks/bookmark_model.cc', |
| 130 'bookmarks/bookmark_storage.cc', | 132 'bookmarks/bookmark_storage.cc', |
| 131 'browser.cc', | 133 'browser.cc', |
| 132 'browser_about_handler.cc', | 134 'browser_about_handler.cc', |
| 133 'browser_accessibility.cc', | 135 'browser_accessibility.cc', |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 'render_view_host.cc', | 243 'render_view_host.cc', |
| 242 'render_view_host_manager.cc', | 244 'render_view_host_manager.cc', |
| 243 'render_widget_helper.cc', | 245 'render_widget_helper.cc', |
| 244 'render_widget_host.cc', | 246 'render_widget_host.cc', |
| 245 'repost_Form_warning_dialog.cc', | 247 'repost_Form_warning_dialog.cc', |
| 246 'resource_dispatcher_host.cc', | 248 'resource_dispatcher_host.cc', |
| 247 'resource_message_filter.cc', | 249 'resource_message_filter.cc', |
| 248 'rlz/rlz.cc', | 250 'rlz/rlz.cc', |
| 249 'safe_browsing/protocol_manager.cc', | 251 'safe_browsing/protocol_manager.cc', |
| 250 'safe_browsing/safe_browsing_blocking_page.cc', | 252 'safe_browsing/safe_browsing_blocking_page.cc', |
| 251 'safe_browsing/safe_browsing_database.cc', | |
| 252 'safe_browsing/safe_browsing_database_bloom.cc', | |
| 253 'safe_browsing/safe_browsing_database_impl.cc', | |
| 254 'safe_browsing/safe_browsing_service.cc', | 253 'safe_browsing/safe_browsing_service.cc', |
| 255 'sandbox_policy.cc', | 254 'sandbox_policy.cc', |
| 256 'session_backend.cc', | 255 'session_backend.cc', |
| 257 'session_crashed_view.cc', | 256 'session_crashed_view.cc', |
| 258 'session_restore.cc', | 257 'session_restore.cc', |
| 259 'session_service.cc', | 258 'session_service.cc', |
| 260 'shell_integration.cc', | 259 'shell_integration.cc', |
| 261 'site_instance.cc', | 260 'site_instance.cc', |
| 262 'spellcheck_worditerator.cc', | 261 'spellcheck_worditerator.cc', |
| 263 'spellchecker.cc', | 262 'spellchecker.cc', |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 303 |
| 305 if env['PLATFORM'] in ('posix', 'win32'): | 304 if env['PLATFORM'] in ('posix', 'win32'): |
| 306 # TODO: This should work for all platforms. | 305 # TODO: This should work for all platforms. |
| 307 env.ChromeStaticLibrary('browser', input_files) | 306 env.ChromeStaticLibrary('browser', input_files) |
| 308 | 307 |
| 309 | 308 |
| 310 if env['PLATFORM'] == 'win32': | 309 if env['PLATFORM'] == 'win32': |
| 311 # TODO: Port this. | 310 # TODO: Port this. |
| 312 SConscript('debugger/SConscript', exports=['env']) | 311 SConscript('debugger/SConscript', exports=['env']) |
| 313 | 312 |
| OLD | NEW |