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

Side by Side Diff: chrome/chrome_browser_ui.gypi

Issue 386733002: Only build extensions code in chrome/browser/ui when extensions are enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/net_internals/net_internals_ui.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 'variables': { 6 'variables': {
7 'chrome_browser_ui_non_ios_sources': [ 7 'chrome_browser_ui_non_ios_sources': [
8 'browser/ui/accelerator_utils.h', 8 'browser/ui/accelerator_utils.h',
9 'browser/ui/android/android_about_app_info.cc', 9 'browser/ui/android/android_about_app_info.cc',
10 'browser/ui/android/android_about_app_info.h', 10 'browser/ui/android/android_about_app_info.h',
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h', 756 'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h',
757 'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.mm', 757 'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.mm',
758 'browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h', 758 'browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h',
759 'browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.mm', 759 'browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.mm',
760 'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell.h', 760 'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell.h',
761 'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell.mm', 761 'browser/ui/cocoa/wrench_menu/wrench_menu_button_cell.mm',
762 'browser/ui/cocoa/wrench_menu/wrench_menu_controller.h', 762 'browser/ui/cocoa/wrench_menu/wrench_menu_controller.h',
763 'browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm', 763 'browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm',
764 'browser/ui/confirm_bubble.h', 764 'browser/ui/confirm_bubble.h',
765 'browser/ui/crypto_module_password_dialog.h', 765 'browser/ui/crypto_module_password_dialog.h',
766 'browser/ui/extensions/accelerator_priority.cc',
767 'browser/ui/extensions/accelerator_priority.h',
768 'browser/ui/extensions/extension_installed_bubble.cc',
769 'browser/ui/extensions/extension_installed_bubble.h',
770 'browser/ui/extensions/extension_enable_flow.cc',
771 'browser/ui/extensions/extension_enable_flow.h',
772 'browser/ui/extensions/extension_enable_flow_delegate.h',
773 'browser/ui/find_bar/find_bar.h', 766 'browser/ui/find_bar/find_bar.h',
774 'browser/ui/find_bar/find_bar_state.h', 767 'browser/ui/find_bar/find_bar_state.h',
775 'browser/ui/find_bar/find_bar_state_factory.cc', 768 'browser/ui/find_bar/find_bar_state_factory.cc',
776 'browser/ui/find_bar/find_bar_state_factory.h', 769 'browser/ui/find_bar/find_bar_state_factory.h',
777 'browser/ui/find_bar/find_notification_details.h', 770 'browser/ui/find_bar/find_notification_details.h',
778 'browser/ui/find_bar/find_tab_helper.cc', 771 'browser/ui/find_bar/find_tab_helper.cc',
779 'browser/ui/find_bar/find_tab_helper.h', 772 'browser/ui/find_bar/find_tab_helper.h',
780 'browser/ui/fullscreen/fullscreen_exit_bubble.cc', 773 'browser/ui/fullscreen/fullscreen_exit_bubble.cc',
781 'browser/ui/fullscreen/fullscreen_exit_bubble.h', 774 'browser/ui/fullscreen/fullscreen_exit_bubble.h',
782 'browser/ui/fullscreen/fullscreen_within_tab_helper.cc', 775 'browser/ui/fullscreen/fullscreen_within_tab_helper.cc',
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 'browser/ui/webui/constrained_web_dialog_ui.cc', 1036 'browser/ui/webui/constrained_web_dialog_ui.cc',
1044 'browser/ui/webui/constrained_web_dialog_ui.h', 1037 'browser/ui/webui/constrained_web_dialog_ui.h',
1045 'browser/ui/webui/cookies_tree_model_util.cc', 1038 'browser/ui/webui/cookies_tree_model_util.cc',
1046 'browser/ui/webui/cookies_tree_model_util.h', 1039 'browser/ui/webui/cookies_tree_model_util.h',
1047 'browser/ui/webui/crashes_ui.cc', 1040 'browser/ui/webui/crashes_ui.cc',
1048 'browser/ui/webui/crashes_ui.h', 1041 'browser/ui/webui/crashes_ui.h',
1049 'browser/ui/webui/devtools_ui.cc', 1042 'browser/ui/webui/devtools_ui.cc',
1050 'browser/ui/webui/devtools_ui.h', 1043 'browser/ui/webui/devtools_ui.h',
1051 'browser/ui/webui/domain_reliability_internals_ui.cc', 1044 'browser/ui/webui/domain_reliability_internals_ui.cc',
1052 'browser/ui/webui/domain_reliability_internals_ui.h', 1045 'browser/ui/webui/domain_reliability_internals_ui.h',
1053 'browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc',
1054 'browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h',
1055 'browser/ui/webui/extensions/extension_basic_info.cc',
1056 'browser/ui/webui/extensions/extension_basic_info.h',
1057 'browser/ui/webui/extensions/extension_error_ui_util.cc',
1058 'browser/ui/webui/extensions/extension_error_ui_util.h',
1059 'browser/ui/webui/extensions/extension_icon_source.cc',
1060 'browser/ui/webui/extensions/extension_icon_source.h',
1061 'browser/ui/webui/extensions/extension_info_ui.cc',
1062 'browser/ui/webui/extensions/extension_info_ui.h',
1063 'browser/ui/webui/extensions/pack_extension_handler.cc',
1064 'browser/ui/webui/extensions/pack_extension_handler.h',
1065 'browser/ui/webui/favicon_source.cc', 1046 'browser/ui/webui/favicon_source.cc',
1066 'browser/ui/webui/favicon_source.h', 1047 'browser/ui/webui/favicon_source.h',
1067 'browser/ui/webui/fileicon_source.cc', 1048 'browser/ui/webui/fileicon_source.cc',
1068 'browser/ui/webui/fileicon_source.h', 1049 'browser/ui/webui/fileicon_source.h',
1069 'browser/ui/webui/flags_ui.cc', 1050 'browser/ui/webui/flags_ui.cc',
1070 'browser/ui/webui/flags_ui.h', 1051 'browser/ui/webui/flags_ui.h',
1071 'browser/ui/webui/flash_ui.cc', 1052 'browser/ui/webui/flash_ui.cc',
1072 'browser/ui/webui/flash_ui.h', 1053 'browser/ui/webui/flash_ui.h',
1073 'browser/ui/webui/gcm_internals_ui.cc', 1054 'browser/ui/webui/gcm_internals_ui.cc',
1074 'browser/ui/webui/gcm_internals_ui.h', 1055 'browser/ui/webui/gcm_internals_ui.h',
(...skipping 1444 matching lines...) Expand 10 before | Expand all | Expand 10 after
2519 'browser/ui/views/javascript_app_modal_event_blocker_x11.cc', 2500 'browser/ui/views/javascript_app_modal_event_blocker_x11.cc',
2520 'browser/ui/views/javascript_app_modal_event_blocker_x11.h', 2501 'browser/ui/views/javascript_app_modal_event_blocker_x11.h',
2521 'browser/ui/views/tabs/window_finder_x11.cc', 2502 'browser/ui/views/tabs/window_finder_x11.cc',
2522 ], 2503 ],
2523 # Files used on iOS. iOS uses only these files and does not share other 2504 # Files used on iOS. iOS uses only these files and does not share other
2524 # lists, so a file may appear here and in the non_ios_sources also. 2505 # lists, so a file may appear here and in the non_ios_sources also.
2525 'chrome_browser_ui_ios_sources': [ 2506 'chrome_browser_ui_ios_sources': [
2526 'browser/ui/profile_error_dialog.cc', 2507 'browser/ui/profile_error_dialog.cc',
2527 'browser/ui/profile_error_dialog.h', 2508 'browser/ui/profile_error_dialog.h',
2528 ], 2509 ],
2510 'chrome_browser_ui_extensions_sources': [
2511 'browser/ui/extensions/accelerator_priority.cc',
2512 'browser/ui/extensions/accelerator_priority.h',
2513 'browser/ui/extensions/extension_installed_bubble.cc',
2514 'browser/ui/extensions/extension_installed_bubble.h',
2515 'browser/ui/extensions/extension_enable_flow.cc',
2516 'browser/ui/extensions/extension_enable_flow.h',
2517 'browser/ui/extensions/extension_enable_flow_delegate.h',
2518 'browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc',
2519 'browser/ui/webui/extensions/chromeos/kiosk_apps_handler.h',
2520 'browser/ui/webui/extensions/extension_basic_info.cc',
2521 'browser/ui/webui/extensions/extension_basic_info.h',
2522 'browser/ui/webui/extensions/extension_error_ui_util.cc',
2523 'browser/ui/webui/extensions/extension_error_ui_util.h',
2524 'browser/ui/webui/extensions/extension_icon_source.cc',
2525 'browser/ui/webui/extensions/extension_icon_source.h',
2526 'browser/ui/webui/extensions/extension_info_ui.cc',
2527 'browser/ui/webui/extensions/extension_info_ui.h',
2528 'browser/ui/webui/extensions/pack_extension_handler.cc',
2529 'browser/ui/webui/extensions/pack_extension_handler.h',
2530 ],
2529 }, 2531 },
2530 'targets': [ 2532 'targets': [
2531 { 2533 {
2532 'target_name': 'browser_ui', 2534 'target_name': 'browser_ui',
2533 'type': 'static_library', 2535 'type': 'static_library',
2534 'variables': { 'enable_wexit_time_destructors': 1, }, 2536 'variables': { 'enable_wexit_time_destructors': 1, },
2535 # Since browser and browser_ui actually depend on each other, 2537 # Since browser and browser_ui actually depend on each other,
2536 # we must omit the dependency from browser_ui to browser. 2538 # we must omit the dependency from browser_ui to browser.
2537 # However, this means browser_ui and browser should more or less 2539 # However, this means browser_ui and browser should more or less
2538 # have the same dependencies. Once browser_ui is untangled from 2540 # have the same dependencies. Once browser_ui is untangled from
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
2921 'sources': [ 2923 'sources': [
2922 '<@(chrome_browser_ui_autofill_dialog_non_mobile_sources)', 2924 '<@(chrome_browser_ui_autofill_dialog_non_mobile_sources)',
2923 ], 2925 ],
2924 'dependencies': [ 2926 'dependencies': [
2925 '../third_party/libaddressinput/libaddressinput.gyp:libaddressin put', 2927 '../third_party/libaddressinput/libaddressinput.gyp:libaddressin put',
2926 '../third_party/libaddressinput/libaddressinput.gyp:libaddressin put_strings', 2928 '../third_party/libaddressinput/libaddressinput.gyp:libaddressin put_strings',
2927 ], 2929 ],
2928 }], 2930 }],
2929 ], 2931 ],
2930 }], 2932 }],
2933 ['enable_extensions==1', {
2934 'sources': [ '<@(chrome_browser_ui_extensions_sources)' ],
2935 }],
2931 ['enable_google_now==1 and OS!="android"', { 2936 ['enable_google_now==1 and OS!="android"', {
2932 'sources': [ '<@(chrome_browser_ui_google_now_non_android_sources)' ], 2937 'sources': [ '<@(chrome_browser_ui_google_now_non_android_sources)' ],
2933 }], 2938 }],
2934 ['enable_webrtc==1', { 2939 ['enable_webrtc==1', {
2935 'sources': [ '<@(chrome_browser_ui_webrtc_sources)' ], 2940 'sources': [ '<@(chrome_browser_ui_webrtc_sources)' ],
2936 }], 2941 }],
2937 ['enable_service_discovery==1', { 2942 ['enable_service_discovery==1', {
2938 'sources': [ '<@(chrome_browser_ui_service_discovery_sources)' ], 2943 'sources': [ '<@(chrome_browser_ui_service_discovery_sources)' ],
2939 }], 2944 }],
2940 ['enable_spellcheck==1', { 2945 ['enable_spellcheck==1', {
2941 'dependencies': [ 2946 'dependencies': [
2942 '../third_party/hunspell/hunspell.gyp:hunspell', 2947 '../third_party/hunspell/hunspell.gyp:hunspell',
2943 ], 2948 ],
2944 }], 2949 }],
2945 ], 2950 ],
2946 }, 2951 },
2947 ], 2952 ],
2948 } 2953 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/net_internals/net_internals_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698