Explicitly disabling viewport when running layout tests
[chromium-blink-merge.git] / chrome / chrome_nibs.gyp
blobcdc4c52629317e957454b3248a9447ce27654f34
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # This gyp file creates a fake target that is used to generate a minimal Xcode
6 # project, useful for editing XIB files.
8 # The sole target is called "chrome_nibs" and its sources are the minimum
9 # dependency set for all of the classes referred to by XIB files. If you are
10 # editing or adding a new XIB file, ensure that any classes to which you refer
11 # in the XIB are listed (both header and implementation) here so that Xcode can
12 # connect them.
14 # This target DOES NOT BUILD. Attempting to do so will generate lots of errors.
15 # Only use this target for editing XIBs.
17 # For more information, see
18 # <http://dev.chromium.org/developers/design-documents/mac-xib-files>.
20   'variables': {
21     'chromium_code': 1,
22   },
23   'includes': [
24     '../build/common.gypi',
25     'chrome_nibs.gypi',
26   ],
27   'target_defaults': {
28     'include_dirs': [
29       '..',
30     ],
31   },
32   'targets': [
33     {
34       'target_name': 'chrome_nibs',
35       'type': 'executable',
36       'mac_bundle': 1,
37       'sources': [
38         '../third_party/GTM/AppKit/GTMUILocalizer.h',
39         '../third_party/GTM/AppKit/GTMUILocalizer.mm',
40         '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h',
41         '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.mm',
42         '../ui/base/cocoa/base_view.h',
43         '../ui/base/cocoa/base_view.mm',
44         '../ui/base/cocoa/controls/hyperlink_button_cell.h',
45         '../ui/base/cocoa/controls/hyperlink_button_cell.mm',
46         '../ui/base/cocoa/hover_button.h',
47         '../ui/base/cocoa/hover_button.mm',
48         '../ui/base/cocoa/hover_image_button.h',
49         '../ui/base/cocoa/hover_image_button.mm',
50         '../ui/base/cocoa/menu_controller.h',
51         '../ui/base/cocoa/menu_controller.mm',
52         'browser/ui/cocoa/about_ipc_controller.h',
53         'browser/ui/cocoa/about_ipc_controller.mm',
54         'browser/ui/cocoa/animatable_view.h',
55         'browser/ui/cocoa/animatable_view.mm',
56         'browser/ui/cocoa/background_gradient_view.h',
57         'browser/ui/cocoa/background_gradient_view.mm',
58         'browser/ui/cocoa/base_bubble_controller.h',
59         'browser/ui/cocoa/base_bubble_controller.mm',
60         'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h',
61         'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.mm',
62         'browser/ui/cocoa/bookmarks/bookmark_bar_controller.h',
63         'browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm',
64         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h',
65         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm',
66         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h',
67         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm',
68         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h',
69         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.mm',
70         'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h',
71         'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm',
72         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h',
73         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.mm',
74         'browser/ui/cocoa/bookmarks/bookmark_bar_view.h',
75         'browser/ui/cocoa/bookmarks/bookmark_bar_view.mm',
76         'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h',
77         'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm',
78         'browser/ui/cocoa/bookmarks/bookmark_button.h',
79         'browser/ui/cocoa/bookmarks/bookmark_button.mm',
80         'browser/ui/cocoa/bookmarks/bookmark_button_cell.h',
81         'browser/ui/cocoa/bookmarks/bookmark_button_cell.mm',
82         'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h',
83         'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm',
84         'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.h',
85         'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.mm',
86         'browser/ui/cocoa/browser/avatar_menu_bubble_controller.h',
87         'browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm',
88         'browser/ui/cocoa/browser_window_controller.h',
89         'browser/ui/cocoa/browser_window_controller.mm',
90         'browser/ui/cocoa/browser_window_controller_private.h',
91         'browser/ui/cocoa/browser_window_controller_private.mm',
92         'browser/ui/cocoa/chrome_browser_window.h',
93         'browser/ui/cocoa/chrome_browser_window.mm',
94         'browser/ui/cocoa/chrome_event_processing_window.h',
95         'browser/ui/cocoa/chrome_event_processing_window.mm',
96         'browser/ui/cocoa/clickhold_button_cell.h',
97         'browser/ui/cocoa/clickhold_button_cell.mm',
98         'browser/ui/cocoa/content_settings/collected_cookies_mac.h',
99         'browser/ui/cocoa/content_settings/collected_cookies_mac.mm',
100         'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h',
101         'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm',
102         'browser/ui/cocoa/content_settings/cookie_details_view_controller.h',
103         'browser/ui/cocoa/content_settings/cookie_details_view_controller.mm',
104         'browser/ui/cocoa/custom_frame_view.h',
105         'browser/ui/cocoa/custom_frame_view.mm',
106         'browser/ui/cocoa/download/download_item_button.h',
107         'browser/ui/cocoa/download/download_item_button.mm',
108         'browser/ui/cocoa/download/download_item_cell.h',
109         'browser/ui/cocoa/download/download_item_cell.mm',
110         'browser/ui/cocoa/download/download_item_controller.h',
111         'browser/ui/cocoa/download/download_item_controller.mm',
112         'browser/ui/cocoa/download/download_shelf_controller.h',
113         'browser/ui/cocoa/download/download_shelf_controller.mm',
114         'browser/ui/cocoa/download/download_shelf_view.h',
115         'browser/ui/cocoa/download/download_shelf_view.mm',
116         'browser/ui/cocoa/download/download_show_all_button.h',
117         'browser/ui/cocoa/download/download_show_all_button.mm',
118         'browser/ui/cocoa/download/download_show_all_cell.h',
119         'browser/ui/cocoa/download/download_show_all_cell.mm',
120         'browser/ui/cocoa/draggable_button.h',
121         'browser/ui/cocoa/draggable_button.mm',
122         'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h',
123         'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm',
124         'browser/ui/cocoa/constrained_window/constrained_window_button.h',
125         'browser/ui/cocoa/constrained_window/constrained_window_button.mm',
126         'browser/ui/cocoa/constrained_window/constrained_window_custom_window.h',
127         'browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm',
128         'browser/ui/cocoa/extensions/browser_actions_container_view.h',
129         'browser/ui/cocoa/extensions/browser_actions_container_view.mm',
130         'browser/ui/cocoa/extensions/extension_install_dialog_controller.h',
131         'browser/ui/cocoa/extensions/extension_install_dialog_controller.mm',
132         'browser/ui/cocoa/extensions/extension_install_view_controller.h',
133         'browser/ui/cocoa/extensions/extension_install_view_controller.mm',
134         'browser/ui/cocoa/extensions/extension_installed_bubble_controller.h',
135         'browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm',
136         'browser/ui/cocoa/fast_resize_view.h',
137         'browser/ui/cocoa/fast_resize_view.mm',
138         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h',
139         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm',
140         'browser/ui/cocoa/find_bar/find_bar_text_field.h',
141         'browser/ui/cocoa/find_bar/find_bar_text_field.mm',
142         'browser/ui/cocoa/find_bar/find_bar_text_field_cell.h',
143         'browser/ui/cocoa/find_bar/find_bar_text_field_cell.mm',
144         'browser/ui/cocoa/find_bar/find_bar_view.h',
145         'browser/ui/cocoa/find_bar/find_bar_view.mm',
146         'browser/ui/cocoa/first_run_bubble_controller.h',
147         'browser/ui/cocoa/first_run_bubble_controller.mm',
148         'browser/ui/cocoa/first_run_dialog.h',
149         'browser/ui/cocoa/first_run_dialog.mm',
150         'browser/ui/cocoa/framed_browser_window.h',
151         'browser/ui/cocoa/framed_browser_window.mm',
152         'browser/ui/cocoa/fullscreen_exit_bubble_controller.h',
153         'browser/ui/cocoa/fullscreen_exit_bubble_controller.mm',
154         'browser/ui/cocoa/fullscreen_exit_bubble_view.h',
155         'browser/ui/cocoa/fullscreen_exit_bubble_view.mm',
156         'browser/ui/cocoa/global_error_bubble_controller.h',
157         'browser/ui/cocoa/global_error_bubble_controller.mm',
158         'browser/ui/cocoa/gradient_button_cell.h',
159         'browser/ui/cocoa/gradient_button_cell.mm',
160         'browser/ui/cocoa/hover_close_button.h',
161         'browser/ui/cocoa/hover_close_button.mm',
162         'browser/ui/cocoa/hung_renderer_controller.h',
163         'browser/ui/cocoa/hung_renderer_controller.mm',
164         'browser/ui/cocoa/image_button_cell.h',
165         'browser/ui/cocoa/image_button_cell.mm',
166         'browser/ui/cocoa/info_bubble_view.h',
167         'browser/ui/cocoa/info_bubble_view.mm',
168         'browser/ui/cocoa/info_bubble_window.h',
169         'browser/ui/cocoa/info_bubble_window.mm',
170         'browser/ui/cocoa/infobars/infobar_controller.h',
171         'browser/ui/cocoa/infobars/infobar_controller.mm',
172         'browser/ui/cocoa/infobars/infobar_gradient_view.h',
173         'browser/ui/cocoa/infobars/infobar_gradient_view.mm',
174         'browser/ui/cocoa/location_bar/autocomplete_text_field.h',
175         'browser/ui/cocoa/location_bar/autocomplete_text_field.mm',
176         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h',
177         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm',
178         'browser/ui/cocoa/login_prompt_cocoa.h',
179         'browser/ui/cocoa/login_prompt_cocoa.mm',
180         'browser/ui/cocoa/menu_button.h',
181         'browser/ui/cocoa/menu_button.mm',
182         'browser/ui/cocoa/multi_key_equivalent_button.h',
183         'browser/ui/cocoa/multi_key_equivalent_button.mm',
184         'browser/ui/cocoa/new_tab_button.h',
185         'browser/ui/cocoa/new_tab_button.mm',
186         'browser/ui/cocoa/notifications/balloon_controller.h',
187         'browser/ui/cocoa/notifications/balloon_controller.mm',
188         'browser/ui/cocoa/notifications/balloon_view.h',
189         'browser/ui/cocoa/notifications/balloon_view.mm',
190         'browser/ui/cocoa/nsmenuitem_additions.h',
191         'browser/ui/cocoa/nsmenuitem_additions.mm',
192         'browser/ui/cocoa/nsview_additions.h',
193         'browser/ui/cocoa/nsview_additions.mm',
194         'browser/ui/cocoa/one_click_signin_view_controller.h',
195         'browser/ui/cocoa/one_click_signin_view_controller.mm',
196         'browser/ui/cocoa/screen_capture_notification_ui_cocoa.h',
197         'browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm',
198         'browser/ui/cocoa/speech_recognition_window_controller.h',
199         'browser/ui/cocoa/speech_recognition_window_controller.mm',
200         'browser/ui/cocoa/status_bubble_mac.h',
201         'browser/ui/cocoa/status_bubble_mac.mm',
202         'browser/ui/cocoa/styled_text_field.h',
203         'browser/ui/cocoa/styled_text_field.mm',
204         'browser/ui/cocoa/styled_text_field_cell.h',
205         'browser/ui/cocoa/styled_text_field_cell.mm',
206         'browser/ui/cocoa/tab_contents/overlayable_contents_controller.h',
207         'browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm',
208         'browser/ui/cocoa/tab_contents/sad_tab_controller.h',
209         'browser/ui/cocoa/tab_contents/sad_tab_controller.mm',
210         'browser/ui/cocoa/tab_contents/sad_tab_view.h',
211         'browser/ui/cocoa/tab_contents/sad_tab_view.mm',
212         'browser/ui/cocoa/tabs/tab_controller.h',
213         'browser/ui/cocoa/tabs/tab_controller.mm',
214         'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h',
215         'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm',
216         'browser/ui/cocoa/tabs/tab_strip_view.h',
217         'browser/ui/cocoa/tabs/tab_strip_view.mm',
218         'browser/ui/cocoa/tabs/tab_view.h',
219         'browser/ui/cocoa/tabs/tab_view.mm',
220         'browser/ui/cocoa/tabs/tab_window_controller.h',
221         'browser/ui/cocoa/tabs/tab_window_controller.mm',
222         'browser/ui/cocoa/task_manager_mac.h',
223         'browser/ui/cocoa/task_manager_mac.mm',
224         'browser/ui/cocoa/themed_window.h',
225         'browser/ui/cocoa/themed_window.mm',
226         'browser/ui/cocoa/toolbar/reload_button.h',
227         'browser/ui/cocoa/toolbar/reload_button.mm',
228         'browser/ui/cocoa/toolbar/toolbar_button.h',
229         'browser/ui/cocoa/toolbar/toolbar_button.mm',
230         'browser/ui/cocoa/toolbar/toolbar_controller.h',
231         'browser/ui/cocoa/toolbar/toolbar_controller.mm',
232         'browser/ui/cocoa/toolbar/toolbar_view.h',
233         'browser/ui/cocoa/toolbar/toolbar_view.mm',
234         'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.h',
235         'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm',
236         'browser/ui/cocoa/ui_localizer.h',
237         'browser/ui/cocoa/ui_localizer.mm',
238         'browser/ui/cocoa/vertical_gradient_view.h',
239         'browser/ui/cocoa/vertical_gradient_view.mm',
240         'browser/ui/cocoa/view_id_util.h',
241         'browser/ui/cocoa/view_id_util.mm',
242         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h',
243         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.mm',
244         'browser/ui/cocoa/wrench_menu/wrench_menu_controller.h',
245         'browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm',
246         'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h',
247         'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm',
248         'browser/ui/cocoa/panels/panel_window_controller_cocoa.h',
249         'browser/ui/cocoa/panels/panel_window_controller_cocoa.mm',
250       ],
251       'mac_bundle_resources': [
252         '<@(mac_all_xibs)',
253       ],
254     },  # target chrome_xibs
255   ],  # targets