Experimental push messaging api reference docs.
[chromium-blink-merge.git] / ash / ash.gyp
blob07f3e0704f885b6809d403668ade00ca6bfc3479
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.
6   'variables': {
7     'chromium_code': 1,
8     'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
9   },
10   'includes': [
11     'ash_resources.gypi',
12   ],
13   'targets': [
14     {
15       'target_name': 'ash',
16       'type': '<(component)',
17       'dependencies': [
18         'ash_strings.gyp:ash_strings',
19         '../base/base.gyp:base',
20         '../base/base.gyp:base_i18n',
21         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
22         '../build/temp_gyp/googleurl.gyp:googleurl',
23         '../content/content.gyp:content',
24         '../content/content.gyp:content_browser',
25         '../ipc/ipc.gyp:ipc',
26         '../net/net.gyp:net',
27         '../skia/skia.gyp:skia',
28         '../third_party/icu/icu.gyp:icui18n',
29         '../third_party/icu/icu.gyp:icuuc',
30         '../ui/app_list/app_list.gyp:app_list',
31         '../ui/aura/aura.gyp:aura',
32         '../ui/base/strings/ui_strings.gyp:ui_strings',
33         '../ui/compositor/compositor.gyp:compositor',
34         '../ui/oak/oak.gyp:oak',
35         '../ui/ui.gyp:ui',
36         '../ui/ui.gyp:ui_resources',
37         '../ui/views/controls/webview/webview.gyp:webview',
38         '../ui/views/views.gyp:views',
39         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
40         'ash_resources',
41         'ash_wallpaper_resources',
42       ],
43       'defines': [
44         'ASH_IMPLEMENTATION',
45       ],
46       'sources': [
47         # All .cc, .h under ash, except unittests
48         'accelerators/accelerator_controller.cc',
49         'accelerators/accelerator_controller.h',
50         'accelerators/accelerator_dispatcher.cc',
51         'accelerators/accelerator_dispatcher.h',
52         'accelerators/accelerator_filter.cc',
53         'accelerators/accelerator_filter.h',
54         'accelerators/accelerator_table.cc',
55         'accelerators/accelerator_table.h',
56         'accelerators/focus_manager_factory.cc',
57         'accelerators/focus_manager_factory.h',
58         'accelerators/nested_dispatcher_controller.cc',
59         'accelerators/nested_dispatcher_controller.h',
60         'ash_constants.cc',
61         'ash_constants.h',
62         'ash_switches.cc',
63         'ash_switches.h',
64         'caps_lock_delegate.h',
65         'caps_lock_delegate_stub.cc',
66         'caps_lock_delegate_stub.h',
67         'desktop_background/desktop_background_controller.cc',
68         'desktop_background/desktop_background_controller.h',
69         'desktop_background/desktop_background_resources.cc',
70         'desktop_background/desktop_background_resources.h',
71         'desktop_background/desktop_background_view.cc',
72         'desktop_background/desktop_background_view.h',
73         'desktop_background/desktop_background_widget_controller.cc',
74         'desktop_background/desktop_background_widget_controller.h',
75         'display/display_controller.cc',
76         'display/display_controller.h',
77         'display/mouse_cursor_event_filter.cc',
78         'display/mouse_cursor_event_filter.h',
79         'display/multi_display_manager.cc',
80         'display/multi_display_manager.h',
81         'display/output_configurator_animation.cc',
82         'display/output_configurator_animation.h',
83         'display/screen_position_controller.cc',
84         'display/screen_position_controller.h',
85         'display/secondary_display_view.cc',
86         'display/secondary_display_view.h',
87         'display/shared_display_edge_indicator.cc',
88         'display/shared_display_edge_indicator.h',
89         'drag_drop/drag_drop_controller.cc',
90         'drag_drop/drag_drop_controller.h',
91         'drag_drop/drag_drop_tracker.cc',
92         'drag_drop/drag_drop_tracker.h',
93         'drag_drop/drag_image_view.cc',
94         'drag_drop/drag_image_view.h',
95         'event_rewriter_delegate.h',
96         'focus_cycler.cc',
97         'focus_cycler.h',
98         'high_contrast/high_contrast_controller.cc',
99         'high_contrast/high_contrast_controller.h',
100         'launcher/app_list_button.cc',
101         'launcher/app_list_button.h',
102         'launcher/background_animator.cc',
103         'launcher/background_animator.h',
104         'launcher/launcher.cc',
105         'launcher/launcher.h',
106         'launcher/launcher_alignment_menu.cc',
107         'launcher/launcher_alignment_menu.h',
108         'launcher/launcher_button.cc',
109         'launcher/launcher_button.h',
110         'launcher/launcher_context_menu.cc',
111         'launcher/launcher_context_menu.h',
112         'launcher/launcher_delegate.h',
113         'launcher/launcher_icon_observer.h',
114         'launcher/launcher_model.cc',
115         'launcher/launcher_model.h',
116         'launcher/launcher_model_observer.h',
117         'launcher/launcher_navigator.cc',
118         'launcher/launcher_navigator.h',
119         'launcher/launcher_tooltip_manager.cc',
120         'launcher/launcher_tooltip_manager.h',
121         'launcher/launcher_types.cc',
122         'launcher/launcher_types.h',
123         'launcher/launcher_view.cc',
124         'launcher/launcher_view.h',
125         'launcher/overflow_bubble.cc',
126         'launcher/overflow_bubble.h',
127         'launcher/overflow_button.cc',
128         'launcher/overflow_button.h',
129         'launcher/tabbed_launcher_button.cc',
130         'launcher/tabbed_launcher_button.h',
131         'magnifier/magnification_controller.cc',
132         'magnifier/magnification_controller.h',
133         'keyboard_overlay/keyboard_overlay_delegate.cc',
134         'keyboard_overlay/keyboard_overlay_delegate.h',
135         'keyboard_overlay/keyboard_overlay_view.cc',
136         'keyboard_overlay/keyboard_overlay_view.h',
137         'root_window_controller.cc',
138         'root_window_controller.h',
139         'rotator/screen_rotation.cc',
140         'rotator/screen_rotation.h',
141         'screen_ash.cc',
142         'screen_ash.h',
143         'screensaver/screensaver_view.cc',
144         'screensaver/screensaver_view.h',
145         'screenshot_delegate.h',
146         'shell.cc',
147         'shell.h',
148         'shell_context_menu.cc',
149         'shell_context_menu.h',
150         'shell_delegate.h',
151         'shell_factory.h',
152         'shell_window_ids.h',
153         'system/audio/audio_observer.h',
154         'system/audio/tray_volume.cc',
155         'system/audio/tray_volume.h',
156         'system/bluetooth/bluetooth_observer.h',
157         'system/bluetooth/tray_bluetooth.cc',
158         'system/bluetooth/tray_bluetooth.h',
159         'system/brightness/brightness_observer.h',
160         'system/brightness/brightness_control_delegate.h',
161         'system/brightness/tray_brightness.cc',
162         'system/brightness/tray_brightness.h',
163         'system/date/clock_observer.h',
164         'system/date/date_view.cc',
165         'system/date/date_view.h',
166         'system/date/tray_date.cc',
167         'system/date/tray_date.h',
168         'system/drive/drive_observer.h',
169         'system/drive/tray_drive.cc',
170         'system/drive/tray_drive.h',
171         'system/ime/ime_observer.h',
172         'system/ime/tray_ime.cc',
173         'system/ime/tray_ime.h',
174         'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
175         'system/locale/tray_locale.cc',
176         'system/locale/tray_locale.h',
177         'system/network/network_observer.h',
178         'system/network/tray_network.cc',
179         'system/network/tray_network.h',
180         'system/network/tray_sms.cc',
181         'system/network/tray_sms.h',
182         'system/power/power_status_observer.h',
183         'system/power/power_status_view.cc',
184         'system/power/power_status_view.h',
185         'system/power/power_supply_status.cc',
186         'system/power/power_supply_status.h',
187         'system/power/tray_power.cc',
188         'system/power/tray_power.h',
189         'system/settings/tray_settings.cc',
190         'system/settings/tray_settings.h',
191         'system/status_area_widget.cc',
192         'system/status_area_widget.h',
193         'system/status_area_widget_delegate.cc',
194         'system/status_area_widget_delegate.h',
195         'system/tray/system_tray.cc',
196         'system/tray/system_tray.h',
197         'system/tray/system_tray_bubble.cc',
198         'system/tray/system_tray_bubble.h',
199         'system/tray/system_tray_delegate.cc',
200         'system/tray/system_tray_delegate.h',
201         'system/tray/system_tray_item.cc',
202         'system/tray/system_tray_item.h',
203         'system/tray/tray_background_view.cc',
204         'system/tray/tray_background_view.h',
205         'system/tray/tray_bubble_view.cc',
206         'system/tray/tray_bubble_view.h',
207         'system/tray/tray_constants.cc',
208         'system/tray/tray_constants.h',
209         'system/tray/tray_details_view.cc',
210         'system/tray/tray_details_view.h',
211         'system/tray/tray_empty.cc',
212         'system/tray/tray_empty.h',
213         'system/tray/tray_image_item.cc',
214         'system/tray/tray_image_item.h',
215         'system/tray/tray_item_more.cc',
216         'system/tray/tray_item_more.h',
217         'system/tray/tray_item_view.cc',
218         'system/tray/tray_item_view.h',
219         'system/tray/tray_notification_view.cc',
220         'system/tray/tray_notification_view.h',
221         'system/tray/tray_views.cc',
222         'system/tray/tray_views.h',
223         'system/tray_accessibility.cc',
224         'system/tray_accessibility.h',
225         'system/tray_caps_lock.cc',
226         'system/tray_caps_lock.h',
227         'system/tray_display.cc',
228         'system/tray_display.h',
229         'system/tray_update.cc',
230         'system/tray_update.h',
231         'system/user/login_status.h',
232         'system/user/tray_user.cc',
233         'system/user/tray_user.h',
234         'system/user/update_observer.h',
235         'system/user/user_observer.h',
236         'system/web_notification/web_notification_tray.cc',
237         'system/web_notification/web_notification_tray.h',
238         'tooltips/tooltip_controller.cc',
239         'tooltips/tooltip_controller.h',
240         'touch/touch_observer_hud.cc',
241         'touch/touch_observer_hud.h',
242         'touch/touch_uma.cc',
243         'touch/touch_uma.h',
244         'ui_controls_ash.cc',
245         'volume_control_delegate.h',
246         'wm/app_list_controller.cc',
247         'wm/app_list_controller.h',
248         'wm/activation_controller.cc',
249         'wm/activation_controller.h',
250         'wm/always_on_top_controller.cc',
251         'wm/always_on_top_controller.h',
252         'wm/base_layout_manager.cc',
253         'wm/base_layout_manager.h',
254         'wm/capture_controller.cc',
255         'wm/capture_controller.h',
256         'wm/coordinate_conversion.cc',
257         'wm/coordinate_conversion.h',
258         'wm/cursor_manager.cc',
259         'wm/cursor_manager.h',
260         'wm/custom_frame_view_ash.cc',
261         'wm/custom_frame_view_ash.h',
262         'wm/default_window_resizer.cc',
263         'wm/default_window_resizer.h',
264         'wm/dialog_frame_view.cc',
265         'wm/dialog_frame_view.h',
266         'wm/event_client_impl.cc',
267         'wm/event_client_impl.h',
268         'wm/event_rewriter_event_filter.cc',
269         'wm/event_rewriter_event_filter.h',
270         'wm/frame_painter.cc',
271         'wm/frame_painter.h',
272         'wm/gestures/bezel_gesture_handler.cc',
273         'wm/gestures/bezel_gesture_handler.h',
274         'wm/gestures/long_press_affordance_handler.cc',
275         'wm/gestures/long_press_affordance_handler.h',
276         'wm/gestures/shelf_gesture_handler.cc',
277         'wm/gestures/shelf_gesture_handler.h',
278         'wm/gestures/system_pinch_handler.cc',
279         'wm/gestures/system_pinch_handler.h',
280         'wm/gestures/tray_gesture_handler.cc',
281         'wm/gestures/tray_gesture_handler.h',
282         'wm/gestures/two_finger_drag_handler.cc',
283         'wm/gestures/two_finger_drag_handler.h',
284         'wm/image_cursors.cc',
285         'wm/image_cursors.h',
286         'wm/image_grid.cc',
287         'wm/image_grid.h',
288         'wm/maximize_bubble_controller.cc',
289         'wm/maximize_bubble_controller.h',
290         'wm/overlay_event_filter.cc',
291         'wm/overlay_event_filter.h',
292         'wm/panel_frame_view.cc',
293         'wm/panel_frame_view.h',
294         'wm/panel_layout_manager.cc',
295         'wm/panel_layout_manager.h',
296         'wm/panel_window_event_filter.cc',
297         'wm/panel_window_event_filter.h',
298         'wm/partial_screenshot_view.cc',
299         'wm/partial_screenshot_view.h',
300         'wm/power_button_controller.cc',
301         'wm/power_button_controller.h',
302         'wm/property_util.cc',
303         'wm/property_util.h',
304         'wm/resize_shadow.cc',
305         'wm/resize_shadow.h',
306         'wm/resize_shadow_controller.cc',
307         'wm/resize_shadow_controller.h',
308         'wm/root_window_layout_manager.cc',
309         'wm/root_window_layout_manager.h',
310         'wm/screen_dimmer.cc',
311         'wm/screen_dimmer.h',
312         'wm/shadow.cc',
313         'wm/shadow.h',
314         'wm/shadow_controller.cc',
315         'wm/shadow_controller.h',
316         'wm/shadow_types.cc',
317         'wm/shadow_types.h',
318         'wm/shelf_layout_manager.cc',
319         'wm/shelf_layout_manager.h',
320         'wm/shelf_types.h',
321         'wm/stacking_controller.cc',
322         'wm/stacking_controller.h',
323         'wm/status_area_layout_manager.cc',
324         'wm/status_area_layout_manager.h',
325         'wm/system_gesture_event_filter.cc',
326         'wm/system_gesture_event_filter.h',
327         'wm/system_modal_container_event_filter.cc',
328         'wm/system_modal_container_event_filter.h',
329         'wm/system_modal_container_event_filter_delegate.h',
330         'wm/system_modal_container_layout_manager.cc',
331         'wm/system_modal_container_layout_manager.h',
332         'wm/toplevel_window_event_handler.cc',
333         'wm/toplevel_window_event_handler.h',
334         'wm/user_activity_detector.cc',
335         'wm/user_activity_detector.h',
336         'wm/user_activity_observer.h',
337         'wm/video_detector.cc',
338         'wm/video_detector.h',
339         'wm/visibility_controller.cc',
340         'wm/visibility_controller.h',
341         'wm/window_animation_delegate.cc',
342         'wm/window_animation_delegate.h',
343         'wm/window_animations.cc',
344         'wm/window_animations.h',
345         'wm/window_cycle_controller.cc',
346         'wm/window_cycle_controller.h',
347         'wm/window_cycle_list.cc',
348         'wm/window_cycle_list.h',
349         'wm/window_modality_controller.cc',
350         'wm/window_modality_controller.h',
351         'wm/window_properties.cc',
352         'wm/window_properties.h',
353         'wm/window_resizer.cc',
354         'wm/window_resizer.h',
355         'wm/window_util.cc',
356         'wm/window_util.h',
357         'wm/workspace_controller.cc',
358         'wm/workspace_controller.h',
359         'wm/workspace/base_workspace_manager.h',
360         'wm/workspace/frame_maximize_button.cc',
361         'wm/workspace/frame_maximize_button.h',
362         'wm/workspace/magnetism_matcher.cc',
363         'wm/workspace/magnetism_matcher.h',
364         'wm/workspace/managed_workspace.cc',
365         'wm/workspace/managed_workspace.h',
366         'wm/workspace/maximize_bubble_frame_state.h',
367         'wm/workspace/maximized_workspace.cc',
368         'wm/workspace/maximized_workspace.h',
369         'wm/workspace/multi_window_resize_controller.cc',
370         'wm/workspace/multi_window_resize_controller.h',
371         'wm/workspace/phantom_window_controller.cc',
372         'wm/workspace/phantom_window_controller.h',
373         'wm/workspace/snap_sizer.cc',
374         'wm/workspace/snap_sizer.h',
375         'wm/workspace/snap_types.h',
376         'wm/workspace/system_background_controller.cc',
377         'wm/workspace/system_background_controller.h',
378         'wm/workspace/workspace.cc',
379         'wm/workspace/workspace.h',
380         'wm/workspace/workspace2.cc',
381         'wm/workspace/workspace2.h',
382         'wm/workspace/workspace_event_handler.cc',
383         'wm/workspace/workspace_event_handler.h',
384         'wm/workspace/workspace_layout_manager.cc',
385         'wm/workspace/workspace_layout_manager.h',
386         'wm/workspace/workspace_layout_manager2.cc',
387         'wm/workspace/workspace_layout_manager2.h',
388         'wm/workspace/workspace_manager.cc',
389         'wm/workspace/workspace_manager.h',
390         'wm/workspace/workspace_manager2.cc',
391         'wm/workspace/workspace_manager2.h',
392         'wm/workspace/workspace_types.h',
393         'wm/workspace/workspace_window_resizer.cc',
394         'wm/workspace/workspace_window_resizer.h',
395       ],
396       'conditions': [
397         ['OS=="mac"', {
398           'sources/': [
399             ['exclude', 'accelerators/accelerator_controller.cc'],
400             ['exclude', 'accelerators/accelerator_controller.h'],
401             ['exclude', 'accelerators/accelerator_dispatcher.cc'],
402             ['exclude', 'accelerators/accelerator_dispatcher.h'],
403             ['exclude', 'accelerators/accelerator_filter.cc'],
404             ['exclude', 'accelerators/accelerator_filter.h'],
405             ['exclude', 'accelerators/nested_dispatcher_controller.cc'],
406             ['exclude', 'accelerators/nested_dispatcher_controller.h'],
407           ],
408         }],
409         ['chromeos==1', {
410           'dependencies': [
411             '../chromeos/chromeos.gyp:chromeos',
412           ],
413         }, { # else: chromeos!=1
414           'sources/': [
415             ['exclude', 'display/output_configurator_animation.cc'],
416             ['exclude', 'display/output_configurator_animation.h'],
417           ],
418         }],
419       ],
420     },
421     {
422       'target_name': 'ash_unittests',
423       'type': 'executable',
424       'dependencies': [
425         '../base/base.gyp:base',
426         '../base/base.gyp:test_support_base',
427         '../chrome/chrome_resources.gyp:packed_resources',
428         '../content/content.gyp:content_browser',
429         '../content/content.gyp:test_support_content',
430         '../build/temp_gyp/googleurl.gyp:googleurl',
431         '../skia/skia.gyp:skia',
432         '../testing/gtest.gyp:gtest',
433         '../third_party/icu/icu.gyp:icui18n',
434         '../third_party/icu/icu.gyp:icuuc',
435         '../ui/aura/aura.gyp:aura',
436         '../ui/aura/aura.gyp:test_support_aura',
437         '../ui/app_list/app_list.gyp:app_list',
438         '../ui/compositor/compositor.gyp:compositor',
439         '../ui/compositor/compositor.gyp:compositor_test_support',
440         '../ui/ui.gyp:ui',
441         '../ui/ui.gyp:ui_resources',
442         '../ui/ui.gyp:ui_test_support',
443         '../ui/views/views.gyp:views',
444         '../ui/views/views.gyp:views_examples_with_content_lib',
445         '../ui/views/views.gyp:test_support_views',
446         'ash',
447         'ash_resources',
448       ],
449       'sources': [
450         '../ui/views/test/test_views_delegate.cc',
451         '../ui/views/test/test_views_delegate.h',
452         'accelerators/accelerator_controller_unittest.cc',
453         'accelerators/accelerator_filter_unittest.cc',
454         'accelerators/accelerator_table_unittest.cc',
455         'accelerators/nested_dispatcher_controller_unittest.cc',
456         'dip_unittest.cc',
457         'display/display_controller_unittest.cc',
458         'display/mouse_cursor_event_filter_unittest.cc',
459         'display/multi_display_manager_unittest.cc',
460         'drag_drop/drag_drop_controller_unittest.cc',
461         'drag_drop/drag_drop_tracker_unittest.cc',
462         'extended_desktop_unittest.cc',
463         'focus_cycler_unittest.cc',
464         'launcher/launcher_context_menu_unittest.cc',
465         'launcher/launcher_model_unittest.cc',
466         'launcher/launcher_navigator_unittest.cc',
467         'launcher/launcher_tooltip_manager_unittest.cc',
468         'launcher/launcher_unittest.cc',
469         'launcher/launcher_view_unittest.cc',
470         'root_window_controller_unittest.cc',
471         'screen_ash_unittest.cc',
472         'screensaver/screensaver_view_unittest.cc',
473         'shell_unittest.cc',
474         'shell/app_list.cc',
475         'shell/bubble.cc',
476         'shell/launcher_delegate_impl.cc',
477         'shell/lock_view.cc',
478         'shell/panel_window.cc',
479         'shell/shell_delegate_impl.cc',
480         'shell/toplevel_window.cc',
481         'shell/widgets.cc',
482         'shell/window_type_launcher.cc',
483         'shell/window_watcher.cc',
484         'shell/window_watcher_unittest.cc',
485         'system/tray/system_tray_unittest.cc',
486         'system/web_notification/web_notification_tray_unittest.cc',
487         'test/ash_test_base.cc',
488         'test/ash_test_base.h',
489         'test/ash_unittests.cc',
490         'test/capture_tracking_view.cc',
491         'test/capture_tracking_view.h',
492         'test/launcher_view_test_api.cc',
493         'test/launcher_view_test_api.h',
494         'test/test_activation_delegate.cc',
495         'test/test_activation_delegate.h',
496         'test/test_launcher_delegate.cc',
497         'test/test_launcher_delegate.h',
498         'test/test_shell_delegate.cc',
499         'test/test_shell_delegate.h',
500         'test/test_suite.cc',
501         'test/test_suite.h',
502         'test/test_suite_init.h',
503         'test/test_suite_init.mm',
504         'tooltips/tooltip_controller_unittest.cc',
505         'wm/activation_controller_unittest.cc',
506         'wm/base_layout_manager_unittest.cc',
507         'wm/custom_frame_view_ash_unittest.cc',
508         'wm/frame_painter_unittest.cc',
509         'wm/image_grid_unittest.cc',
510         'wm/panel_layout_manager_unittest.cc',
511         'wm/power_button_controller_unittest.cc',
512         'wm/screen_dimmer_unittest.cc',
513         'wm/shadow_controller_unittest.cc',
514         'wm/shelf_layout_manager_unittest.cc',
515         'wm/system_gesture_event_filter_unittest.cc',
516         'wm/system_modal_container_layout_manager_unittest.cc',
517         'wm/toplevel_window_event_handler_unittest.cc',
518         'wm/user_activity_detector_unittest.cc',
519         'wm/video_detector_unittest.cc',
520         'wm/visibility_controller_unittest.cc',
521         'wm/window_animations_unittest.cc',
522         'wm/window_cycle_controller_unittest.cc',
523         'wm/window_manager_unittest.cc',
524         'wm/window_modality_controller_unittest.cc',
525         'wm/workspace_controller_test_helper.cc',
526         'wm/workspace_controller_test_helper.h',
527         'wm/workspace/magnetism_matcher_unittest.cc',
528         'wm/workspace/multi_window_resize_controller_unittest.cc',
529         'wm/workspace/workspace_event_handler_test_helper.cc',
530         'wm/workspace/workspace_event_handler_test_helper.h',
531         'wm/workspace/workspace_event_handler_unittest.cc',
532         'wm/workspace/workspace_layout_manager2_unittest.cc',
533         'wm/workspace/workspace_manager_unittest.cc',
534         'wm/workspace/workspace_manager2_unittest.cc',
535         'wm/workspace/workspace_window_resizer_unittest.cc',
536       ],
537       'conditions': [
538         ['use_ibus==1', {
539           'dependencies': [
540             '../build/linux/system.gyp:ibus',
541           ],
542         }],
543         ['OS=="win"', {
544           # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
545           'sources/': [
546             ['exclude', 'focus_cycler_unittest.cc'],
547           ],
548         }],
549         ['OS=="mac"', {
550           'sources/': [
551             ['exclude', 'accelerators/accelerator_controller_unittest.cc'],
552             ['exclude', 'accelerators/accelerator_filter_unittest.cc'],
553             ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
554             ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'],
555             ['exclude', 'tooltips/tooltip_controller_unittest.cc'],
556           ],
557           'dependencies': [
558             # Mac tests access resources via the 'AuraShell.app' directory.
559             'ash_shell',
560           ],
561           # Special linker instructions that avoids stripping Obj-C classes that
562           # are not referenced in code, but are referenced in nibs.
563           'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
564         }],
565       ],
566     },
567     {
568       'target_name': 'ash_shell',
569       'type': 'executable',
570       'dependencies': [
571         '../base/base.gyp:base',
572         '../base/base.gyp:base_i18n',
573         '../chrome/chrome_resources.gyp:packed_resources',
574         '../content/content.gyp:content_shell_lib',
575         '../content/content.gyp:content',
576         '../skia/skia.gyp:skia',
577         '../third_party/icu/icu.gyp:icui18n',
578         '../third_party/icu/icu.gyp:icuuc',
579         '../ui/app_list/app_list.gyp:app_list',
580         '../ui/aura/aura.gyp:aura',
581         '../ui/compositor/compositor.gyp:compositor',
582         '../ui/compositor/compositor.gyp:compositor_test_support',
583         '../ui/ui.gyp:ui',
584         '../ui/ui.gyp:ui_resources',
585         '../ui/views/views.gyp:views',
586         '../ui/views/views.gyp:views_examples_with_content_lib',
587         '../ui/views/views.gyp:test_support_views',
588         'ash',
589         'ash_resources',
590       ],
591       'sources': [
592         'shell/app_list.cc',
593         'shell/bubble.cc',
594         'shell/content_client/shell_browser_main_parts.cc',
595         'shell/content_client/shell_browser_main_parts.h',
596         'shell/content_client/shell_content_browser_client.cc',
597         'shell/content_client/shell_content_browser_client.h',
598         'shell/content_client/shell_main_delegate.cc',
599         'shell/content_client/shell_main_delegate.h',
600         'shell/example_factory.h',
601         'shell/launcher_delegate_impl.cc',
602         'shell/launcher_delegate_impl.h',
603         'shell/lock_view.cc',
604         'shell/panel_window.cc',
605         'shell/panel_window.h',
606         'shell/shell_delegate_impl.cc',
607         'shell/shell_delegate_impl.h',
608         'shell/shell_main.cc',
609         'shell/shell_main_parts.cc',
610         'shell/shell_main_parts.h',
611         'shell/shell_main_parts_mac.mm',
612         'shell/toplevel_window.cc',
613         'shell/toplevel_window.h',
614         'shell/widgets.cc',
615         'shell/window_type_launcher.cc',
616         'shell/window_type_launcher.h',
617         'shell/window_watcher.cc',
618         'shell/window_watcher.h',
619         '../content/app/startup_helper_win.cc',
620         '../ui/views/test/test_views_delegate.cc',
621       ],
622       'conditions': [
623         ['OS=="win"', {
624           'msvs_settings': {
625             'VCLinkerTool': {
626               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
627             },
628           },
629           'dependencies': [
630             '../sandbox/sandbox.gyp:sandbox',
631           ],          
632         }],
633         ['OS=="mac"', {
634           'product_name': 'AuraShell',
635           'mac_bundle': 1,
636           'sources/': [
637             ['exclude', 'shell/shell_main_parts.cc'],
638           ],
639           'mac_bundle_resources': [
640             'shell/cocoa/app.icns',
641             'shell/cocoa/app-Info.plist',
642             'shell/cocoa/nibs/MainMenu.xib',
643             'shell/cocoa/nibs/RootWindow.xib',
644             '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
645             '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
646           ],
647           'mac_bundle_resources!': [
648             'shell/cocoa/app-Info.plist',
649           ],
650           'xcode_settings': {
651             'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist',
652           },
653         }],
654       ],
655     },
656   ],