| OLD | NEW |
| 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 3995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4006 ], | 4006 ], |
| 4007 'include_dirs': [ | 4007 'include_dirs': [ |
| 4008 '../third_party/angle/include', | 4008 '../third_party/angle/include', |
| 4009 ], | 4009 ], |
| 4010 'link_settings': { | 4010 'link_settings': { |
| 4011 'libraries': [ | 4011 'libraries': [ |
| 4012 '-lXcomposite', | 4012 '-lXcomposite', |
| 4013 ], | 4013 ], |
| 4014 }, | 4014 }, |
| 4015 }], | 4015 }], |
| 4016 ['use_aura==0', { | |
| 4017 'sources/': [ | |
| 4018 ['exclude', '^browser/ui/views/aura/*'], | |
| 4019 ], | |
| 4020 }], | |
| 4021 ['use_aura==1', { | |
| 4022 'sources/': [ | |
| 4023 ['exclude', '^browser/aeropeek_manager.cc'], | |
| 4024 ['exclude', '^browser/automation/automation_provider_win.cc'], | |
| 4025 ['exclude', '^browser/automation/chrome_frame_automation_provider.cc
'], | |
| 4026 ['exclude', '^browser/automation/chrome_frame_automation_provider.h'
], | |
| 4027 ['exclude', '^browser/automation/testing_automation_provider_win.cc'
], | |
| 4028 ['exclude', '^browser/google/google_update.cc'], | |
| 4029 ['exclude', '^browser/google/google_update.h'], | |
| 4030 ['exclude', '^browser/external_tab_container_win.cc'], | |
| 4031 ['exclude', '^browser/external_tab_container_win.h'], | |
| 4032 ['exclude', '^browser/first_run/first_run_win.cc'], | |
| 4033 ['exclude', '^browser/first_run/try_chrome_dialog_view.cc'], | |
| 4034 ['exclude', '^browser/first_run/try_chrome_dialog_view.h'], | |
| 4035 ['exclude', '^browser/hang_monitor/'], | |
| 4036 ['exclude', '^browser/platform_util_win.cc'], | |
| 4037 ['exclude', '^browser/process_singleton_win.cc'], | |
| 4038 ['exclude', '^browser/tab_contents/web_drag_source_win.cc'], | |
| 4039 ['exclude', '^browser/tab_contents/web_drag_source_win.h'], | |
| 4040 ['exclude', '^browser/ui/panels/auto_hiding_desktop_bar_win.cc'], | |
| 4041 ['exclude', '^browser/ui/tabs/dock_info_win.cc'], | |
| 4042 ['exclude', '^browser/ui/views/about_ipc_dialog.cc'], | |
| 4043 ['exclude', '^browser/ui/views/app_menu_button_win.cc'], | |
| 4044 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view.cc'], | |
| 4045 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view.h'], | |
| 4046 ['exclude', '^browser/ui/views/browser_bubble_win.cc'], | |
| 4047 ['exclude', '^browser/ui/views/bubble/border_widget_win.cc'], | |
| 4048 ['exclude', '^browser/ui/views/bubble/border_widget_win.h'], | |
| 4049 ['exclude', '^browser/ui/views/certificate_viewer_win.cc'], | |
| 4050 ['exclude', '^browser/ui/views/collected_cookies_win.cc'], | |
| 4051 ['exclude', '^browser/ui/views/collected_cookies_win.h'], | |
| 4052 ['exclude', '^browser/ui/views/dropdown_bar_host_win.cc'], | |
| 4053 ['exclude', '^browser/ui/views/external_protocol_dialog.cc'], | |
| 4054 ['exclude', '^browser/ui/views/find_bar_host_win.cc'], | |
| 4055 ['exclude', '^browser/ui/views/first_run_bubble.cc'], | |
| 4056 ['exclude', '^browser/ui/views/frame/browser_frame_win.cc'], | |
| 4057 ['exclude', '^browser/ui/views/frame/browser_frame_win.h'], | |
| 4058 ['exclude', '^browser/ui/views/frame/glass_browser_frame_view.cc'], | |
| 4059 ['exclude', '^browser/ui/views/frame/glass_browser_frame_view.h'], | |
| 4060 ['exclude', '^browser/ui/views/hung_renderer_view.cc'], | |
| 4061 ['exclude', '^browser/ui/views/importer/import_progress_dialog_view.
cc'], | |
| 4062 ['exclude', '^browser/ui/views/native_constrained_window_win.cc'], | |
| 4063 ['exclude', '^browser/ui/views/omnibox/omnibox_view_win.cc'], | |
| 4064 ['exclude', '^browser/ui/views/omnibox/omnibox_view_win.h'], | |
| 4065 ['exclude', '^browser/ui/views/shell_dialogs_win.cc'], | |
| 4066 ['exclude', '^browser/ui/views/simple_message_box_win.cc'], | |
| 4067 ['exclude', '^browser/ui/views/ssl_client_certificate_selector.cc'], | |
| 4068 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_cont
ainer_win.cc'], | |
| 4069 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_cont
ainer_win.h'], | |
| 4070 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_win.cc'], | |
| 4071 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_win.h'], | |
| 4072 ['exclude', '^browser/ui/views/tab_contents/tab_contents_drag_win.cc
'], | |
| 4073 ['exclude', '^browser/ui/views/tab_contents/tab_contents_drag_win.h'
], | |
| 4074 ['exclude', '^browser/ui/views/tabs/native_view_photobooth.h'], | |
| 4075 ['exclude', '^browser/ui/views/tabs/native_view_photobooth_win.cc'], | |
| 4076 ['exclude', '^browser/ui/views/tabs/native_view_photobooth_win.h'], | |
| 4077 ['exclude', '^browser/ui/views/task_manager_view.cc'], | |
| 4078 ['exclude', '^browser/ui/views/task_manager_view.h'], | |
| 4079 ['exclude', '^browser/ui/views/user_data_dir_dialog.cc'], | |
| 4080 ['exclude', '^browser/ui/window_snapshot/window_snapshot_win.cc'], | |
| 4081 ['include', '^browser/ui/views/simple_message_box_views.cc'], | |
| 4082 ['include', '^browser/ui/views/simple_message_box_views.h'], | |
| 4083 ], | |
| 4084 'dependencies': [ | |
| 4085 '../ui/aura/aura.gyp:aura', | |
| 4086 ], | |
| 4087 }], | |
| 4088 ['webui_dialogs == 1', { | 4016 ['webui_dialogs == 1', { |
| 4089 'defines': [ | 4017 'defines': [ |
| 4090 'WEBUI_DIALOGS', | 4018 'WEBUI_DIALOGS', |
| 4091 ], | 4019 ], |
| 4092 }], | 4020 }], |
| 4093 # Exclude WebUI certificate viewer if not POSIX, mac (these OS's have | 4021 # Exclude WebUI certificate viewer if not POSIX, mac (these OS's have |
| 4094 # native certificate viewers) or WebUI dialogs are disabled. | 4022 # native certificate viewers) or WebUI dialogs are disabled. |
| 4095 ['webui_dialogs == 0 or os_posix == 0 or OS == "mac"', { | 4023 ['webui_dialogs == 0 or os_posix == 0 or OS == "mac"', { |
| 4096 'sources/': [ | 4024 'sources/': [ |
| 4097 ['exclude', '^browser/ui/webui/certificate_viewer.cc'], | 4025 ['exclude', '^browser/ui/webui/certificate_viewer.cc'], |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4808 'sources/': [ | 4736 'sources/': [ |
| 4809 ['exclude', 'browser/extensions/extension_file_browser_private_a
pi.cc'], | 4737 ['exclude', 'browser/extensions/extension_file_browser_private_a
pi.cc'], |
| 4810 ['exclude', 'browser/extensions/extension_file_browser_private_a
pi.h'], | 4738 ['exclude', 'browser/extensions/extension_file_browser_private_a
pi.h'], |
| 4811 ['exclude', 'browser/extensions/extension_mediaplayer_private_ap
i.cc'], | 4739 ['exclude', 'browser/extensions/extension_mediaplayer_private_ap
i.cc'], |
| 4812 ['exclude', 'browser/extensions/extension_mediaplayer_private_ap
i.h'], | 4740 ['exclude', 'browser/extensions/extension_mediaplayer_private_ap
i.h'], |
| 4813 ['exclude', 'browser/extensions/file_manager_util.h'], | 4741 ['exclude', 'browser/extensions/file_manager_util.h'], |
| 4814 ['exclude', 'browser/extensions/file_manager_util.cc'], | 4742 ['exclude', 'browser/extensions/file_manager_util.cc'], |
| 4815 ], | 4743 ], |
| 4816 }], | 4744 }], |
| 4817 # GTK build only | 4745 # GTK build only |
| 4818 ['toolkit_uses_gtk == 1 and toolkit_views == 0', { | 4746 ['toolkit_uses_gtk == 1 and toolkit_views == 0 and use_aura == 0', { |
| 4819 'sources/': [ | 4747 'sources/': [ |
| 4820 ['include', '^browser/printing/print_dialog_gtk.cc'], | 4748 ['include', '^browser/printing/print_dialog_gtk.cc'], |
| 4821 ['include', '^browser/printing/print_dialog_gtk.h'], | 4749 ['include', '^browser/printing/print_dialog_gtk.h'], |
| 4822 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'], | 4750 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'], |
| 4823 ['exclude', '^browser/ui/browser_list_stub.cc'], | 4751 ['exclude', '^browser/ui/browser_list_stub.cc'], |
| 4824 ['exclude', '^browser/ui/panels/panel_browser_frame_view.cc'], | 4752 ['exclude', '^browser/ui/panels/panel_browser_frame_view.cc'], |
| 4825 ['exclude', '^browser/ui/panels/panel_browser_frame_view.h'], | 4753 ['exclude', '^browser/ui/panels/panel_browser_frame_view.h'], |
| 4826 ['exclude', '^browser/ui/panels/panel_browser_view.cc'], | 4754 ['exclude', '^browser/ui/panels/panel_browser_view.cc'], |
| 4827 ['exclude', '^browser/ui/panels/panel_browser_view.h'], | 4755 ['exclude', '^browser/ui/panels/panel_browser_view.h'], |
| 4828 ], | 4756 ], |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4924 'browser/accessibility/browser_accessibility_manager_win.h', | 4852 'browser/accessibility/browser_accessibility_manager_win.h', |
| 4925 'browser/accessibility/browser_accessibility_win.cc', | 4853 'browser/accessibility/browser_accessibility_win.cc', |
| 4926 'browser/accessibility/browser_accessibility_win.h', | 4854 'browser/accessibility/browser_accessibility_win.h', |
| 4927 'browser/aeropeek_manager.cc', | 4855 'browser/aeropeek_manager.cc', |
| 4928 'browser/autocomplete/autocomplete_accessibility.cc', | 4856 'browser/autocomplete/autocomplete_accessibility.cc', |
| 4929 'browser/extensions/extension_tts_api_win.cc', | 4857 'browser/extensions/extension_tts_api_win.cc', |
| 4930 'browser/google/google_update.cc', | 4858 'browser/google/google_update.cc', |
| 4931 'browser/importer/ie_importer.cc', | 4859 'browser/importer/ie_importer.cc', |
| 4932 ], | 4860 ], |
| 4933 }], | 4861 }], |
| 4862 # Must procees Aura rules after Toolkit and Platform related rules. |
| 4863 ['use_aura==0', { |
| 4864 'sources/': [ |
| 4865 ['exclude', '^browser/ui/views/aura/*'], |
| 4866 ], |
| 4867 }], |
| 4868 ['use_aura==1', { |
| 4869 'sources/': [ |
| 4870 ['exclude', '^browser/aeropeek_manager.cc'], |
| 4871 ['exclude', '^browser/automation/automation_provider_win.cc'], |
| 4872 ['exclude', '^browser/automation/chrome_frame_automation_provider.cc
'], |
| 4873 ['exclude', '^browser/automation/chrome_frame_automation_provider.h'
], |
| 4874 ['exclude', '^browser/automation/testing_automation_provider_gtk.cc'
], |
| 4875 ['exclude', '^browser/automation/testing_automation_provider_win.cc'
], |
| 4876 ['exclude', '^browser/external_tab_container_win.cc'], |
| 4877 ['exclude', '^browser/external_tab_container_win.h'], |
| 4878 ['exclude', '^browser/first_run/first_run_gtk.cc'], |
| 4879 ['exclude', '^browser/first_run/first_run_win.cc'], |
| 4880 ['exclude', '^browser/first_run/try_chrome_dialog_view.cc'], |
| 4881 ['exclude', '^browser/first_run/try_chrome_dialog_view.h'], |
| 4882 ['exclude', '^browser/google/google_update.cc'], |
| 4883 ['exclude', '^browser/google/google_update.h'], |
| 4884 ['exclude', '^browser/hang_monitor/'], |
| 4885 ['exclude', '^browser/platform_util_common_linux.cc'], |
| 4886 ['exclude', '^browser/platform_util_linux.cc'], |
| 4887 ['exclude', '^browser/platform_util_win.cc'], |
| 4888 ['exclude', '^browser/printing/print_dialog_gtk.cc'], |
| 4889 ['exclude', '^browser/printing/print_dialog_gtk.h'], |
| 4890 ['exclude', '^browser/process_singleton_linux.cc'], |
| 4891 ['exclude', '^browser/process_singleton_win.cc'], |
| 4892 ['exclude', '^browser/renderer_host/render_widget_host_view_gtk.cc']
, |
| 4893 ['exclude', '^browser/renderer_host/render_widget_host_view_gtk.h'], |
| 4894 ['exclude', '^browser/renderer_host/render_widget_host_view_views_gt
k.cc'], |
| 4895 ['exclude', '^browser/renderer_host/render_widget_host_view_views_gt
k.h'], |
| 4896 ['exclude', '^browser/speech/speech_input_bubble_gtk.cc'], |
| 4897 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.cc']
, |
| 4898 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.h'], |
| 4899 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'], |
| 4900 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'], |
| 4901 ['exclude', '^browser/tab_contents/web_drag_source_win.cc'], |
| 4902 ['exclude', '^browser/tab_contents/web_drag_source_win.h'], |
| 4903 ['exclude', '^browser/themes/theme_service_gtk.cc'], |
| 4904 ['exclude', '^browser/ui/gtk/*'], |
| 4905 ['exclude', '^browser/ui/input_window_dialog.h'], |
| 4906 ['exclude', '^browser/ui/input_window_dialog_gtk.cc'], |
| 4907 ['exclude', '^browser/ui/input_window_dialog_win.cc'], |
| 4908 ['exclude', '^browser/ui/login/login_prompt_gtk.cc'], |
| 4909 ['exclude', '^browser/ui/panels/auto_hiding_desktop_bar_win.cc'], |
| 4910 ['exclude', '^browser/ui/tabs/dock_info_gtk.cc'], |
| 4911 ['exclude', '^browser/ui/tabs/dock_info_win.cc'], |
| 4912 ['exclude', '^browser/ui/views/about_ipc_dialog.cc'], |
| 4913 ['exclude', '^browser/ui/views/app_menu_button_win.cc'], |
| 4914 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view.cc'], |
| 4915 ['exclude', '^browser/ui/views/bookmarks/bookmark_editor_view.h'], |
| 4916 ['exclude', '^browser/ui/views/browser_bubble_gtk.cc'], |
| 4917 ['exclude', '^browser/ui/views/browser_bubble_win.cc'], |
| 4918 ['exclude', '^browser/ui/views/bubble/border_widget_win.cc'], |
| 4919 ['exclude', '^browser/ui/views/bubble/border_widget_win.h'], |
| 4920 ['exclude', '^browser/ui/views/certificate_viewer_win.cc'], |
| 4921 ['exclude', '^browser/ui/views/collected_cookies_win.cc'], |
| 4922 ['exclude', '^browser/ui/views/collected_cookies_win.h'], |
| 4923 ['exclude', '^browser/ui/views/constrained_html_delegate_gtk.cc'], |
| 4924 ['exclude', '^browser/ui/views/dialog_stubs_gtk.cc'], |
| 4925 ['exclude', '^browser/ui/views/dropdown_bar_host_gtk.cc'], |
| 4926 ['exclude', '^browser/ui/views/dropdown_bar_host_win.cc'], |
| 4927 ['exclude', '^browser/ui/views/external_protocol_dialog.cc'], |
| 4928 ['exclude', '^browser/ui/views/find_bar_host_win.cc'], |
| 4929 ['exclude', '^browser/ui/views/first_run_bubble.cc'], |
| 4930 ['exclude', '^browser/ui/views/frame/browser_frame_gtk.cc'], |
| 4931 ['exclude', '^browser/ui/views/frame/browser_frame_gtk.h'], |
| 4932 ['exclude', '^browser/ui/views/frame/browser_frame_win.cc'], |
| 4933 ['exclude', '^browser/ui/views/frame/browser_frame_win.h'], |
| 4934 ['exclude', '^browser/ui/views/frame/glass_browser_frame_view.cc'], |
| 4935 ['exclude', '^browser/ui/views/frame/glass_browser_frame_view.h'], |
| 4936 ['exclude', '^browser/ui/views/handle_web_keyboard_event_gtk.cc'], |
| 4937 ['exclude', '^browser/ui/views/hung_renderer_view.cc'], |
| 4938 ['exclude', '^browser/ui/views/importer/import_progress_dialog_view.
cc'], |
| 4939 ['exclude', '^browser/ui/views/native_constrained_window_win.cc'], |
| 4940 ['exclude', '^browser/ui/views/omnibox/omnibox_view_win.cc'], |
| 4941 ['exclude', '^browser/ui/views/omnibox/omnibox_view_win.h'], |
| 4942 ['exclude', '^browser/ui/views/shell_dialogs_win.cc'], |
| 4943 ['exclude', '^browser/ui/views/simple_message_box_win.cc'], |
| 4944 ['exclude', '^browser/ui/views/ssl_client_certificate_selector.cc'], |
| 4945 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_cont
ainer_gtk.cc'], |
| 4946 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_cont
ainer_gtk.h'], |
| 4947 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_cont
ainer_win.cc'], |
| 4948 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_cont
ainer_win.h'], |
| 4949 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_gtk.cc'], |
| 4950 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_gtk.h'], |
| 4951 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_win.cc'], |
| 4952 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_win.h'], |
| 4953 ['exclude', '^browser/ui/views/tab_contents/tab_contents_drag_win.cc
'], |
| 4954 ['exclude', '^browser/ui/views/tab_contents/tab_contents_drag_win.h'
], |
| 4955 ['exclude', '^browser/ui/views/tabs/native_view_photobooth.h'], |
| 4956 ['exclude', '^browser/ui/views/tabs/native_view_photobooth_win.cc'], |
| 4957 ['exclude', '^browser/ui/views/tabs/native_view_photobooth_win.h'], |
| 4958 ['exclude', '^browser/ui/views/task_manager_view.cc'], |
| 4959 ['exclude', '^browser/ui/views/task_manager_view.h'], |
| 4960 ['exclude', '^browser/ui/views/user_data_dir_dialog.cc'], |
| 4961 ['exclude', '^browser/ui/window_snapshot/window_snapshot_win.cc'], |
| 4962 ['include', '^browser/ui/views/browser_bubble_aura.cc'], |
| 4963 ['include', '^browser/ui/views/frame/browser_frame_views.cc'], |
| 4964 ['include', '^browser/ui/views/importer/import_lock_dialog_view.cc']
, |
| 4965 ['include', '^browser/ui/views/select_file_dialog.cc'], |
| 4966 ['include', '^browser/ui/views/simple_message_box_views.cc'], |
| 4967 ['include', '^browser/ui/views/simple_message_box_views.h'], |
| 4968 ['include', '^browser/ui/views/stubs_aura.cc'], |
| 4969 ], |
| 4970 'dependencies': [ |
| 4971 '../ui/aura/aura.gyp:aura', |
| 4972 ], |
| 4973 }], |
| 4974 # OpenSSL. |
| 4934 [ 'use_openssl==1', { | 4975 [ 'use_openssl==1', { |
| 4935 'sources!': [ | 4976 'sources!': [ |
| 4936 'browser/importer/nss_decryptor.cc', | 4977 'browser/importer/nss_decryptor.cc', |
| 4937 'browser/importer/nss_decryptor_system_nss.cc', | 4978 'browser/importer/nss_decryptor_system_nss.cc', |
| 4938 'browser/importer/nss_decryptor_system_nss.h', | 4979 'browser/importer/nss_decryptor_system_nss.h', |
| 4939 'browser/ui/crypto_module_password_dialog_nss.cc', | 4980 'browser/ui/crypto_module_password_dialog_nss.cc', |
| 4940 ]}, { | 4981 ]}, { |
| 4941 'sources!': [ | 4982 'sources!': [ |
| 4942 'browser/ui/crypto_module_password_dialog_openssl.cc', | 4983 'browser/ui/crypto_module_password_dialog_openssl.cc', |
| 4943 ]}, | 4984 ]}, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5063 # weak imports in dependents, who still must #include | 5104 # weak imports in dependents, who still must #include |
| 5064 # closure_blocks_leopard_compat.h to get weak imports. | 5105 # closure_blocks_leopard_compat.h to get weak imports. |
| 5065 'type': 'none', | 5106 'type': 'none', |
| 5066 }], | 5107 }], |
| 5067 ], | 5108 ], |
| 5068 }, | 5109 }, |
| 5069 ], | 5110 ], |
| 5070 }], | 5111 }], |
| 5071 ], | 5112 ], |
| 5072 } | 5113 } |
| OLD | NEW |