Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / chrome_nibs.gyp
blob1ab195f8577fd55a042f55bac281a3b434788aef
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     'chrome_nibs.gypi',
25   ],
26   'target_defaults': {
27     'include_dirs': [
28       '..',
29     ],
30   },
31   'targets': [
32     {
33       'target_name': 'chrome_nibs',
34       'type': 'executable',
35       'mac_bundle': 1,
36       'dependencies': [
37         '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
38       ],
39       'sources': [
40         '../ui/base/cocoa/base_view.h',
41         '../ui/base/cocoa/base_view.mm',
42         '../ui/base/cocoa/controls/hyperlink_button_cell.h',
43         '../ui/base/cocoa/controls/hyperlink_button_cell.mm',
44         '../ui/base/cocoa/hover_button.h',
45         '../ui/base/cocoa/hover_button.mm',
46         '../ui/base/cocoa/hover_image_button.h',
47         '../ui/base/cocoa/hover_image_button.mm',
48         '../ui/base/cocoa/menu_controller.h',
49         '../ui/base/cocoa/menu_controller.mm',
50         '../ui/base/cocoa/nsview_additions.h',
51         '../ui/base/cocoa/nsview_additions.mm',
52         'browser/app_controller_mac.h',
53         'browser/app_controller_mac.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/edit_search_engine_cocoa_controller.h',
89         'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm',
90         'browser/ui/cocoa/browser_window_controller.h',
91         'browser/ui/cocoa/browser_window_controller.mm',
92         'browser/ui/cocoa/browser_window_controller_private.h',
93         'browser/ui/cocoa/browser_window_controller_private.mm',
94         'browser/ui/cocoa/chrome_browser_window.h',
95         'browser/ui/cocoa/chrome_browser_window.mm',
96         'browser/ui/cocoa/chrome_event_processing_window.h',
97         'browser/ui/cocoa/chrome_event_processing_window.mm',
98         'browser/ui/cocoa/clickhold_button_cell.h',
99         'browser/ui/cocoa/clickhold_button_cell.mm',
100         'browser/ui/cocoa/constrained_window/constrained_window_button.h',
101         'browser/ui/cocoa/constrained_window/constrained_window_button.mm',
102         'browser/ui/cocoa/constrained_window/constrained_window_custom_window.h',
103         'browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm',
104         'browser/ui/cocoa/content_settings/collected_cookies_mac.h',
105         'browser/ui/cocoa/content_settings/collected_cookies_mac.mm',
106         'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h',
107         'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm',
108         'browser/ui/cocoa/content_settings/cookie_details_view_controller.h',
109         'browser/ui/cocoa/content_settings/cookie_details_view_controller.mm',
110         'browser/ui/cocoa/custom_frame_view.h',
111         'browser/ui/cocoa/custom_frame_view.mm',
112         'browser/ui/cocoa/download/download_item_button.h',
113         'browser/ui/cocoa/download/download_item_button.mm',
114         'browser/ui/cocoa/download/download_item_cell.h',
115         'browser/ui/cocoa/download/download_item_cell.mm',
116         'browser/ui/cocoa/download/download_item_controller.h',
117         'browser/ui/cocoa/download/download_item_controller.mm',
118         'browser/ui/cocoa/download/download_shelf_controller.h',
119         'browser/ui/cocoa/download/download_shelf_controller.mm',
120         'browser/ui/cocoa/download/download_shelf_view.h',
121         'browser/ui/cocoa/download/download_shelf_view.mm',
122         'browser/ui/cocoa/download/download_show_all_button.h',
123         'browser/ui/cocoa/download/download_show_all_button.mm',
124         'browser/ui/cocoa/download/download_show_all_cell.h',
125         'browser/ui/cocoa/download/download_show_all_cell.mm',
126         'browser/ui/cocoa/draggable_button.h',
127         'browser/ui/cocoa/draggable_button.mm',
128         'browser/ui/cocoa/exclusive_access_bubble_view.h',
129         'browser/ui/cocoa/exclusive_access_bubble_view.mm',
130         'browser/ui/cocoa/exclusive_access_bubble_window_controller.h',
131         'browser/ui/cocoa/exclusive_access_bubble_window_controller.mm',
132         'browser/ui/cocoa/extensions/browser_actions_container_view.h',
133         'browser/ui/cocoa/extensions/browser_actions_container_view.mm',
134         'browser/ui/cocoa/extensions/device_permissions_view_controller.h',
135         'browser/ui/cocoa/extensions/device_permissions_view_controller.mm',
136         'browser/ui/cocoa/extensions/extension_install_dialog_controller.h',
137         'browser/ui/cocoa/extensions/extension_install_dialog_controller.mm',
138         'browser/ui/cocoa/extensions/extension_install_view_controller.h',
139         'browser/ui/cocoa/extensions/extension_install_view_controller.mm',
140         'browser/ui/cocoa/extensions/extension_installed_bubble_controller.h',
141         'browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm',
142         'browser/ui/cocoa/fast_resize_view.h',
143         'browser/ui/cocoa/fast_resize_view.mm',
144         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h',
145         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm',
146         'browser/ui/cocoa/find_bar/find_bar_text_field.h',
147         'browser/ui/cocoa/find_bar/find_bar_text_field.mm',
148         'browser/ui/cocoa/find_bar/find_bar_text_field_cell.h',
149         'browser/ui/cocoa/find_bar/find_bar_text_field_cell.mm',
150         'browser/ui/cocoa/find_bar/find_bar_view.h',
151         'browser/ui/cocoa/find_bar/find_bar_view.mm',
152         'browser/ui/cocoa/first_run_bubble_controller.h',
153         'browser/ui/cocoa/first_run_bubble_controller.mm',
154         'browser/ui/cocoa/first_run_dialog.h',
155         'browser/ui/cocoa/first_run_dialog.mm',
156         'browser/ui/cocoa/framed_browser_window.h',
157         'browser/ui/cocoa/framed_browser_window.mm',
158         'browser/ui/cocoa/global_error_bubble_controller.h',
159         'browser/ui/cocoa/global_error_bubble_controller.mm',
160         'browser/ui/cocoa/gradient_button_cell.h',
161         'browser/ui/cocoa/gradient_button_cell.mm',
162         'browser/ui/cocoa/hover_close_button.h',
163         'browser/ui/cocoa/hover_close_button.mm',
164         'browser/ui/cocoa/hung_renderer_controller.h',
165         'browser/ui/cocoa/hung_renderer_controller.mm',
166         'browser/ui/cocoa/image_button_cell.h',
167         'browser/ui/cocoa/image_button_cell.mm',
168         'browser/ui/cocoa/info_bubble_view.h',
169         'browser/ui/cocoa/info_bubble_view.mm',
170         'browser/ui/cocoa/info_bubble_window.h',
171         'browser/ui/cocoa/info_bubble_window.mm',
172         'browser/ui/cocoa/infobars/infobar_controller.h',
173         'browser/ui/cocoa/infobars/infobar_controller.mm',
174         'browser/ui/cocoa/infobars/infobar_gradient_view.h',
175         'browser/ui/cocoa/infobars/infobar_gradient_view.mm',
176         'browser/ui/cocoa/location_bar/autocomplete_text_field.h',
177         'browser/ui/cocoa/location_bar/autocomplete_text_field.mm',
178         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h',
179         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm',
180         'browser/ui/cocoa/login_prompt_cocoa.h',
181         'browser/ui/cocoa/login_prompt_cocoa.mm',
182         'browser/ui/cocoa/menu_button.h',
183         'browser/ui/cocoa/menu_button.mm',
184         'browser/ui/cocoa/multi_key_equivalent_button.h',
185         'browser/ui/cocoa/multi_key_equivalent_button.mm',
186         'browser/ui/cocoa/new_tab_button.h',
187         'browser/ui/cocoa/new_tab_button.mm',
188         'browser/ui/cocoa/nsmenuitem_additions.h',
189         'browser/ui/cocoa/nsmenuitem_additions.mm',
190         'browser/ui/cocoa/one_click_signin_view_controller.h',
191         'browser/ui/cocoa/one_click_signin_view_controller.mm',
192         'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h',
193         'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm',
194         'browser/ui/cocoa/panels/panel_window_controller_cocoa.h',
195         'browser/ui/cocoa/panels/panel_window_controller_cocoa.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/status_bubble_mac.h',
199         'browser/ui/cocoa/status_bubble_mac.mm',
200         'browser/ui/cocoa/styled_text_field.h',
201         'browser/ui/cocoa/styled_text_field.mm',
202         'browser/ui/cocoa/styled_text_field_cell.h',
203         'browser/ui/cocoa/styled_text_field_cell.mm',
204         'browser/ui/cocoa/tab_contents/overlayable_contents_controller.h',
205         'browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm',
206         'browser/ui/cocoa/tabs/tab_controller.h',
207         'browser/ui/cocoa/tabs/tab_controller.mm',
208         'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h',
209         'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm',
210         'browser/ui/cocoa/tabs/tab_strip_view.h',
211         'browser/ui/cocoa/tabs/tab_strip_view.mm',
212         'browser/ui/cocoa/tabs/tab_view.h',
213         'browser/ui/cocoa/tabs/tab_view.mm',
214         'browser/ui/cocoa/tabs/tab_window_controller.h',
215         'browser/ui/cocoa/tabs/tab_window_controller.mm',
216         'browser/ui/cocoa/task_manager_mac.h',
217         'browser/ui/cocoa/task_manager_mac.mm',
218         'browser/ui/cocoa/themed_window.h',
219         'browser/ui/cocoa/themed_window.mm',
220         'browser/ui/cocoa/toolbar/reload_button.h',
221         'browser/ui/cocoa/toolbar/reload_button.mm',
222         'browser/ui/cocoa/toolbar/toolbar_button.h',
223         'browser/ui/cocoa/toolbar/toolbar_button.mm',
224         'browser/ui/cocoa/toolbar/toolbar_controller.h',
225         'browser/ui/cocoa/toolbar/toolbar_controller.mm',
226         'browser/ui/cocoa/toolbar/toolbar_view.h',
227         'browser/ui/cocoa/toolbar/toolbar_view.mm',
228         'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.h',
229         'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm',
230         'browser/ui/cocoa/ui_localizer.h',
231         'browser/ui/cocoa/ui_localizer.mm',
232         'browser/ui/cocoa/vertical_gradient_view.h',
233         'browser/ui/cocoa/vertical_gradient_view.mm',
234         'browser/ui/cocoa/view_id_util.h',
235         'browser/ui/cocoa/view_id_util.mm',
236         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h',
237         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.mm',
238         'browser/ui/cocoa/wrench_menu/wrench_menu_controller.h',
239         'browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm',
240       ],
241       'mac_bundle_resources': [
242         '<@(mac_all_xibs)',
243       ],
244     },  # target chrome_xibs
245   ],  # targets