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