Add a function to create a bookmark app from a WebApplicationInfo.
[chromium-blink-merge.git] / chrome / chrome_nibs.gyp
blob5b1b982e6a03d28c0be244eff786165d80945010
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       'dependencies': [
38         '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
39       ],
40       'sources': [
41         '../ui/base/cocoa/base_view.h',
42         '../ui/base/cocoa/base_view.mm',
43         '../ui/base/cocoa/controls/hyperlink_button_cell.h',
44         '../ui/base/cocoa/controls/hyperlink_button_cell.mm',
45         '../ui/base/cocoa/hover_button.h',
46         '../ui/base/cocoa/hover_button.mm',
47         '../ui/base/cocoa/hover_image_button.h',
48         '../ui/base/cocoa/hover_image_button.mm',
49         '../ui/base/cocoa/menu_controller.h',
50         '../ui/base/cocoa/menu_controller.mm',
51         'browser/ui/cocoa/about_ipc_controller.h',
52         'browser/ui/cocoa/about_ipc_controller.mm',
53         'browser/ui/cocoa/animatable_view.h',
54         'browser/ui/cocoa/animatable_view.mm',
55         'browser/ui/cocoa/background_gradient_view.h',
56         'browser/ui/cocoa/background_gradient_view.mm',
57         'browser/ui/cocoa/base_bubble_controller.h',
58         'browser/ui/cocoa/base_bubble_controller.mm',
59         'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h',
60         'browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.mm',
61         'browser/ui/cocoa/bookmarks/bookmark_bar_controller.h',
62         'browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm',
63         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h',
64         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm',
65         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h',
66         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm',
67         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h',
68         'browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.mm',
69         'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h',
70         'browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm',
71         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.h',
72         'browser/ui/cocoa/bookmarks/bookmark_bar_unittest_helper.mm',
73         'browser/ui/cocoa/bookmarks/bookmark_bar_view.h',
74         'browser/ui/cocoa/bookmarks/bookmark_bar_view.mm',
75         'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h',
76         'browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm',
77         'browser/ui/cocoa/bookmarks/bookmark_button.h',
78         'browser/ui/cocoa/bookmarks/bookmark_button.mm',
79         'browser/ui/cocoa/bookmarks/bookmark_button_cell.h',
80         'browser/ui/cocoa/bookmarks/bookmark_button_cell.mm',
81         'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h',
82         'browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm',
83         'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.h',
84         'browser/ui/cocoa/bookmarks/bookmark_name_folder_controller.mm',
85         'browser/ui/cocoa/browser/avatar_menu_bubble_controller.h',
86         'browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm',
87         'browser/ui/cocoa/browser_window_controller.h',
88         'browser/ui/cocoa/browser_window_controller.mm',
89         'browser/ui/cocoa/browser_window_controller_private.h',
90         'browser/ui/cocoa/browser_window_controller_private.mm',
91         'browser/ui/cocoa/chrome_browser_window.h',
92         'browser/ui/cocoa/chrome_browser_window.mm',
93         'browser/ui/cocoa/chrome_event_processing_window.h',
94         'browser/ui/cocoa/chrome_event_processing_window.mm',
95         'browser/ui/cocoa/clickhold_button_cell.h',
96         'browser/ui/cocoa/clickhold_button_cell.mm',
97         'browser/ui/cocoa/content_settings/collected_cookies_mac.h',
98         'browser/ui/cocoa/content_settings/collected_cookies_mac.mm',
99         'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h',
100         'browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm',
101         'browser/ui/cocoa/content_settings/cookie_details_view_controller.h',
102         'browser/ui/cocoa/content_settings/cookie_details_view_controller.mm',
103         'browser/ui/cocoa/custom_frame_view.h',
104         'browser/ui/cocoa/custom_frame_view.mm',
105         'browser/ui/cocoa/download/download_item_button.h',
106         'browser/ui/cocoa/download/download_item_button.mm',
107         'browser/ui/cocoa/download/download_item_cell.h',
108         'browser/ui/cocoa/download/download_item_cell.mm',
109         'browser/ui/cocoa/download/download_item_controller.h',
110         'browser/ui/cocoa/download/download_item_controller.mm',
111         'browser/ui/cocoa/download/download_shelf_controller.h',
112         'browser/ui/cocoa/download/download_shelf_controller.mm',
113         'browser/ui/cocoa/download/download_shelf_view.h',
114         'browser/ui/cocoa/download/download_shelf_view.mm',
115         'browser/ui/cocoa/download/download_show_all_button.h',
116         'browser/ui/cocoa/download/download_show_all_button.mm',
117         'browser/ui/cocoa/download/download_show_all_cell.h',
118         'browser/ui/cocoa/download/download_show_all_cell.mm',
119         'browser/ui/cocoa/draggable_button.h',
120         'browser/ui/cocoa/draggable_button.mm',
121         'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h',
122         'browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.mm',
123         'browser/ui/cocoa/constrained_window/constrained_window_button.h',
124         'browser/ui/cocoa/constrained_window/constrained_window_button.mm',
125         'browser/ui/cocoa/constrained_window/constrained_window_custom_window.h',
126         'browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm',
127         'browser/ui/cocoa/extensions/browser_actions_container_view.h',
128         'browser/ui/cocoa/extensions/browser_actions_container_view.mm',
129         'browser/ui/cocoa/extensions/extension_install_dialog_controller.h',
130         'browser/ui/cocoa/extensions/extension_install_dialog_controller.mm',
131         'browser/ui/cocoa/extensions/extension_install_view_controller.h',
132         'browser/ui/cocoa/extensions/extension_install_view_controller.mm',
133         'browser/ui/cocoa/extensions/extension_installed_bubble_controller.h',
134         'browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm',
135         'browser/ui/cocoa/fast_resize_view.h',
136         'browser/ui/cocoa/fast_resize_view.mm',
137         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h',
138         'browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm',
139         'browser/ui/cocoa/find_bar/find_bar_text_field.h',
140         'browser/ui/cocoa/find_bar/find_bar_text_field.mm',
141         'browser/ui/cocoa/find_bar/find_bar_text_field_cell.h',
142         'browser/ui/cocoa/find_bar/find_bar_text_field_cell.mm',
143         'browser/ui/cocoa/find_bar/find_bar_view.h',
144         'browser/ui/cocoa/find_bar/find_bar_view.mm',
145         'browser/ui/cocoa/first_run_bubble_controller.h',
146         'browser/ui/cocoa/first_run_bubble_controller.mm',
147         'browser/ui/cocoa/first_run_dialog.h',
148         'browser/ui/cocoa/first_run_dialog.mm',
149         'browser/ui/cocoa/framed_browser_window.h',
150         'browser/ui/cocoa/framed_browser_window.mm',
151         'browser/ui/cocoa/fullscreen_exit_bubble_controller.h',
152         'browser/ui/cocoa/fullscreen_exit_bubble_controller.mm',
153         'browser/ui/cocoa/fullscreen_exit_bubble_view.h',
154         'browser/ui/cocoa/fullscreen_exit_bubble_view.mm',
155         'browser/ui/cocoa/global_error_bubble_controller.h',
156         'browser/ui/cocoa/global_error_bubble_controller.mm',
157         'browser/ui/cocoa/gradient_button_cell.h',
158         'browser/ui/cocoa/gradient_button_cell.mm',
159         'browser/ui/cocoa/hover_close_button.h',
160         'browser/ui/cocoa/hover_close_button.mm',
161         'browser/ui/cocoa/hung_renderer_controller.h',
162         'browser/ui/cocoa/hung_renderer_controller.mm',
163         'browser/ui/cocoa/image_button_cell.h',
164         'browser/ui/cocoa/image_button_cell.mm',
165         'browser/ui/cocoa/info_bubble_view.h',
166         'browser/ui/cocoa/info_bubble_view.mm',
167         'browser/ui/cocoa/info_bubble_window.h',
168         'browser/ui/cocoa/info_bubble_window.mm',
169         'browser/ui/cocoa/infobars/infobar_controller.h',
170         'browser/ui/cocoa/infobars/infobar_controller.mm',
171         'browser/ui/cocoa/infobars/infobar_gradient_view.h',
172         'browser/ui/cocoa/infobars/infobar_gradient_view.mm',
173         'browser/ui/cocoa/location_bar/autocomplete_text_field.h',
174         'browser/ui/cocoa/location_bar/autocomplete_text_field.mm',
175         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h',
176         'browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm',
177         'browser/ui/cocoa/login_prompt_cocoa.h',
178         'browser/ui/cocoa/login_prompt_cocoa.mm',
179         'browser/ui/cocoa/menu_button.h',
180         'browser/ui/cocoa/menu_button.mm',
181         'browser/ui/cocoa/multi_key_equivalent_button.h',
182         'browser/ui/cocoa/multi_key_equivalent_button.mm',
183         'browser/ui/cocoa/new_tab_button.h',
184         'browser/ui/cocoa/new_tab_button.mm',
185         'browser/ui/cocoa/notifications/balloon_controller.h',
186         'browser/ui/cocoa/notifications/balloon_controller.mm',
187         'browser/ui/cocoa/notifications/balloon_view.h',
188         'browser/ui/cocoa/notifications/balloon_view.mm',
189         'browser/ui/cocoa/nsmenuitem_additions.h',
190         'browser/ui/cocoa/nsmenuitem_additions.mm',
191         'browser/ui/cocoa/nsview_additions.h',
192         'browser/ui/cocoa/nsview_additions.mm',
193         'browser/ui/cocoa/one_click_signin_view_controller.h',
194         'browser/ui/cocoa/one_click_signin_view_controller.mm',
195         'browser/ui/cocoa/screen_capture_notification_ui_cocoa.h',
196         'browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm',
197         'browser/ui/cocoa/speech_recognition_window_controller.h',
198         'browser/ui/cocoa/speech_recognition_window_controller.mm',
199         'browser/ui/cocoa/status_bubble_mac.h',
200         'browser/ui/cocoa/status_bubble_mac.mm',
201         'browser/ui/cocoa/styled_text_field.h',
202         'browser/ui/cocoa/styled_text_field.mm',
203         'browser/ui/cocoa/styled_text_field_cell.h',
204         'browser/ui/cocoa/styled_text_field_cell.mm',
205         'browser/ui/cocoa/tab_contents/overlayable_contents_controller.h',
206         'browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm',
207         'browser/ui/cocoa/tab_contents/sad_tab_controller.h',
208         'browser/ui/cocoa/tab_contents/sad_tab_controller.mm',
209         'browser/ui/cocoa/tab_contents/sad_tab_view.h',
210         'browser/ui/cocoa/tab_contents/sad_tab_view.mm',
211         'browser/ui/cocoa/tabs/tab_controller.h',
212         'browser/ui/cocoa/tabs/tab_controller.mm',
213         'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h',
214         'browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm',
215         'browser/ui/cocoa/tabs/tab_strip_view.h',
216         'browser/ui/cocoa/tabs/tab_strip_view.mm',
217         'browser/ui/cocoa/tabs/tab_view.h',
218         'browser/ui/cocoa/tabs/tab_view.mm',
219         'browser/ui/cocoa/tabs/tab_window_controller.h',
220         'browser/ui/cocoa/tabs/tab_window_controller.mm',
221         'browser/ui/cocoa/task_manager_mac.h',
222         'browser/ui/cocoa/task_manager_mac.mm',
223         'browser/ui/cocoa/themed_window.h',
224         'browser/ui/cocoa/themed_window.mm',
225         'browser/ui/cocoa/toolbar/reload_button.h',
226         'browser/ui/cocoa/toolbar/reload_button.mm',
227         'browser/ui/cocoa/toolbar/toolbar_button.h',
228         'browser/ui/cocoa/toolbar/toolbar_button.mm',
229         'browser/ui/cocoa/toolbar/toolbar_controller.h',
230         'browser/ui/cocoa/toolbar/toolbar_controller.mm',
231         'browser/ui/cocoa/toolbar/toolbar_view.h',
232         'browser/ui/cocoa/toolbar/toolbar_view.mm',
233         'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.h',
234         'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm',
235         'browser/ui/cocoa/ui_localizer.h',
236         'browser/ui/cocoa/ui_localizer.mm',
237         'browser/ui/cocoa/vertical_gradient_view.h',
238         'browser/ui/cocoa/vertical_gradient_view.mm',
239         'browser/ui/cocoa/view_id_util.h',
240         'browser/ui/cocoa/view_id_util.mm',
241         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.h',
242         'browser/ui/cocoa/wrench_menu/menu_tracked_root_view.mm',
243         'browser/ui/cocoa/wrench_menu/wrench_menu_controller.h',
244         'browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm',
245         'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h',
246         'browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm',
247         'browser/ui/cocoa/panels/panel_window_controller_cocoa.h',
248         'browser/ui/cocoa/panels/panel_window_controller_cocoa.mm',
249       ],
250       'mac_bundle_resources': [
251         '<@(mac_all_xibs)',
252       ],
253     },  # target chrome_xibs
254   ],  # targets