diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 17:51:23 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 17:51:23 +0000 |
commit | 99d897c73c3ca446cb257b6099eee0ef9f47d781 (patch) | |
tree | c766e20cc2bfcce20aca460420956d2928cbb9ab /chrome/browser/SConscript | |
parent | 36cb8b8dcf9cdc539989d88b35e1e3f2472865c1 (diff) | |
download | chromium_src-99d897c73c3ca446cb257b6099eee0ef9f47d781.zip chromium_src-99d897c73c3ca446cb257b6099eee0ef9f47d781.tar.gz chromium_src-99d897c73c3ca446cb257b6099eee0ef9f47d781.tar.bz2 |
Convert browser.lib to the new naming:
* Move chrome/browser/SConscript => chrome/browser/browser.scons.
* Use using_*.scons files instead of by-hand settings.
* Add new using_*.scons files:
breakpad/using_breakpad.scons
chrome/third_party/hunspell/using_hunspell.scons
chrome/third_party/wtl/using_wtl.scons
google_update/using_google_update.scons
third_party/npapi/using_npapi.scons
* Delete some unused CPPPATH directories.
Review URL: http://codereview.chromium.org/9243
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/SConscript')
-rw-r--r-- | chrome/browser/SConscript | 317 |
1 files changed, 0 insertions, 317 deletions
diff --git a/chrome/browser/SConscript b/chrome/browser/SConscript deleted file mode 100644 index d648c04..0000000 --- a/chrome/browser/SConscript +++ /dev/null @@ -1,317 +0,0 @@ -# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -Import('env') - -env = env.Clone() - - -env.Prepend( - CPPPATH = [ - '$CHROME_DIR/app/resources', - #'$OBJ_ROOT/google_update', - '/chrome/tools/build/win', - '$CHROME_SRC_DIR', - ], - CPPDEFINES = [ - 'U_STATIC_IMPLEMENTATION', - 'USE_HUNSPELL', - 'HUNSPELL_CHROME_CLIENT', - 'LIBXML_STATIC', - 'PNG_USER_CONFIG', - 'CHROME_PNG_WRITE_SUPPORT', - 'GOOGLE_CHROME_BUILD', - ], -) - -if env['PLATFORM'] == 'win32': - env.Prepend( - CCFLAGS = [ - '/TP', - ], - ) - -env.Append( - CPPPATH = [ - '$GTEST_DIR/include', - - '$GOOGLE_UPDATE_DIR', - '$CHROME_DIR/third_party/hunspell/src/hunspell', - '$CHROME_DIR/third_party/wtl/include', - '$NPAPI_DIR', - '$LIBXML_DIR/DerivedSources/include', - '$LIBXML_DIR/include', - '$ICU38_DIR/public/common', - '$ICU38_DIR/public/i18n', - '$CHROME_DIR/app', - '$WEBKIT_DIR/build/localized_strings', - '$ZLIB_DIR', - '$SKIA_DIR/include', - '$SKIA_DIR/include/corecg', - '$SKIA_DIR/platform', - '$LIBPNG_DIR', - '$BREAKPAD_DIR/src', - ], -) - -input_files = [] - -if env['PLATFORM'] in ('posix', 'win32'): - # TODO: Port to Mac. - input_files.extend([ - 'automation/url_request_failed_dns_job.cc', - 'automation/url_request_mock_http_job.cc', - 'automation/url_request_mock_net_error_job.cc', - 'automation/url_request_slow_download_job.cc', - 'browser_process.cc', - 'cancelable_request.cc', - 'chrome_thread.cc', - 'cross_site_request_manager.cc', - 'download/save_file.cc', - 'google_url_tracker.cc', - 'google_util.cc', - 'history/archived_database.cc', - 'history/history_types.cc', - 'history/in_memory_database.cc', - 'history/in_memory_history_backend.cc', - 'history/page_usage_data.cc', - 'history/snippet.cc', - 'history/text_database.cc', - 'history/text_database_manager.cc', - 'history/thumbnail_database.cc', - 'history/visit_database.cc', - 'history/visit_tracker.cc', - 'history/visitsegment_database.cc', - 'meta_table_helper.cc', - 'metrics_response.cc', - 'net/dns_host_info.cc', - 'page_state.cc', - 'printing/page_number.cc', - 'printing/page_setup.cc', - 'printing/page_range.cc', - 'printing/units.cc', - 'renderer_security_policy.cc', - 'safe_browsing/bloom_filter.cc', - 'safe_browsing/chunk_range.cc', - 'safe_browsing/protocol_parser.cc', - 'safe_browsing/safe_browsing_database.cc', - 'safe_browsing/safe_browsing_database_bloom.cc', - 'safe_browsing/safe_browsing_database_impl.cc', - 'safe_browsing/safe_browsing_service.cc', - 'safe_browsing/safe_browsing_util.cc', - 'session_startup_pref.cc', - 'url_fetcher_protect.cc', - 'user_metrics.cc', - ]) - -if env['PLATFORM'] == 'win32': - # TODO: Port these. - input_files.extend([ - 'about_internets_status_view.cc', - 'alternate_nav_url_fetcher.cc', - 'app_modal_dialog_queue.cc', - 'autocomplete/autocomplete.cc', - 'autocomplete/autocomplete_edit.cc', - 'autocomplete/autocomplete_popup.cc', - 'autocomplete/edit_drop_target.cc', - 'autocomplete/history_contents_provider.cc', - 'autocomplete/history_url_provider.cc', - 'autocomplete/keyword_provider.cc', - 'autocomplete/search_provider.cc', - 'automation/automation_provider.cc', - 'automation/automation_provider_list.cc', - 'automation/automation_resource_tracker.cc', - 'automation/ui_controls.cc', - 'back_forward_menu_model.cc', - 'base_history_model.cc', - 'bookmarks/bookmark_codec.cc', - 'bookmarks/bookmark_context_menu.cc', - 'bookmarks/bookmark_drag_data.cc', - 'bookmarks/bookmark_drag_utils.cc', - 'bookmarks/bookmark_folder_tree_model.cc', - 'bookmarks/bookmark_model.cc', - 'bookmarks/bookmark_storage.cc', - 'bookmarks/bookmark_table_model.cc', - 'bookmarks/bookmark_utils.cc', - 'browser.cc', - 'browser_about_handler.cc', - 'browser_accessibility.cc', - 'browser_accessibility_manager.cc', - 'browser_commands.cc', - 'browser_init.cc', - 'browser_list.cc', - 'browser_main.cc', - 'browser_prefs.cc', - 'browser_process_impl.cc', - 'browser_shutdown.cc', - 'browser_trial.cc', - 'browser_url_handler.cc', - 'browser_window.cc', - 'browsing_data_remover.cc', - 'browsing_instance.cc', - 'cache_manager_host.cc', - 'cert_store.cc', - 'character_encoding.cc', - 'chrome_plugin_browsing_context.cc', - 'chrome_plugin_host.cc', - 'controller.cc', - 'dom_ui/chrome_url_data_manager.cc', - 'dom_ui/dom_ui_host.cc', - 'dom_ui/html_dialog_contents.cc', - 'dom_ui/new_tab_ui.cc', - 'download/download_exe.cc', - 'download/download_file.cc', - 'download/download_item_model.cc', - 'download/download_manager.cc', - 'download/download_util.cc', - 'download/download_request_manager.cc', - 'download/save_file.cc', - 'download/save_file_manager.cc', - 'download/save_item.cc', - 'download/save_package.cc', - 'download/save_page_model.cc', - 'drag_utils.cc', - 'encoding_menu_controller_delegate.cc', - 'encryptor.cc', - 'external_protocol_handler.cc', - 'external_tab_container.cc', - 'fav_icon_helper.cc', - 'first_run.cc', - 'frame_util.cc', - 'gears_integration.cc', - 'greasemonkey_master.cc', - 'hang_monitor/hung_plugin_action.cc', - 'hang_monitor/hung_window_detector.cc', - 'history/download_database.cc', - 'history/expire_history_backend.cc', - 'history/history.cc', - 'history/history_backend.cc', - 'history/history_database.cc', - 'history/query_parser.cc', - 'history/starred_url_database.cc', - 'history/url_database.cc', - 'history_model.cc', - 'history_tab_ui.cc', - 'history_view.cc', - 'icon_loader.cc', - 'icon_manager.cc', - 'ie7_password.cc', - 'ime_input.cc', - 'importer/firefox2_importer.cc', - 'importer/firefox3_importer.cc', - 'importer/firefox_importer_utils.cc', - 'importer/firefox_profile_lock.cc', - 'importer/ie_importer.cc', - 'importer/importer.cc', - 'importer/mork_reader.cc', - 'interstitial_page.cc', - 'ipc_status_view.cc', - 'jankometer.cc', - 'js_before_unload_handler.cc', - 'jsmessage_box_handler.cc', - 'login_prompt.cc', - 'memory_details.cc', - 'metrics_log.cc', - 'metrics_service.cc', - 'modal_html_dialog_delegate.cc', - 'native_ui_contents.cc', - 'navigation_controller.cc', - 'navigation_entry.cc', - 'net/dns_global.cc', - 'net/dns_master.cc', - 'net/dns_slave.cc', - 'net/sdch_dictionary_fetcher.cc', - 'network_status_view.cc', - 'google_update.cc', - 'password_form_manager.cc', - 'password_manager.cc', - 'plugin_installer.cc', - 'plugin_process_host.cc', - 'plugin_service.cc', - 'printing/page_overlays.cc', - 'printing/print_job.cc', - 'printing/print_job_manager.cc', - 'printing/print_job_worker.cc', - 'printing/print_settings.cc', - 'printing/print_view_manager.cc', - 'printing/printed_document.cc', - 'printing/printed_page.cc', - 'printing/printer_query.cc', - 'printing/win_printing_context.cc', - 'profile.cc', - 'profile_manager.cc', - 'provisional_load_details.cc', - 'render_process_host.cc', - 'render_view_context_menu.cc', - 'render_view_context_menu_controller.cc', - 'render_view_host.cc', - 'render_view_host_manager.cc', - 'render_widget_helper.cc', - 'render_widget_host.cc', - 'repost_Form_warning_dialog.cc', - 'resource_dispatcher_host.cc', - 'resource_message_filter.cc', - 'rlz/rlz.cc', - 'safe_browsing/protocol_manager.cc', - 'safe_browsing/safe_browsing_blocking_page.cc', - 'safe_browsing/safe_browsing_service.cc', - 'sandbox_policy.cc', - 'session_backend.cc', - 'session_crashed_view.cc', - 'session_restore.cc', - 'session_service.cc', - 'shell_integration.cc', - 'site_instance.cc', - 'spellcheck_worditerator.cc', - 'spellchecker.cc', - 'ssl_blocking_page.cc', - 'ssl_error_info.cc', - 'ssl_manager.cc', - 'ssl_policy.cc', - 'status_view.cc', - 'suspend_controller.cc', - 'tab_contents.cc', - 'tab_contents_factory.cc', - 'tab_restore_service.cc', - 'tab_util.cc', - 'tabs/tab_strip_model.cc', - 'tabs/tab_strip_model_order_controller.cc', - 'task_manager.cc', - 'task_manager_resource_providers.cc', - 'template_url.cc', - 'template_url_fetcher.cc', - 'template_url_model.cc', - 'template_url_parser.cc', - 'template_url_prepopulate_data.cc', - 'toolbar_model.cc', - 'url_fetcher.cc', - 'url_fixer_upper.cc', - 'view_source_contents.cc', - 'visitedlink_master.cc', - 'web_app.cc', - 'web_app_icon_manager.cc', - 'web_app_launcher.cc', - 'web_contents.cc', - 'web_contents_view.cc', - 'web_drag_source.cc', - 'web_drop_target.cc', - 'webdata/web_data_service.cc', - 'webdata/web_database.cc', - 'window_sizer.cc', - ]) - - input_files.extend([ - 'web_contents_view_win.cc', - 'render_widget_host_view_win.cc', - ]) - - -if env['PLATFORM'] in ('posix', 'win32'): - # TODO: This should work for all platforms. - env.ChromeStaticLibrary('browser', input_files) - - -if env['PLATFORM'] == 'win32': - # TODO: Port this. - SConscript('debugger/SConscript', exports=['env']) |