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

Side by Side Diff: chrome/browser/browser.scons

Issue 19683: Create a stub chrome executable that crashes when run. (Closed)
Patch Set: rebase Created 11 years, 10 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
« no previous file with comments | « chrome/app/chrome_exe_main_gtk.cc ('k') | chrome/browser/browser_main_gtk.cc » ('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 env.SConscript([ 9 env.SConscript([
10 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons', 10 '$CHROME_DIR/third_party/hunspell/using_hunspell.scons',
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 'renderer_host/browser_render_process_host.cc', 517 'renderer_host/browser_render_process_host.cc',
518 'renderer_host/browser_render_process_host.h', 518 'renderer_host/browser_render_process_host.h',
519 'renderer_host/buffered_resource_handler.cc', 519 'renderer_host/buffered_resource_handler.cc',
520 'renderer_host/buffered_resource_handler.h', 520 'renderer_host/buffered_resource_handler.h',
521 'renderer_host/cross_site_resource_handler.cc', 521 'renderer_host/cross_site_resource_handler.cc',
522 'renderer_host/cross_site_resource_handler.h', 522 'renderer_host/cross_site_resource_handler.h',
523 'renderer_host/download_resource_handler.cc', 523 'renderer_host/download_resource_handler.cc',
524 'renderer_host/download_resource_handler.h', 524 'renderer_host/download_resource_handler.h',
525 'renderer_host/download_throttling_resource_handler.cc', 525 'renderer_host/download_throttling_resource_handler.cc',
526 'renderer_host/download_throttling_resource_handler.h', 526 'renderer_host/download_throttling_resource_handler.h',
527 'renderer_host/browser_render_process_host.cc', 527 'renderer_host/render_process_host.cc',
528 'renderer_host/browser_render_process_host.h', 528 'renderer_host/render_process_host.h',
529 'renderer_host/render_view_host.cc', 529 'renderer_host/render_view_host.cc',
530 'renderer_host/render_view_host.h', 530 'renderer_host/render_view_host.h',
531 'renderer_host/render_view_host_delegate.h', 531 'renderer_host/render_view_host_delegate.h',
532 'renderer_host/render_widget_helper.cc', 532 'renderer_host/render_widget_helper.cc',
533 'renderer_host/render_widget_helper.h', 533 'renderer_host/render_widget_helper.h',
534 'renderer_host/render_widget_host.cc', 534 'renderer_host/render_widget_host.cc',
535 'renderer_host/render_widget_host.h', 535 'renderer_host/render_widget_host.h',
536 'renderer_host/render_widget_host_view.h', 536 'renderer_host/render_widget_host_view.h',
537 'renderer_host/render_widget_host_view_win.cc', 537 'renderer_host/render_widget_host_view_win.cc',
538 'renderer_host/render_widget_host_view_win.h', 538 'renderer_host/render_widget_host_view_win.h',
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 'browser_prefs.cc', 691 'browser_prefs.cc',
692 'browser_process_impl.cc', 692 'browser_process_impl.cc',
693 'browser_shutdown.cc', 693 'browser_shutdown.cc',
694 'browser_url_handler.cc', 694 'browser_url_handler.cc',
695 'browsing_data_remover.cc', 695 'browsing_data_remover.cc',
696 'browsing_instance.cc', 696 'browsing_instance.cc',
697 'cache_manager_host.cc', 697 'cache_manager_host.cc',
698 'cert_store.cc', 698 'cert_store.cc',
699 'character_encoding.cc', 699 'character_encoding.cc',
700 'chrome_plugin_host.cc', 700 'chrome_plugin_host.cc',
701 'command_updater.cc',
702 'dock_info.cc', 701 'dock_info.cc',
703 'dom_ui/dom_ui_contents.cc', 702 'dom_ui/dom_ui_contents.cc',
704 'dom_ui/dom_ui_host.cc', 703 'dom_ui/dom_ui_host.cc',
705 'dom_ui/dom_ui.cc', 704 'dom_ui/dom_ui.cc',
706 'dom_ui/history_ui.cc', 705 'dom_ui/history_ui.cc',
707 'dom_ui/html_dialog_contents.cc', 706 'dom_ui/html_dialog_contents.cc',
708 'dom_ui/new_tab_ui.cc', 707 'dom_ui/new_tab_ui.cc',
709 'download/download_exe.cc', 708 'download/download_exe.cc',
710 'download/download_file.cc', 709 'download/download_file.cc',
711 'download/download_item_model.cc', 710 'download/download_item_model.cc',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 'printing/page_overlays.cc', 756 'printing/page_overlays.cc',
758 'printing/print_job.cc', 757 'printing/print_job.cc',
759 'printing/print_job_manager.cc', 758 'printing/print_job_manager.cc',
760 'printing/print_job_worker.cc', 759 'printing/print_job_worker.cc',
761 'printing/print_settings.cc', 760 'printing/print_settings.cc',
762 'printing/print_view_manager.cc', 761 'printing/print_view_manager.cc',
763 'printing/printed_document.cc', 762 'printing/printed_document.cc',
764 'printing/printed_page.cc', 763 'printing/printed_page.cc',
765 'printing/printer_query.cc', 764 'printing/printer_query.cc',
766 'printing/win_printing_context.cc', 765 'printing/win_printing_context.cc',
767 'profile.cc',
768 'profile_manager.cc',
769 'renderer_host/render_view_host.cc', 766 'renderer_host/render_view_host.cc',
770 'renderer_host/render_widget_helper.cc', 767 'renderer_host/render_widget_helper.cc',
771 'renderer_host/render_widget_host.cc', 768 'renderer_host/render_widget_host.cc',
772 'renderer_host/cross_site_resource_handler.cc', 769 'renderer_host/cross_site_resource_handler.cc',
773 'renderer_host/resource_dispatcher_host.cc', 770 'renderer_host/resource_dispatcher_host.cc',
774 'repost_form_warning_dialog.cc', 771 'repost_form_warning_dialog.cc',
775 'resource_message_filter.cc', 772 'resource_message_filter.cc',
776 'rlz/rlz.cc', 773 'rlz/rlz.cc',
777 'safe_browsing/protocol_manager.cc', 774 'safe_browsing/protocol_manager.cc',
778 'safe_browsing/safe_browsing_blocking_page.cc', 775 'safe_browsing/safe_browsing_blocking_page.cc',
(...skipping 23 matching lines...) Expand all
802 'tab_contents/site_instance.cc', 799 'tab_contents/site_instance.cc',
803 'tab_contents/status_view.cc', 800 'tab_contents/status_view.cc',
804 'tab_contents/tab_contents.cc', 801 'tab_contents/tab_contents.cc',
805 'tab_contents/tab_contents_factory.cc', 802 'tab_contents/tab_contents_factory.cc',
806 'tab_contents/tab_util.cc', 803 'tab_contents/tab_util.cc',
807 'tab_contents/view_source_contents.cc', 804 'tab_contents/view_source_contents.cc',
808 'tab_contents/web_contents.cc', 805 'tab_contents/web_contents.cc',
809 'tab_contents/web_contents_view.cc', 806 'tab_contents/web_contents_view.cc',
810 'tab_contents/web_drag_source.cc', 807 'tab_contents/web_drag_source.cc',
811 'tab_contents/web_drop_target.cc', 808 'tab_contents/web_drop_target.cc',
812 'tabs/tab_strip_model.cc',
813 'tabs/tab_strip_model_order_controller.cc',
814 'task_manager.cc', 809 'task_manager.cc',
815 'task_manager_resource_providers.cc', 810 'task_manager_resource_providers.cc',
816 'toolbar_model.cc', 811 'toolbar_model.cc',
817 'user_data_manager.cc', 812 'user_data_manager.cc',
818 'views/download_tab_view.cc', 813 'views/download_tab_view.cc',
819 'web_app.cc', 814 'web_app.cc',
820 'web_app_icon_manager.cc', 815 'web_app_icon_manager.cc',
821 'web_app_launcher.cc', 816 'web_app_launcher.cc',
822 'window_sizer.cc', 817 'window_sizer.cc',
823 ) 818 )
824 819
825 input_files.Remove( 820 input_files.Remove(
826 'browser_main_win.cc', 821 'browser_main_win.cc',
827 'importer/firefox_profile_lock_win.cc', 822 'importer/firefox_profile_lock_win.cc',
828 'password_manager/password_form_manager_win.cc', 823 'password_manager/password_form_manager_win.cc',
829 'renderer_host/render_widget_host_view_win.cc', 824 'renderer_host/render_widget_host_view_win.cc',
830 'tab_contents/web_contents_view_win.cc', 825 'tab_contents/web_contents_view_win.cc',
831 'webdata/web_data_service_win.cc', 826 'webdata/web_data_service_win.cc',
832 'webdata/web_database_win.cc', 827 'webdata/web_database_win.cc',
833 '../tools/build/win/precompiled_wtl.cc', 828 '../tools/build/win/precompiled_wtl.cc',
834 '../tools/build/win/precompiled_wtl.h', 829 '../tools/build/win/precompiled_wtl.h',
835 ) 830 )
836 831
832 if env.Bit('linux'):
833 input_files.Extend([
834 'browser_main_gtk.cc',
835 ])
836
837 if env.Bit('windows'): 837 if env.Bit('windows'):
838 env.TypeLibrary('history/history_indexer.idl') 838 env.TypeLibrary('history/history_indexer.idl')
839 839
840 if not env.Bit('posix'):
841 input_files.Remove( 840 input_files.Remove(
842 'importer/firefox_profile_lock_posix.cc', 841 'importer/firefox_profile_lock_posix.cc',
843 ) 842 )
844 843
845 if not env.Bit('mac'): 844 if not env.Bit('mac'):
846 # TODO: This should work for all platforms. 845 # TODO: This should work for all platforms.
847 env.ChromeLibrary('browser', input_files) 846 env.ChromeLibrary('browser', input_files)
848 847
849 p = env.ChromeMSVSProject('browser.vcproj', 848 p = env.ChromeMSVSProject('browser.vcproj',
850 dest='$CHROME_SRC_DIR/chrome/browser/browser.vcproj', 849 dest='$CHROME_SRC_DIR/chrome/browser/browser.vcproj',
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 937
939 xmldoc_tool_list = [ 938 xmldoc_tool_list = [
940 MSVSTool('VCCLCompilerTool', 939 MSVSTool('VCCLCompilerTool',
941 XMLDocumentationFileName=('$(IntDir)/$(InputName)1.xdc'), 940 XMLDocumentationFileName=('$(IntDir)/$(InputName)1.xdc'),
942 ObjectFile='$(IntDir)/$(InputName)1.obj'), 941 ObjectFile='$(IntDir)/$(InputName)1.obj'),
943 ] 942 ]
944 943
945 for filename in xmldoc_files: 944 for filename in xmldoc_files:
946 p.AddFileConfig(filename, 'Debug|Win32', xmldoc_tool_list) 945 p.AddFileConfig(filename, 'Debug|Win32', xmldoc_tool_list)
947 p.AddFileConfig(filename, 'Release|Win32', xmldoc_tool_list) 946 p.AddFileConfig(filename, 'Release|Win32', xmldoc_tool_list)
OLDNEW
« no previous file with comments | « chrome/app/chrome_exe_main_gtk.cc ('k') | chrome/browser/browser_main_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698