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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 7957002: Reland add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk. Created 9 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/browser/ui/webui/hung_renderer_dialog.cc ('k') | chrome/common/chrome_switches.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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'browser', 8 'target_name': 'browser',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
(...skipping 2802 matching lines...) Expand 10 before | Expand all | Expand 10 after
2813 'browser/ui/gtk/browser_window_gtk.h', 2813 'browser/ui/gtk/browser_window_gtk.h',
2814 'browser/ui/gtk/bubble/bubble_accelerators_gtk.cc', 2814 'browser/ui/gtk/bubble/bubble_accelerators_gtk.cc',
2815 'browser/ui/gtk/bubble/bubble_accelerators_gtk.h', 2815 'browser/ui/gtk/bubble/bubble_accelerators_gtk.h',
2816 'browser/ui/gtk/bubble/bubble_gtk.cc', 2816 'browser/ui/gtk/bubble/bubble_gtk.cc',
2817 'browser/ui/gtk/bubble/bubble_gtk.h', 2817 'browser/ui/gtk/bubble/bubble_gtk.h',
2818 'browser/ui/gtk/cairo_cached_surface.cc', 2818 'browser/ui/gtk/cairo_cached_surface.cc',
2819 'browser/ui/gtk/cairo_cached_surface.h', 2819 'browser/ui/gtk/cairo_cached_surface.h',
2820 'browser/ui/gtk/certificate_dialogs.cc', 2820 'browser/ui/gtk/certificate_dialogs.cc',
2821 'browser/ui/gtk/certificate_dialogs.h', 2821 'browser/ui/gtk/certificate_dialogs.h',
2822 'browser/ui/gtk/certificate_viewer.cc', 2822 'browser/ui/gtk/certificate_viewer.cc',
2823 'browser/ui/gtk/certificate_viewer.h',
2824 'browser/ui/gtk/chrome_gtk_frame.cc', 2823 'browser/ui/gtk/chrome_gtk_frame.cc',
2825 'browser/ui/gtk/chrome_gtk_frame.h', 2824 'browser/ui/gtk/chrome_gtk_frame.h',
2826 'browser/ui/gtk/collected_cookies_gtk.cc', 2825 'browser/ui/gtk/collected_cookies_gtk.cc',
2827 'browser/ui/gtk/collected_cookies_gtk.h', 2826 'browser/ui/gtk/collected_cookies_gtk.h',
2828 'browser/ui/gtk/constrained_html_delegate_gtk.cc', 2827 'browser/ui/gtk/constrained_html_delegate_gtk.cc',
2829 'browser/ui/gtk/constrained_window_gtk.cc', 2828 'browser/ui/gtk/constrained_window_gtk.cc',
2830 'browser/ui/gtk/constrained_window_gtk.h', 2829 'browser/ui/gtk/constrained_window_gtk.h',
2831 'browser/ui/gtk/content_setting_bubble_gtk.cc', 2830 'browser/ui/gtk/content_setting_bubble_gtk.cc',
2832 'browser/ui/gtk/content_setting_bubble_gtk.h', 2831 'browser/ui/gtk/content_setting_bubble_gtk.h',
2833 'browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc', 2832 'browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc',
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after
4099 ['exclude', '^browser/ui/views/task_manager_view.h'], 4098 ['exclude', '^browser/ui/views/task_manager_view.h'],
4100 ['exclude', '^browser/ui/views/user_data_dir_dialog.cc'], 4099 ['exclude', '^browser/ui/views/user_data_dir_dialog.cc'],
4101 ['exclude', '^browser/ui/window_snapshot/window_snapshot_win.cc'], 4100 ['exclude', '^browser/ui/window_snapshot/window_snapshot_win.cc'],
4102 ['include', '^browser/ui/views/simple_message_box_views.cc'], 4101 ['include', '^browser/ui/views/simple_message_box_views.cc'],
4103 ['include', '^browser/ui/views/simple_message_box_views.h'], 4102 ['include', '^browser/ui/views/simple_message_box_views.h'],
4104 ], 4103 ],
4105 'dependencies': [ 4104 'dependencies': [
4106 '../ui/aura/aura.gyp:aura', 4105 '../ui/aura/aura.gyp:aura',
4107 ], 4106 ],
4108 }], 4107 }],
4109 ['webui_dialogs == 1', { 4108 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's have
4110 'defines': [ 4109 # native certificate viewers).
4111 'WEBUI_DIALOGS', 4110 ['os_posix == 0 or OS == "mac"', {
4112 ],
4113 }],
4114 # Exclude WebUI certificate viewer if not POSIX, mac (these OS's have
4115 # native certificate viewers) or WebUI dialogs are disabled.
4116 ['webui_dialogs == 0 or os_posix == 0 or OS == "mac"', {
4117 'sources/': [ 4111 'sources/': [
4118 ['exclude', '^browser/ui/webui/certificate_viewer.cc'], 4112 ['exclude', '^browser/ui/webui/certificate_viewer.cc'],
4119 ['exclude', '^browser/ui/webui/certificate_viewer.h'], 4113 ['exclude', '^browser/ui/webui/certificate_viewer.h'],
4120 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], 4114 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'],
4121 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], 4115 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'],
4122 ], 4116 ],
4123 }], 4117 }],
4124 # Exclude other WebUI dialogs if WebUI dialogs are disabled.
4125 ['webui_dialogs == 0', {
4126 'sources/': [
4127 ['exclude', '^browser/ui/webui/hung_renderer_dialog.cc'],
4128 ['exclude', '^browser/ui/webui/hung_renderer_dialog.h'],
4129 ['exclude', '^browser/ui/webui/hung_renderer_dialog_ui.cc'],
4130 ['exclude', '^browser/ui/webui/hung_renderer_dialog_ui.h'],
4131 ],
4132 }],
4133 ['webui_dialogs == 1', {
4134 'sources/': [
4135 ['exclude', '^browser/ui/gtk/certificate_viewer.cc'],
4136 ['exclude', '^browser/ui/gtk/certificate_viewer.h'],
4137 ['exclude', '^browser/ui/gtk/hung_renderer_dialog_gtk.cc'],
4138 ['exclude', '^browser/ui/gtk/hung_renderer_dialog_gtk.h'],
4139 ],
4140 }],
4141 ['toolkit_uses_gtk == 1', { 4118 ['toolkit_uses_gtk == 1', {
4142 'dependencies': [ 4119 'dependencies': [
4143 '../build/linux/system.gyp:dbus', 4120 '../build/linux/system.gyp:dbus',
4144 '../build/linux/system.gyp:gconf', 4121 '../build/linux/system.gyp:gconf',
4145 '../build/linux/system.gyp:gtk', 4122 '../build/linux/system.gyp:gtk',
4146 '../build/linux/system.gyp:gtkprint', 4123 '../build/linux/system.gyp:gtkprint',
4147 '../build/linux/system.gyp:ssl', 4124 '../build/linux/system.gyp:ssl',
4148 '../build/linux/system.gyp:x11', 4125 '../build/linux/system.gyp:x11',
4149 '../dbus/dbus.gyp:dbus', 4126 '../dbus/dbus.gyp:dbus',
4150 '../third_party/undoview/undoview.gyp:undoview', 4127 '../third_party/undoview/undoview.gyp:undoview',
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
4455 ['include', '^browser/ui/gtk/bookmarks/bookmark_editor_gtk.h'], 4432 ['include', '^browser/ui/gtk/bookmarks/bookmark_editor_gtk.h'],
4456 ['include', '^browser/ui/gtk/bookmarks/bookmark_tree_model.cc'], 4433 ['include', '^browser/ui/gtk/bookmarks/bookmark_tree_model.cc'],
4457 ['include', '^browser/ui/gtk/bookmarks/bookmark_tree_model.h'], 4434 ['include', '^browser/ui/gtk/bookmarks/bookmark_tree_model.h'],
4458 ['include', '^browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc'], 4435 ['include', '^browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc'],
4459 ['include', '^browser/ui/gtk/bookmarks/bookmark_utils_gtk.h'], 4436 ['include', '^browser/ui/gtk/bookmarks/bookmark_utils_gtk.h'],
4460 ['include', '^browser/ui/gtk/cairo_cached_surface.cc'], 4437 ['include', '^browser/ui/gtk/cairo_cached_surface.cc'],
4461 ['include', '^browser/ui/gtk/cairo_cached_surface.h'], 4438 ['include', '^browser/ui/gtk/cairo_cached_surface.h'],
4462 ['include', '^browser/ui/gtk/certificate_dialogs.cc'], 4439 ['include', '^browser/ui/gtk/certificate_dialogs.cc'],
4463 ['include', '^browser/ui/gtk/certificate_dialogs.h'], 4440 ['include', '^browser/ui/gtk/certificate_dialogs.h'],
4464 ['include', '^browser/ui/gtk/certificate_viewer.cc'], 4441 ['include', '^browser/ui/gtk/certificate_viewer.cc'],
4465 ['include', '^browser/ui/gtk/certificate_viewer.h'],
4466 ['include', '^browser/ui/gtk/chrome_gtk_frame.cc'], 4442 ['include', '^browser/ui/gtk/chrome_gtk_frame.cc'],
4467 ['include', '^browser/ui/gtk/chrome_gtk_frame.h'], 4443 ['include', '^browser/ui/gtk/chrome_gtk_frame.h'],
4468 ['include', '^browser/ui/gtk/collected_cookies_gtk.cc'], 4444 ['include', '^browser/ui/gtk/collected_cookies_gtk.cc'],
4469 ['include', '^browser/ui/gtk/collected_cookies_gtk.h'], 4445 ['include', '^browser/ui/gtk/collected_cookies_gtk.h'],
4470 ['include', '^browser/ui/gtk/constrained_window_gtk.cc'], 4446 ['include', '^browser/ui/gtk/constrained_window_gtk.cc'],
4471 ['include', '^browser/ui/gtk/constrained_window_gtk.h'], 4447 ['include', '^browser/ui/gtk/constrained_window_gtk.h'],
4472 ['include', '^browser/ui/gtk/crypto_module_password_dialog.cc'], 4448 ['include', '^browser/ui/gtk/crypto_module_password_dialog.cc'],
4473 ['include', '^browser/ui/gtk/download/download_started_animation _gtk.cc'], 4449 ['include', '^browser/ui/gtk/download/download_started_animation _gtk.cc'],
4474 ['include', '^browser/ui/gtk/edit_search_engine_dialog.cc'], 4450 ['include', '^browser/ui/gtk/edit_search_engine_dialog.cc'],
4475 ['include', '^browser/ui/gtk/edit_search_engine_dialog.h'], 4451 ['include', '^browser/ui/gtk/edit_search_engine_dialog.h'],
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
4768 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'], 4744 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'],
4769 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'], 4745 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'],
4770 ['exclude', '^browser/ui/browser_list_gtk.cc'], 4746 ['exclude', '^browser/ui/browser_list_gtk.cc'],
4771 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc'] , 4747 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc'] ,
4772 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h'], 4748 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h'],
4773 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.cc'], 4749 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.cc'],
4774 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.h'], 4750 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.h'],
4775 ['exclude', '^browser/ui/panels/panel_mouse_watcher_gtk.cc'], 4751 ['exclude', '^browser/ui/panels/panel_mouse_watcher_gtk.cc'],
4776 ], 4752 ],
4777 }], 4753 }],
4778 # Exclude the GTK versions of dialogs if webui_dialogs are enabled.
4779 ['webui_dialogs==1', {
4780 'sources/': [
4781 ['exclude', '^browser/ui/gtk/certificate_viewer.cc'],
4782 ['exclude', '^browser/ui/gtk/certificate_viewer.h'],
4783 ['exclude', '^browser/ui/gtk/hung_renderer_dialog_gtk.cc'],
4784 ['exclude', '^browser/ui/gtk/hung_renderer_dialog_gtk.cc.h'],
4785 ],
4786 }],
4787 # Exclude these toolkit_views specific files again. 4754 # Exclude these toolkit_views specific files again.
4788 # (Required because of the '^browser/extensions/' include above) 4755 # (Required because of the '^browser/extensions/' include above)
4789 ['toolkit_views==0', { 4756 ['toolkit_views==0', {
4790 'sources/': [ 4757 'sources/': [
4791 ['exclude', '^browser/extensions/extension_input_api.cc'], 4758 ['exclude', '^browser/extensions/extension_input_api.cc'],
4792 ['exclude', '^browser/extensions/extension_input_api.h'], 4759 ['exclude', '^browser/extensions/extension_input_api.h'],
4793 ['exclude', '^browser/extensions/key_identifier_conversion_views .cc'], 4760 ['exclude', '^browser/extensions/key_identifier_conversion_views .cc'],
4794 ['exclude', '^browser/extensions/key_identifier_conversion_views .h'], 4761 ['exclude', '^browser/extensions/key_identifier_conversion_views .h'],
4795 ], 4762 ],
4796 }], 4763 }],
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
5134 # weak imports in dependents, who still must #include 5101 # weak imports in dependents, who still must #include
5135 # closure_blocks_leopard_compat.h to get weak imports. 5102 # closure_blocks_leopard_compat.h to get weak imports.
5136 'type': 'none', 5103 'type': 'none',
5137 }], 5104 }],
5138 ], 5105 ],
5139 }, 5106 },
5140 ], 5107 ],
5141 }], 5108 }],
5142 ], 5109 ],
5143 } 5110 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/hung_renderer_dialog.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698