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
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>.
24 '../build/common.gypi',
34 'target_name': 'chrome_nibs',
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/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 'browser/ui/cocoa/about_ipc_controller.h',
51 'browser/ui/cocoa/about_ipc_controller.mm',
52 'browser/ui/cocoa/animatable_view.h',
53 'browser/ui/cocoa/animatable_view.mm',
54 'browser/ui/cocoa/background_gradient_view.h',
55 'browser/ui/cocoa/background_gradient_view.mm',
56 'browser/ui/cocoa/base_bubble_controller.h',
57 'browser/ui/cocoa/base_bubble_controller.mm',
58 'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h',
59 'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.mm',
60 'browser/ui/cocoa/bookmarks/bookmark_bar_controller.h',
61 'browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm',
62 'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h',
63 'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm',
64 'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h',
65 'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm',
66 'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h',
67 'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.mm',
68 'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h',
69 'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm',
70 'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h',
71 'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.mm',
72 'browser/ui/cocoa/bookmarks/bookmark_bar_view.h',
73 'browser/ui/cocoa/bookmarks/bookmark_bar_view.mm',
74 'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h',
75 'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm',
76 'browser/ui/cocoa/bookmarks/bookmark_button.h',
77 'browser/ui/cocoa/bookmarks/bookmark_button.mm',
78 'browser/ui/cocoa/bookmarks/bookmark_button_cell.h',
79 'browser/ui/cocoa/bookmarks/bookmark_button_cell.mm',
80 'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h',
81 'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm',
82 'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.h',
83 'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.mm',
84 'browser/ui/cocoa/browser/avatar_menu_bubble_controller.h',
85 'browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm',
86 'browser/ui/cocoa/browser_window_controller.h',
87 'browser/ui/cocoa/browser_window_controller.mm',
88 'browser/ui/cocoa/browser_window_controller_private.h',
89 'browser/ui/cocoa/browser_window_controller_private.mm',
90 'browser/ui/cocoa/chrome_browser_window.h',
91 'browser/ui/cocoa/chrome_browser_window.mm',
92 'browser/ui/cocoa/chrome_event_processing_window.h',
93 'browser/ui/cocoa/chrome_event_processing_window.mm',
94 'browser/ui/cocoa/chrome_to_mobile_bubble_controller.h',
95 'browser/ui/cocoa/chrome_to_mobile_bubble_controller.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/hyperlink_button_cell.h',
165 'browser/ui/cocoa/hyperlink_button_cell.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/after_translate_infobar_controller.h',
173 'browser/ui/cocoa/infobars/after_translate_infobar_controller.mm',
174 'browser/ui/cocoa/infobars/alternate_nav_infobar_controller.h',
175 'browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm',
176 'browser/ui/cocoa/infobars/before_translate_infobar_controller.h',
177 'browser/ui/cocoa/infobars/before_translate_infobar_controller.mm',
178 'browser/ui/cocoa/infobars/confirm_infobar_controller.h',
179 'browser/ui/cocoa/infobars/confirm_infobar_controller.mm',
180 'browser/ui/cocoa/infobars/extension_infobar_controller.h',
181 'browser/ui/cocoa/infobars/extension_infobar_controller.mm',
182 'browser/ui/cocoa/infobars/infobar_container_controller.h',
183 'browser/ui/cocoa/infobars/infobar_container_controller.mm',
184 'browser/ui/cocoa/infobars/infobar_controller.h',
185 'browser/ui/cocoa/infobars/infobar_controller.mm',
186 'browser/ui/cocoa/infobars/infobar_gradient_view.h',
187 'browser/ui/cocoa/infobars/infobar_gradient_view.mm',
188 'browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.h',
189 'browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm',
190 'browser/ui/cocoa/location_bar/autocomplete_text_field.h',
191 'browser/ui/cocoa/location_bar/autocomplete_text_field.mm',
192 'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h',
193 'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm',
194 'browser/ui/cocoa/login_prompt_cocoa.h',
195 'browser/ui/cocoa/login_prompt_cocoa.mm',
196 'browser/ui/cocoa/menu_button.h',
197 'browser/ui/cocoa/menu_button.mm',
198 'browser/ui/cocoa/multi_key_equivalent_button.h',
199 'browser/ui/cocoa/multi_key_equivalent_button.mm',
200 'browser/ui/cocoa/new_tab_button.h',
201 'browser/ui/cocoa/new_tab_button.mm',
202 'browser/ui/cocoa/notifications/balloon_controller.h',
203 'browser/ui/cocoa/notifications/balloon_controller.mm',
204 'browser/ui/cocoa/notifications/balloon_view.h',
205 'browser/ui/cocoa/notifications/balloon_view.mm',
206 'browser/ui/cocoa/nsmenuitem_additions.h',
207 'browser/ui/cocoa/nsmenuitem_additions.mm',
208 'browser/ui/cocoa/nsview_additions.h',
209 'browser/ui/cocoa/nsview_additions.mm',
210 'browser/ui/cocoa/one_click_signin_view_controller.h',
211 'browser/ui/cocoa/one_click_signin_view_controller.mm',
212 'browser/ui/cocoa/screen_capture_notification_ui_cocoa.h',
213 'browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm',
214 'browser/ui/cocoa/speech_recognition_window_controller.h',
215 'browser/ui/cocoa/speech_recognition_window_controller.mm',
216 'browser/ui/cocoa/status_bubble_mac.h',
217 'browser/ui/cocoa/status_bubble_mac.mm',
218 'browser/ui/cocoa/styled_text_field.h',
219 'browser/ui/cocoa/styled_text_field.mm',
220 'browser/ui/cocoa/styled_text_field_cell.h',
221 'browser/ui/cocoa/styled_text_field_cell.mm',
222 'browser/ui/cocoa/tab_contents/overlayable_contents_controller.h',
223 'browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm',
224 'browser/ui/cocoa/tab_contents/sad_tab_controller.h',
225 'browser/ui/cocoa/tab_contents/sad_tab_controller.mm',
226 'browser/ui/cocoa/tab_contents/sad_tab_view.h',
227 'browser/ui/cocoa/tab_contents/sad_tab_view.mm',
228 'browser/ui/cocoa/tabs/tab_controller.h',
229 'browser/ui/cocoa/tabs/tab_controller.mm',
230 'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h',
231 'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm',
232 'browser/ui/cocoa/tabs/tab_strip_view.h',
233 'browser/ui/cocoa/tabs/tab_strip_view.mm',
234 'browser/ui/cocoa/tabs/tab_view.h',
235 'browser/ui/cocoa/tabs/tab_view.mm',
236 'browser/ui/cocoa/tabs/tab_window_controller.h',
237 'browser/ui/cocoa/tabs/tab_window_controller.mm',
238 'browser/ui/cocoa/task_manager_mac.h',
239 'browser/ui/cocoa/task_manager_mac.mm',
240 'browser/ui/cocoa/themed_window.h',
241 'browser/ui/cocoa/themed_window.mm',
242 'browser/ui/cocoa/toolbar/reload_button.h',
243 'browser/ui/cocoa/toolbar/reload_button.mm',
244 'browser/ui/cocoa/toolbar/toolbar_button.h',
245 'browser/ui/cocoa/toolbar/toolbar_button.mm',
246 'browser/ui/cocoa/toolbar/toolbar_controller.h',
247 'browser/ui/cocoa/toolbar/toolbar_controller.mm',
248 'browser/ui/cocoa/toolbar/toolbar_view.h',
249 'browser/ui/cocoa/toolbar/toolbar_view.mm',
250 'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.h',
251 'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm',
252 'browser/ui/cocoa/ui_localizer.h',
253 'browser/ui/cocoa/ui_localizer.mm',
254 'browser/ui/cocoa/vertical_gradient_view.h',
255 'browser/ui/cocoa/vertical_gradient_view.mm',
256 'browser/ui/cocoa/view_id_util.h',
257 'browser/ui/cocoa/view_id_util.mm',
258 'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h',
259 'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.mm',
260 'browser/ui/cocoa/wrench_menu/wrench_menu_controller.h',
261 'browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm',
262 'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h',
263 'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm',
264 'browser/ui/cocoa/panels/panel_window_controller_cocoa.h',
265 'browser/ui/cocoa/panels/panel_window_controller_cocoa.mm',
267 'mac_bundle_resources': [
270 }, # target chrome_xibs