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 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons', | 10 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons', |
(...skipping 24 matching lines...) Expand all Loading... |
35 CPPPATH = [ | 35 CPPPATH = [ |
36 '$CHROME_DIR/tools/build/win', | 36 '$CHROME_DIR/tools/build/win', |
37 ], | 37 ], |
38 ) | 38 ) |
39 | 39 |
40 input_files = [] | 40 input_files = [] |
41 | 41 |
42 if env['PLATFORM'] in ('posix', 'win32'): | 42 if env['PLATFORM'] in ('posix', 'win32'): |
43 # TODO: Port to Mac. | 43 # TODO: Port to Mac. |
44 input_files.extend([ | 44 input_files.extend([ |
| 45 'autocomplete/keyword_provider.cc', |
45 'automation/url_request_failed_dns_job.cc', | 46 'automation/url_request_failed_dns_job.cc', |
46 'automation/url_request_mock_http_job.cc', | 47 'automation/url_request_mock_http_job.cc', |
47 'automation/url_request_mock_net_error_job.cc', | 48 'automation/url_request_mock_net_error_job.cc', |
48 'automation/url_request_slow_download_job.cc', | 49 'automation/url_request_slow_download_job.cc', |
| 50 'bookmarks/bookmark_codec.cc', |
| 51 'bookmarks/bookmark_html_writer.cc', |
49 'browser_process.cc', | 52 'browser_process.cc', |
| 53 'browser_trial.cc', |
50 'cancelable_request.cc', | 54 'cancelable_request.cc', |
51 'chrome_thread.cc', | 55 'chrome_thread.cc', |
52 'cross_site_request_manager.cc', | 56 'cross_site_request_manager.cc', |
53 'download/save_file.cc', | 57 'download/save_file.cc', |
54 'extensions/extension.cc', | 58 'extensions/extension.cc', |
55 'extensions/extensions_service.cc', | 59 'extensions/extensions_service.cc', |
56 'google_url_tracker.cc', | 60 'google_url_tracker.cc', |
57 'google_util.cc', | 61 'google_util.cc', |
| 62 'greasemonkey_master.cc', |
58 'history/archived_database.cc', | 63 'history/archived_database.cc', |
59 'history/download_database.cc', | 64 'history/download_database.cc', |
60 'history/expire_history_backend.cc', | 65 'history/expire_history_backend.cc', |
61 'history/history_backend.cc', | 66 'history/history_backend.cc', |
62 'history/history_database.cc', | 67 'history/history_database.cc', |
63 'history/history_types.cc', | 68 'history/history_types.cc', |
64 'history/in_memory_database.cc', | 69 'history/in_memory_database.cc', |
65 'history/in_memory_history_backend.cc', | 70 'history/in_memory_history_backend.cc', |
66 'history/page_usage_data.cc', | 71 'history/page_usage_data.cc', |
67 'history/snippet.cc', | 72 'history/snippet.cc', |
68 'history/text_database.cc', | 73 'history/text_database.cc', |
69 'history/text_database_manager.cc', | 74 'history/text_database_manager.cc', |
70 'history/thumbnail_database.cc', | 75 'history/thumbnail_database.cc', |
71 'history/query_parser.cc', | 76 'history/query_parser.cc', |
72 'history/starred_url_database.cc', | 77 'history/starred_url_database.cc', |
73 'history/url_database.cc', | 78 'history/url_database.cc', |
74 'history/visit_database.cc', | 79 'history/visit_database.cc', |
75 'history/visit_tracker.cc', | 80 'history/visit_tracker.cc', |
76 'history/visitsegment_database.cc', | 81 'history/visitsegment_database.cc', |
| 82 'history_model.cc', |
| 83 'importer/firefox2_importer.cc', |
| 84 'importer/firefox3_importer.cc', |
| 85 'importer/firefox_profile_lock.cc', |
| 86 'importer/firefox_profile_lock_posix.cc', |
| 87 'importer/mork_reader.cc', |
77 'meta_table_helper.cc', | 88 'meta_table_helper.cc', |
| 89 'metrics_log.cc', |
78 'metrics_response.cc', | 90 'metrics_response.cc', |
79 'net/dns_host_info.cc', | 91 'net/dns_host_info.cc', |
80 'net/referrer.cc', | 92 'net/referrer.cc', |
81 'net/sdch_dictionary_fetcher.cc', | 93 'net/sdch_dictionary_fetcher.cc', |
82 'page_state.cc', | 94 'page_state.cc', |
83 'printing/page_number.cc', | 95 'printing/page_number.cc', |
84 'printing/page_range.cc', | 96 'printing/page_range.cc', |
85 'printing/page_setup.cc', | 97 'printing/page_setup.cc', |
86 'printing/units.cc', | 98 'printing/units.cc', |
87 'renderer_security_policy.cc', | 99 'renderer_security_policy.cc', |
(...skipping 19 matching lines...) Expand all Loading... |
107 'about_internets_status_view.cc', | 119 'about_internets_status_view.cc', |
108 'alternate_nav_url_fetcher.cc', | 120 'alternate_nav_url_fetcher.cc', |
109 'app_modal_dialog_queue.cc', | 121 'app_modal_dialog_queue.cc', |
110 'autocomplete/autocomplete.cc', | 122 'autocomplete/autocomplete.cc', |
111 'autocomplete/autocomplete_accessibility.cc', | 123 'autocomplete/autocomplete_accessibility.cc', |
112 'autocomplete/autocomplete_edit.cc', | 124 'autocomplete/autocomplete_edit.cc', |
113 'autocomplete/autocomplete_popup.cc', | 125 'autocomplete/autocomplete_popup.cc', |
114 'autocomplete/edit_drop_target.cc', | 126 'autocomplete/edit_drop_target.cc', |
115 'autocomplete/history_contents_provider.cc', | 127 'autocomplete/history_contents_provider.cc', |
116 'autocomplete/history_url_provider.cc', | 128 'autocomplete/history_url_provider.cc', |
117 'autocomplete/keyword_provider.cc', | |
118 'autocomplete/search_provider.cc', | 129 'autocomplete/search_provider.cc', |
119 'automation/automation_provider.cc', | 130 'automation/automation_provider.cc', |
120 'automation/automation_provider_list.cc', | 131 'automation/automation_provider_list.cc', |
121 'automation/automation_resource_tracker.cc', | 132 'automation/automation_resource_tracker.cc', |
122 'automation/ui_controls.cc', | 133 'automation/ui_controls.cc', |
123 'back_forward_menu_model.cc', | 134 'back_forward_menu_model.cc', |
124 'base_history_model.cc', | 135 'base_history_model.cc', |
125 'bookmarks/bookmark_codec.cc', | |
126 'bookmarks/bookmark_context_menu.cc', | 136 'bookmarks/bookmark_context_menu.cc', |
127 'bookmarks/bookmark_drag_data.cc', | 137 'bookmarks/bookmark_drag_data.cc', |
128 'bookmarks/bookmark_drop_info.cc', | 138 'bookmarks/bookmark_drop_info.cc', |
129 'bookmarks/bookmark_folder_tree_model.cc', | 139 'bookmarks/bookmark_folder_tree_model.cc', |
130 'bookmarks/bookmark_html_writer.cc', | |
131 'bookmarks/bookmark_model.cc', | 140 'bookmarks/bookmark_model.cc', |
132 'bookmarks/bookmark_storage.cc', | 141 'bookmarks/bookmark_storage.cc', |
133 'bookmarks/bookmark_table_model.cc', | 142 'bookmarks/bookmark_table_model.cc', |
134 'bookmarks/bookmark_utils.cc', | 143 'bookmarks/bookmark_utils.cc', |
135 'browser.cc', | 144 'browser.cc', |
136 'browser_about_handler.cc', | 145 'browser_about_handler.cc', |
137 'browser_accessibility.cc', | 146 'browser_accessibility.cc', |
138 'browser_accessibility_manager.cc', | 147 'browser_accessibility_manager.cc', |
139 'browser_init.cc', | 148 'browser_init.cc', |
140 'browser_list.cc', | 149 'browser_list.cc', |
141 'browser_main.cc', | 150 'browser_main.cc', |
142 'browser_prefs.cc', | 151 'browser_prefs.cc', |
143 'browser_process_impl.cc', | 152 'browser_process_impl.cc', |
144 'browser_shutdown.cc', | 153 'browser_shutdown.cc', |
145 'browser_trial.cc', | |
146 'browser_url_handler.cc', | 154 'browser_url_handler.cc', |
147 'browsing_data_remover.cc', | 155 'browsing_data_remover.cc', |
148 'browsing_instance.cc', | 156 'browsing_instance.cc', |
149 'cache_manager_host.cc', | 157 'cache_manager_host.cc', |
150 'cert_store.cc', | 158 'cert_store.cc', |
151 'character_encoding.cc', | 159 'character_encoding.cc', |
152 'chrome_plugin_browsing_context.cc', | 160 'chrome_plugin_browsing_context.cc', |
153 'chrome_plugin_host.cc', | 161 'chrome_plugin_host.cc', |
154 'controller.cc', | 162 'controller.cc', |
155 'dock_info.cc', | 163 'dock_info.cc', |
(...skipping 12 matching lines...) Expand all Loading... |
168 'download/save_package.cc', | 176 'download/save_package.cc', |
169 'download/save_page_model.cc', | 177 'download/save_page_model.cc', |
170 'drag_utils.cc', | 178 'drag_utils.cc', |
171 'encoding_menu_controller_delegate.cc', | 179 'encoding_menu_controller_delegate.cc', |
172 'encryptor.cc', | 180 'encryptor.cc', |
173 'external_protocol_handler.cc', | 181 'external_protocol_handler.cc', |
174 'external_tab_container.cc', | 182 'external_tab_container.cc', |
175 'fav_icon_helper.cc', | 183 'fav_icon_helper.cc', |
176 'first_run.cc', | 184 'first_run.cc', |
177 'gears_integration.cc', | 185 'gears_integration.cc', |
178 'greasemonkey_master.cc', | |
179 'hang_monitor/hung_plugin_action.cc', | 186 'hang_monitor/hung_plugin_action.cc', |
180 'hang_monitor/hung_window_detector.cc', | 187 'hang_monitor/hung_window_detector.cc', |
181 'history/history.cc', | 188 'history/history.cc', |
182 'history/history_publisher.cc', | 189 'history/history_publisher.cc', |
183 'history_model.cc', | |
184 'history_tab_ui.cc', | 190 'history_tab_ui.cc', |
185 'history_view.cc', | 191 'history_view.cc', |
186 'icon_loader.cc', | 192 'icon_loader.cc', |
187 'icon_manager.cc', | 193 'icon_manager.cc', |
188 'ie7_password.cc', | 194 'ie7_password.cc', |
189 'ime_input.cc', | 195 'ime_input.cc', |
190 'importer/firefox2_importer.cc', | |
191 'importer/firefox_importer_utils.cc', | 196 'importer/firefox_importer_utils.cc', |
192 'importer/firefox_profile_lock.cc', | |
193 'importer/firefox3_importer.cc', | |
194 'importer/ie_importer.cc', | 197 'importer/ie_importer.cc', |
195 'importer/importer.cc', | 198 'importer/importer.cc', |
196 'importer/mork_reader.cc', | |
197 'importer/toolbar_importer.cc', | 199 'importer/toolbar_importer.cc', |
198 'infobar_delegate.cc', | 200 'infobar_delegate.cc', |
199 'interstitial_page.cc', | 201 'interstitial_page.cc', |
200 'ipc_status_view.cc', | 202 'ipc_status_view.cc', |
201 'jankometer.cc', | 203 'jankometer.cc', |
202 'js_before_unload_handler.cc', | 204 'js_before_unload_handler.cc', |
203 'jsmessage_box_handler.cc', | 205 'jsmessage_box_handler.cc', |
204 'login_prompt.cc', | 206 'login_prompt.cc', |
205 'memory_details.cc', | 207 'memory_details.cc', |
206 'metrics_log.cc', | |
207 'metrics_service.cc', | 208 'metrics_service.cc', |
208 'modal_html_dialog_delegate.cc', | 209 'modal_html_dialog_delegate.cc', |
209 'native_ui_contents.cc', | 210 'native_ui_contents.cc', |
210 'navigation_controller.cc', | 211 'navigation_controller.cc', |
211 'navigation_entry.cc', | 212 'navigation_entry.cc', |
212 'net/dns_global.cc', | 213 'net/dns_global.cc', |
213 'net/dns_master.cc', | 214 'net/dns_master.cc', |
214 'net/dns_slave.cc', | 215 'net/dns_slave.cc', |
215 'network_status_view.cc', | 216 'network_status_view.cc', |
216 'google_update.cc', | 217 'google_update.cc', |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 297 |
297 input_files.extend([ | 298 input_files.extend([ |
298 'web_contents_view_win.cc', | 299 'web_contents_view_win.cc', |
299 'render_widget_host_view_win.cc', | 300 'render_widget_host_view_win.cc', |
300 ]) | 301 ]) |
301 | 302 |
302 | 303 |
303 if env['PLATFORM'] in ('posix', 'win32'): | 304 if env['PLATFORM'] in ('posix', 'win32'): |
304 # TODO: This should work for all platforms. | 305 # TODO: This should work for all platforms. |
305 env.ChromeStaticLibrary('browser', input_files) | 306 env.ChromeStaticLibrary('browser', input_files) |
OLD | NEW |