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

Side by Side Diff: chrome/browser/SConscript

Issue 2890: Include chrome/browser/SConscript in Linux build.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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/SConscript ('k') | chrome/browser/net/dns_host_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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(
11 CPPPATH = [ 11 CPPPATH = [
12 '$CHROME_DIR/app/resources', 12 '$CHROME_DIR/app/resources',
13 #'$OBJ_ROOT/google_update', 13 #'$OBJ_ROOT/google_update',
14 '#/tools/build/win', 14 '#/tools/build/win',
15 '#/..', 15 '#/..',
16 ], 16 ],
17 CPPDEFINES = [ 17 CPPDEFINES = [
18 'U_STATIC_IMPLEMENTATION', 18 'U_STATIC_IMPLEMENTATION',
19 'USE_HUNSPELL', 19 'USE_HUNSPELL',
20 'HUNSPELL_CHROME_CLIENT', 20 'HUNSPELL_CHROME_CLIENT',
21 'LIBXML_STATIC', 21 'LIBXML_STATIC',
22 'PNG_USER_CONFIG', 22 'PNG_USER_CONFIG',
23 'CHROME_PNG_WRITE_SUPPORT', 23 'CHROME_PNG_WRITE_SUPPORT',
24 'GOOGLE_CHROME_BUILD', 24 'GOOGLE_CHROME_BUILD',
25 ], 25 ],
26 CCFLAGS = [
27 '/TP',
28 ],
29 ) 26 )
30 27
28 if env['PLATFORM'] == 'win32':
29 env.Prepend(
30 CCFLAGS = [
31 '/TP',
32 ],
33 )
34
31 env.Append( 35 env.Append(
32 CPPPATH = [ 36 CPPPATH = [
33 '$GTEST_DIR/include', 37 '$GTEST_DIR/include',
34 38
35 '$GOOGLE_UPDATE_DIR', 39 '$GOOGLE_UPDATE_DIR',
36 '$CHROME_DIR/third_party/hunspell/src/hunspell', 40 '$CHROME_DIR/third_party/hunspell/src/hunspell',
37 '$CHROME_DIR/third_party/wtl/include', 41 '$CHROME_DIR/third_party/wtl/include',
38 '$NPAPI_DIR', 42 '$NPAPI_DIR',
39 '$LIBXML_DIR/scons/include', 43 '$LIBXML_DIR/scons/include',
40 '$LIBXML_DIR/include', 44 '$LIBXML_DIR/include',
41 '$ICU38_DIR/public/common', 45 '$ICU38_DIR/public/common',
42 '$ICU38_DIR/public/i18n', 46 '$ICU38_DIR/public/i18n',
43 '$CHROME_DIR/app', 47 '$CHROME_DIR/app',
44 '$WEBKIT_DIR/build/localized_strings', 48 '$WEBKIT_DIR/build/localized_strings',
45 '$ZLIB_DIR', 49 '$ZLIB_DIR',
46 '$SKIA_DIR/include', 50 '$SKIA_DIR/include',
47 '$SKIA_DIR/include/corecg', 51 '$SKIA_DIR/include/corecg',
48 '$SKIA_DIR/platform', 52 '$SKIA_DIR/platform',
49 '$LIBPNG_DIR', 53 '$LIBPNG_DIR',
50 '$BREAKPAD_DIR/src', 54 '$BREAKPAD_DIR/src',
51 ], 55 ],
52 ) 56 )
53 57
54 input_files = [ 58 input_files = []
55 'about_internets_status_view.cc', 59
56 'alternate_nav_url_fetcher.cc', 60 if env['PLATFORM'] in ('posix', 'win32'):
57 'app_modal_dialog_queue.cc', 61 # TODO: Port to Mac.
58 'autocomplete/autocomplete.cc', 62 input_files.extend([
59 'autocomplete/autocomplete_edit.cc', 63 'printing/page_setup.cc',
60 'autocomplete/autocomplete_popup.cc', 64 'printing/units.cc',
61 'autocomplete/edit_drop_target.cc', 65 'net/dns_host_info.cc',
62 'autocomplete/history_contents_provider.cc', 66 'safe_browsing/bloom_filter.cc',
63 'autocomplete/history_url_provider.cc', 67 'safe_browsing/chunk_range.cc',
64 'autocomplete/keyword_provider.cc', 68 'safe_browsing/protocol_parser.cc',
65 'autocomplete/search_provider.cc', 69 'safe_browsing/safe_browsing_util.cc',
66 'automation/automation_provider.cc', 70 ])
67 'automation/automation_provider_list.cc', 71
68 'automation/automation_resource_tracker.cc', 72 if env['PLATFORM'] == 'win32':
69 'automation/ui_controls.cc', 73 # TODO: Port these.
70 'automation/url_request_failed_dns_job.cc', 74 input_files.extend([
71 'automation/url_request_mock_http_job.cc', 75 'about_internets_status_view.cc',
72 'automation/url_request_mock_net_error_job.cc', 76 'alternate_nav_url_fetcher.cc',
73 'automation/url_request_slow_download_job.cc', 77 'app_modal_dialog_queue.cc',
74 'back_forward_menu_model.cc', 78 'autocomplete/autocomplete.cc',
75 'base_history_model.cc', 79 'autocomplete/autocomplete_edit.cc',
76 'bookmark_bar_context_menu_controller.cc', 80 'autocomplete/autocomplete_popup.cc',
77 'bookmarks/bookmark_bar_model.cc', 81 'autocomplete/edit_drop_target.cc',
78 'bookmarks/bookmark_codec.cc', 82 'autocomplete/history_contents_provider.cc',
79 'bookmarks/bookmark_storage.cc', 83 'autocomplete/history_url_provider.cc',
80 'bookmarks/bookmark_drag_data.cc', 84 'autocomplete/keyword_provider.cc',
81 'browser.cc', 85 'autocomplete/search_provider.cc',
82 'browser_about_handler.cc', 86 'automation/automation_provider.cc',
83 'browser_commands.cc', 87 'automation/automation_provider_list.cc',
84 'browser_init.cc', 88 'automation/automation_resource_tracker.cc',
85 'browser_list.cc', 89 'automation/ui_controls.cc',
86 'browser_main.cc', 90 'automation/url_request_failed_dns_job.cc',
87 'browser_prefs.cc', 91 'automation/url_request_mock_http_job.cc',
88 'browser_process.cc', 92 'automation/url_request_mock_net_error_job.cc',
89 'browser_process_impl.cc', 93 'automation/url_request_slow_download_job.cc',
90 'browser_shutdown.cc', 94 'back_forward_menu_model.cc',
91 'browser_url_handler.cc', 95 'base_history_model.cc',
92 'browser_window.cc', 96 'bookmark_bar_context_menu_controller.cc',
93 'browsing_data_remover.cc', 97 'bookmarks/bookmark_bar_model.cc',
94 'browsing_instance.cc', 98 'bookmarks/bookmark_codec.cc',
95 'cache_manager_host.cc', 99 'bookmarks/bookmark_storage.cc',
96 'cancelable_request.cc', 100 'bookmarks/bookmark_drag_data.cc',
97 'cert_store.cc', 101 'browser.cc',
98 'character_encoding.cc', 102 'browser_about_handler.cc',
99 'chrome_plugin_browsing_context.cc', 103 'browser_commands.cc',
100 'chrome_plugin_host.cc', 104 'browser_init.cc',
101 'chrome_thread.cc', 105 'browser_list.cc',
102 'controller.cc', 106 'browser_main.cc',
103 'cross_site_request_manager.cc', 107 'browser_prefs.cc',
104 'dom_ui/chrome_url_data_manager.cc', 108 'browser_process.cc',
105 'dom_ui/dom_ui_host.cc', 109 'browser_process_impl.cc',
106 'dom_ui/html_dialog_contents.cc', 110 'browser_shutdown.cc',
107 'dom_ui/new_tab_ui.cc', 111 'browser_url_handler.cc',
108 'download_exe.cc', 112 'browser_window.cc',
109 'download_file.cc', 113 'browsing_data_remover.cc',
110 'download_item_model.cc', 114 'browsing_instance.cc',
111 'download_manager.cc', 115 'cache_manager_host.cc',
112 'download_tab_view.cc', 116 'cancelable_request.cc',
113 'download_util.cc', 117 'cert_store.cc',
114 'drag_utils.cc', 118 'character_encoding.cc',
115 'encoding_menu_controller_delegate.cc', 119 'chrome_plugin_browsing_context.cc',
116 'encryptor.cc', 120 'chrome_plugin_host.cc',
117 'external_protocol_dialog.cc', 121 'chrome_thread.cc',
118 'external_protocol_handler.cc', 122 'controller.cc',
119 'external_tab_container.cc', 123 'cross_site_request_manager.cc',
120 'fav_icon_helper.cc', 124 'dom_ui/chrome_url_data_manager.cc',
121 'find_in_page_controller.cc', 125 'dom_ui/dom_ui_host.cc',
122 'find_in_page_view.cc', 126 'dom_ui/html_dialog_contents.cc',
123 'firefox2_importer.cc', 127 'dom_ui/new_tab_ui.cc',
124 'firefox3_importer.cc', 128 'download_exe.cc',
125 'firefox_importer_utils.cc', 129 'download_file.cc',
126 'firefox_profile_lock.cc', 130 'download_item_model.cc',
127 'first_run.cc', 131 'download_manager.cc',
128 'frame_util.cc', 132 'download_tab_view.cc',
129 'frame_view.cc', 133 'download_util.cc',
130 'gears_integration.cc', 134 'drag_utils.cc',
131 'google_url_tracker.cc', 135 'encoding_menu_controller_delegate.cc',
132 'google_util.cc', 136 'encryptor.cc',
133 'hang_monitor/hung_plugin_action.cc', 137 'external_protocol_dialog.cc',
134 'hang_monitor/hung_window_detector.cc', 138 'external_protocol_handler.cc',
135 'history/archived_database.cc', 139 'external_tab_container.cc',
136 'history/download_database.cc', 140 'fav_icon_helper.cc',
137 'history/expire_history_backend.cc', 141 'find_in_page_controller.cc',
138 'history/history.cc', 142 'find_in_page_view.cc',
139 'history/history_backend.cc', 143 'firefox2_importer.cc',
140 'history/history_database.cc', 144 'firefox3_importer.cc',
141 'history/history_types.cc', 145 'firefox_importer_utils.cc',
142 'history/in_memory_database.cc', 146 'firefox_profile_lock.cc',
143 'history/in_memory_history_backend.cc', 147 'first_run.cc',
144 'history/page_usage_data.cc', 148 'frame_util.cc',
145 'history/query_parser.cc', 149 'frame_view.cc',
146 'history/snippet.cc', 150 'gears_integration.cc',
147 'history/starred_url_database.cc', 151 'google_url_tracker.cc',
148 'history/text_database.cc', 152 'google_util.cc',
149 'history/text_database_manager.cc', 153 'hang_monitor/hung_plugin_action.cc',
150 'history/thumbnail_database.cc', 154 'hang_monitor/hung_window_detector.cc',
151 'history/url_database.cc', 155 'history/archived_database.cc',
152 'history/visit_database.cc', 156 'history/download_database.cc',
153 'history/visit_tracker.cc', 157 'history/expire_history_backend.cc',
154 'history/visitsegment_database.cc', 158 'history/history.cc',
155 'history_model.cc', 159 'history/history_backend.cc',
156 'history_tab_ui.cc', 160 'history/history_database.cc',
157 'history_view.cc', 161 'history/history_types.cc',
158 'icon_loader.cc', 162 'history/in_memory_database.cc',
159 'icon_manager.cc', 163 'history/in_memory_history_backend.cc',
160 'ie7_password.cc', 164 'history/page_usage_data.cc',
161 'ie_importer.cc', 165 'history/query_parser.cc',
162 'ime_input.cc', 166 'history/snippet.cc',
163 'importer.cc', 167 'history/starred_url_database.cc',
164 'ipc_status_view.cc', 168 'history/text_database.cc',
165 'jankometer.cc', 169 'history/text_database_manager.cc',
166 'js_before_unload_handler.cc', 170 'history/thumbnail_database.cc',
167 'jsmessage_box_handler.cc', 171 'history/url_database.cc',
168 'login_prompt.cc', 172 'history/visit_database.cc',
169 'memory_details.cc', 173 'history/visit_tracker.cc',
170 'meta_table_helper.cc', 174 'history/visitsegment_database.cc',
171 'metrics_log.cc', 175 'history_model.cc',
172 'metrics_response.cc', 176 'history_tab_ui.cc',
173 'metrics_service.cc', 177 'history_view.cc',
174 'modal_html_dialog_delegate.cc', 178 'icon_loader.cc',
175 'mork_reader.cc', 179 'icon_manager.cc',
176 'native_ui_contents.cc', 180 'ie7_password.cc',
177 'navigation_controller.cc', 181 'ie_importer.cc',
178 'navigation_entry.cc', 182 'ime_input.cc',
179 'net/dns_global.cc', 183 'importer.cc',
180 'net/dns_host_info.cc', 184 'ipc_status_view.cc',
181 'net/dns_master.cc', 185 'jankometer.cc',
182 'net/dns_slave.cc', 186 'js_before_unload_handler.cc',
183 'network_status_view.cc', 187 'jsmessage_box_handler.cc',
184 'google_update.cc', 188 'login_prompt.cc',
185 'page_info_window.cc', 189 'memory_details.cc',
186 'page_state.cc', 190 'meta_table_helper.cc',
187 'password_form_manager.cc', 191 'metrics_log.cc',
188 'password_manager.cc', 192 'metrics_response.cc',
189 'plugin_installer.cc', 193 'metrics_service.cc',
190 'plugin_process_host.cc', 194 'modal_html_dialog_delegate.cc',
191 'plugin_service.cc', 195 'mork_reader.cc',
192 'point_buffer.cc', 196 'native_ui_contents.cc',
193 'printing/page_number.cc', 197 'navigation_controller.cc',
194 'printing/page_overlays.cc', 198 'navigation_entry.cc',
195 'printing/page_range.cc', 199 'net/dns_global.cc',
196 'printing/page_setup.cc', 200 'net/dns_master.cc',
197 'printing/print_job.cc', 201 'net/dns_slave.cc',
198 'printing/print_job_manager.cc', 202 'network_status_view.cc',
199 'printing/print_job_worker.cc', 203 'google_update.cc',
200 'printing/print_settings.cc', 204 'page_info_window.cc',
201 'printing/print_view_manager.cc', 205 'page_state.cc',
202 'printing/printed_document.cc', 206 'password_form_manager.cc',
203 'printing/printed_page.cc', 207 'password_manager.cc',
204 'printing/printer_query.cc', 208 'plugin_installer.cc',
205 'printing/units.cc', 209 'plugin_process_host.cc',
206 'printing/win_printing_context.cc', 210 'plugin_service.cc',
207 'profile.cc', 211 'point_buffer.cc',
208 'profile_manager.cc', 212 'printing/page_number.cc',
209 'provisional_load_details.cc', 213 'printing/page_overlays.cc',
210 'render_process_host.cc', 214 'printing/page_range.cc',
211 'render_view_context_menu.cc', 215 'printing/print_job.cc',
212 'render_view_context_menu_controller.cc', 216 'printing/print_job_manager.cc',
213 'render_view_host.cc', 217 'printing/print_job_worker.cc',
214 'render_view_host_manager.cc', 218 'printing/print_settings.cc',
215 'render_widget_helper.cc', 219 'printing/print_view_manager.cc',
216 'render_widget_host.cc', 220 'printing/printed_document.cc',
217 'render_widget_host_hwnd.cc', 221 'printing/printed_page.cc',
218 'renderer_security_policy.cc', 222 'printing/printer_query.cc',
219 'repost_Form_warning_dialog.cc', 223 'printing/win_printing_context.cc',
220 'resource_dispatcher_host.cc', 224 'profile.cc',
221 'resource_message_filter.cc', 225 'profile_manager.cc',
222 'rlz/rlz.cc', 226 'provisional_load_details.cc',
223 'safe_browsing/bloom_filter.cc', 227 'render_process_host.cc',
224 'safe_browsing/chunk_range.cc', 228 'render_view_context_menu.cc',
225 'safe_browsing/protocol_manager.cc', 229 'render_view_context_menu_controller.cc',
226 'safe_browsing/protocol_parser.cc', 230 'render_view_host.cc',
227 'safe_browsing/safe_browsing_blocking_page.cc', 231 'render_view_host_manager.cc',
228 'safe_browsing/safe_browsing_database.cc', 232 'render_widget_helper.cc',
229 'safe_browsing/safe_browsing_service.cc', 233 'render_widget_host.cc',
230 'safe_browsing/safe_browsing_util.cc', 234 'render_widget_host_hwnd.cc',
231 'sandbox_policy.cc', 235 'renderer_security_policy.cc',
232 'save_file.cc', 236 'repost_Form_warning_dialog.cc',
233 'save_file_manager.cc', 237 'resource_dispatcher_host.cc',
234 'save_item.cc', 238 'resource_message_filter.cc',
235 'save_package.cc', 239 'rlz/rlz.cc',
236 'save_page_model.cc', 240 'safe_browsing/protocol_manager.cc',
237 'session_backend.cc', 241 'safe_browsing/safe_browsing_blocking_page.cc',
238 'session_crashed_view.cc', 242 'safe_browsing/safe_browsing_database.cc',
239 'session_restore.cc', 243 'safe_browsing/safe_browsing_service.cc',
240 'session_service.cc', 244 'sandbox_policy.cc',
241 'session_startup_pref.cc', 245 'save_file.cc',
242 'shell_integration.cc', 246 'save_file_manager.cc',
243 'simple_vista_frame.cc', 247 'save_item.cc',
244 'simple_xp_frame.cc', 248 'save_package.cc',
245 'site_instance.cc', 249 'save_page_model.cc',
246 'spellcheck_worditerator.cc', 250 'session_backend.cc',
247 'spellchecker.cc', 251 'session_crashed_view.cc',
248 'ssl_blocking_page.cc', 252 'session_restore.cc',
249 'ssl_error_info.cc', 253 'session_service.cc',
250 'ssl_manager.cc', 254 'session_startup_pref.cc',
251 'ssl_policy.cc', 255 'shell_integration.cc',
252 'status_view.cc', 256 'simple_vista_frame.cc',
253 'suspend_controller.cc', 257 'simple_xp_frame.cc',
254 'tab_contents.cc', 258 'site_instance.cc',
255 'tab_contents_container_view.cc', 259 'spellcheck_worditerator.cc',
256 'tab_contents_factory.cc', 260 'spellchecker.cc',
257 'tab_restore_service.cc', 261 'ssl_blocking_page.cc',
258 'tab_util.cc', 262 'ssl_error_info.cc',
259 'tabs/dragged_tab_controller.cc', 263 'ssl_manager.cc',
260 'tabs/dragged_tab_view.cc', 264 'ssl_policy.cc',
261 'tabs/hwnd_photobooth.cc', 265 'status_view.cc',
262 'tabs/tab.cc', 266 'suspend_controller.cc',
263 'tabs/tab_renderer.cc', 267 'tab_contents.cc',
264 'tabs/tab_strip.cc', 268 'tab_contents_container_view.cc',
265 'tabs/tab_strip_model.cc', 269 'tab_contents_factory.cc',
266 'tabs/tab_strip_model_order_controller.cc', 270 'tab_restore_service.cc',
267 'task_manager.cc', 271 'tab_util.cc',
268 'task_manager_resource_providers.cc', 272 'tabs/dragged_tab_controller.cc',
269 'template_url.cc', 273 'tabs/dragged_tab_view.cc',
270 'template_url_fetcher.cc', 274 'tabs/hwnd_photobooth.cc',
271 'template_url_model.cc', 275 'tabs/tab.cc',
272 'template_url_parser.cc', 276 'tabs/tab_renderer.cc',
273 'template_url_prepopulate_data.cc', 277 'tabs/tab_strip.cc',
274 'title_chomper.cc', 278 'tabs/tab_strip_model.cc',
275 'toolbar_model.cc', 279 'tabs/tab_strip_model_order_controller.cc',
276 'url_fetcher.cc', 280 'task_manager.cc',
277 'url_fetcher_protect.cc', 281 'task_manager_resource_providers.cc',
278 'url_fixer_upper.cc', 282 'template_url.cc',
279 'user_data_dir_dialog.cc', 283 'template_url_fetcher.cc',
280 'user_metrics.cc', 284 'template_url_model.cc',
281 'view_source_contents.cc', 285 'template_url_parser.cc',
282 'visitedlink_master.cc', 286 'template_url_prepopulate_data.cc',
283 'vista_frame.cc', 287 'title_chomper.cc',
284 'web_app.cc', 288 'toolbar_model.cc',
285 'web_app_icon_manager.cc', 289 'url_fetcher.cc',
286 'web_app_launcher.cc', 290 'url_fetcher_protect.cc',
287 'web_contents.cc', 291 'url_fixer_upper.cc',
288 'web_drag_source.cc', 292 'user_data_dir_dialog.cc',
289 'web_drop_target.cc', 293 'user_metrics.cc',
290 'webdata/web_data_service.cc', 294 'view_source_contents.cc',
291 'webdata/web_database.cc', 295 'visitedlink_master.cc',
292 'window_clipping_info.cc', 296 'vista_frame.cc',
293 'window_sizer.cc', 297 'web_app.cc',
294 'wizard/wizard.cc', 298 'web_app_icon_manager.cc',
295 'xp_frame.cc', 299 'web_app_launcher.cc',
296 ] 300 'web_contents.cc',
297 301 'web_drag_source.cc',
298 env.ChromeStaticLibrary('browser', input_files) 302 'web_drop_target.cc',
299 303 'webdata/web_data_service.cc',
300 304 'webdata/web_database.cc',
301 SConscript('debugger/SConscript', exports=['env']) 305 'window_clipping_info.cc',
302 306 'window_sizer.cc',
307 'wizard/wizard.cc',
308 'xp_frame.cc',
309 ])
310
311 if env['PLATFORM'] in ('posix', 'win32'):
312 # TODO: This should work for all platforms.
313 env.ChromeStaticLibrary('browser', input_files)
314
315
316 if env['PLATFORM'] == 'win32':
317 # TODO: Port this.
318 SConscript('debugger/SConscript', exports=['env'])
319
OLDNEW
« no previous file with comments | « chrome/SConscript ('k') | chrome/browser/net/dns_host_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698