Removed unused ZoomFactor IPC message.
[chromium-blink-merge.git] / ash / ash.gyp
blob7d8688fdb6766693ca1703de31a04d4ff5102780
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         '../base/base.gyp:base',
19         '../base/base.gyp:base_i18n',
20         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
21         '../cc/cc.gyp:cc',
22         '../content/content.gyp:content_browser',
23         '../media/media.gyp:media',
24         '../net/net.gyp:net',
25         '../skia/skia.gyp:skia',
26         '../third_party/icu/icu.gyp:icui18n',
27         '../third_party/icu/icu.gyp:icuuc',
28         '../ui/app_list/app_list.gyp:app_list',
29         '../ui/aura/aura.gyp:aura',
30         '../ui/base/strings/ui_strings.gyp:ui_strings',
31         '../ui/base/ui_base.gyp:ui_base',
32         '../ui/compositor/compositor.gyp:compositor',
33         '../ui/events/events.gyp:events',
34         '../ui/gfx/gfx.gyp:gfx',
35         '../ui/gfx/gfx.gyp:gfx_geometry',
36         '../ui/keyboard/keyboard.gyp:keyboard',
37         '../ui/message_center/message_center.gyp:message_center',
38         '../ui/resources/ui_resources.gyp:ui_resources',
39         '../ui/views/controls/webview/webview.gyp:webview',
40         '../ui/views/views.gyp:views',
41         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
42         '../ui/wm/wm.gyp:wm_public',
43         '../url/url.gyp:url_lib',
44         'ash_strings.gyp:ash_strings',
45         'ash_resources',
46       ],
47       'defines': [
48         'ASH_IMPLEMENTATION',
49       ],
50       'sources': [
51         # All .cc, .h under ash, except unittests
52         'accelerators/accelerator_commands.cc',
53         'accelerators/accelerator_commands.h',
54         'accelerators/accelerator_controller.cc',
55         'accelerators/accelerator_controller.h',
56         'accelerators/accelerator_dispatcher.cc',
57         'accelerators/accelerator_dispatcher.h',
58         'accelerators/accelerator_filter.cc',
59         'accelerators/accelerator_filter.h',
60         'accelerators/accelerator_table.cc',
61         'accelerators/accelerator_table.h',
62         'accelerators/debug_commands.cc',
63         'accelerators/debug_commands.h',
64         'accelerators/exit_warning_handler.cc',
65         'accelerators/exit_warning_handler.h',
66         'accelerators/key_hold_detector.cc',
67         'accelerators/key_hold_detector.h',
68         'accelerators/focus_manager_factory.cc',
69         'accelerators/focus_manager_factory.h',
70         'accelerators/magnifier_key_scroller.cc',
71         'accelerators/magnifier_key_scroller.h',
72         'accelerators/nested_dispatcher_controller.cc',
73         'accelerators/nested_dispatcher_controller.h',
74         'accelerators/spoken_feedback_toggler.cc',
75         'accelerators/spoken_feedback_toggler.h',
76         'accessibility_delegate.h',
77         'audio/sounds.cc',
78         'audio/sounds.h',
79         'autoclick/autoclick_controller.cc',
80         'autoclick/autoclick_controller.h',
81         'ash_constants.cc',
82         'ash_constants.h',
83         'ash_switches.cc',
84         'ash_switches.h',
85         'cancel_mode.cc',
86         'cancel_mode.h',
87         'debug.cc',
88         'debug.h',
89         'default_accessibility_delegate.cc',
90         'default_accessibility_delegate.h',
91         'default_user_wallpaper_delegate.cc',
92         'default_user_wallpaper_delegate.h',
93         'desktop_background/desktop_background_controller.cc',
94         'desktop_background/desktop_background_controller.h',
95         'desktop_background/desktop_background_controller_observer.h',
96         'desktop_background/desktop_background_view.cc',
97         'desktop_background/desktop_background_view.h',
98         'desktop_background/desktop_background_widget_controller.cc',
99         'desktop_background/desktop_background_widget_controller.h',
100         'desktop_background/user_wallpaper_delegate.h',
101         'desktop_background/wallpaper_resizer.cc',
102         'desktop_background/wallpaper_resizer.h',
103         'desktop_background/wallpaper_resizer_observer.h',
104         'display/cursor_window_controller.cc',
105         'display/cursor_window_controller.h',
106         'display/display_change_observer_chromeos.cc',
107         'display/display_change_observer_chromeos.h',
108         'display/display_controller.cc',
109         'display/display_controller.h',
110         'display/display_error_observer_chromeos.cc',
111         'display/display_error_observer_chromeos.h',
112         'display/display_info.h',
113         'display/display_info.cc',
114         'display/display_layout.h',
115         'display/display_layout.cc',
116         'display/display_layout_store.h',
117         'display/display_layout_store.cc',
118         'display/display_manager.cc',
119         'display/display_manager.h',
120         'display/display_pref_util.h',
121         'display/event_transformation_handler.cc',
122         'display/event_transformation_handler.h',
123         'display/mirror_window_controller.cc',
124         'display/mirror_window_controller.h',
125         'display/mouse_cursor_event_filter.cc',
126         'display/mouse_cursor_event_filter.h',
127         'display/output_configurator_animation.cc',
128         'display/output_configurator_animation.h',
129         'display/projecting_observer_chromeos.cc',
130         'display/projecting_observer_chromeos.h',
131         'display/resolution_notification_controller.cc',
132         'display/resolution_notification_controller.h',
133         'display/root_window_transformers.cc',
134         'display/root_window_transformers.h',
135         'display/screen_ash.cc',
136         'display/screen_ash.h',
137         'display/screen_position_controller.cc',
138         'display/screen_position_controller.h',
139         'display/shared_display_edge_indicator.cc',
140         'display/shared_display_edge_indicator.h',
141         'display/virtual_keyboard_window_controller.cc',
142         'display/virtual_keyboard_window_controller.h',
143         'drag_drop/drag_drop_controller.cc',
144         'drag_drop/drag_drop_controller.h',
145         'drag_drop/drag_drop_tracker.cc',
146         'drag_drop/drag_drop_tracker.h',
147         'drag_drop/drag_image_view.cc',
148         'drag_drop/drag_image_view.h',
149         'first_run/desktop_cleaner.cc',
150         'first_run/desktop_cleaner.h',
151         'first_run/first_run_helper.cc',
152         'first_run/first_run_helper.h',
153         'first_run/first_run_helper_impl.cc',
154         'first_run/first_run_helper_impl.h',
155         'focus_cycler.cc',
156         'focus_cycler.h',
157         'frame/caption_buttons/alternate_frame_size_button.cc',
158         'frame/caption_buttons/alternate_frame_size_button.h',
159         'frame/caption_buttons/alternate_frame_size_button_delegate.h',
160         'frame/caption_buttons/bubble_contents_button_row.cc',
161         'frame/caption_buttons/bubble_contents_button_row.h',
162         'frame/caption_buttons/caption_button_types.h',
163         'frame/caption_buttons/frame_caption_button.cc',
164         'frame/caption_buttons/frame_caption_button.h',
165         'frame/caption_buttons/frame_caption_button_container_view.cc',
166         'frame/caption_buttons/frame_caption_button_container_view.h',
167         'frame/caption_buttons/frame_maximize_button.cc',
168         'frame/caption_buttons/frame_maximize_button.h',
169         'frame/caption_buttons/frame_maximize_button_observer.h',
170         'frame/caption_buttons/maximize_bubble_controller.cc',
171         'frame/caption_buttons/maximize_bubble_controller.h',
172         'frame/caption_buttons/maximize_bubble_controller_bubble.cc',
173         'frame/caption_buttons/maximize_bubble_controller_bubble.h',
174         'frame/custom_frame_view_ash.cc',
175         'frame/custom_frame_view_ash.h',
176         'frame/frame_border_hit_test_controller.cc',
177         'frame/frame_border_hit_test_controller.h',
178         'frame/header_painter.cc',
179         'frame/header_painter.h',
180         'gpu_support.h',
181         'gpu_support_stub.cc',
182         'gpu_support_stub.h',
183         'high_contrast/high_contrast_controller.cc',
184         'high_contrast/high_contrast_controller.h',
185         'host/window_tree_host_factory.cc',
186         'host/window_tree_host_factory.h',
187         'host/window_tree_host_factory_win.cc',
188         'ime/candidate_view.cc',
189         'ime/candidate_view.h',
190         'ime/candidate_window_view.cc',
191         'ime/candidate_window_view.h',
192         'ime/infolist_window.cc',
193         'ime/infolist_window.h',
194         'ime/input_method_menu_item.cc',
195         'ime/input_method_menu_item.h',
196         'ime/input_method_menu_manager.cc',
197         'ime/input_method_menu_manager.h',
198         'ime/mode_indicator_view.cc',
199         'ime/mode_indicator_view.h',
200         'keyboard_uma_event_filter.cc',
201         'keyboard_uma_event_filter.h',
202         'magnifier/magnification_controller.cc',
203         'magnifier/magnification_controller.h',
204         'magnifier/magnifier_constants.h',
205         'magnifier/partial_magnification_controller.cc',
206         'magnifier/partial_magnification_controller.h',
207         'metrics/user_metrics_recorder.cc',
208         'metrics/user_metrics_recorder.h',
209         'multi_profile_uma.cc',
210         'multi_profile_uma.h',
211         'popup_message.cc',
212         'popup_message.h',
213         'root_window_controller.cc',
214         'root_window_controller.h',
215         'root_window_settings.cc',
216         'root_window_settings.h',
217         'rotator/screen_rotation.cc',
218         'rotator/screen_rotation.h',
219         'scoped_target_root_window.cc',
220         'scoped_target_root_window.h',
221         'screen_util.cc',
222         'screen_util.h',
223         'screenshot_delegate.h',
224         'session_state_delegate.h',
225         'session_state_observer.cc',
226         'session_state_observer.h',
227         'shelf/alternate_app_list_button.cc',
228         'shelf/alternate_app_list_button.h',
229         'shelf/app_list_button.cc',
230         'shelf/app_list_button.h',
231         'shelf/app_list_shelf_item_delegate.cc',
232         'shelf/app_list_shelf_item_delegate.h',
233         'shelf/background_animator.cc',
234         'shelf/background_animator.h',
235         'shelf/overflow_bubble.cc',
236         'shelf/overflow_bubble.h',
237         'shelf/overflow_bubble_view.cc',
238         'shelf/overflow_bubble_view.h',
239         'shelf/overflow_button.cc',
240         'shelf/overflow_button.h',
241         'shelf/scoped_observer_with_duplicated_sources.h',
242         'shelf/shelf.cc',
243         'shelf/shelf.h',
244         'shelf/shelf_alignment_menu.cc',
245         'shelf/shelf_alignment_menu.h',
246         'shelf/shelf_bezel_event_filter.cc',
247         'shelf/shelf_bezel_event_filter.h',
248         'shelf/shelf_button.cc',
249         'shelf/shelf_button.h',
250         'shelf/shelf_button_host.h',
251         'shelf/shelf_constants.cc',
252         'shelf/shelf_constants.h',
253         'shelf/shelf_delegate.h',
254         'shelf/shelf_icon_observer.h',
255         'shelf/shelf_item_delegate.h',
256         'shelf/shelf_item_delegate_manager.cc',
257         'shelf/shelf_item_delegate_manager.h',
258         'shelf/shelf_item_types.cc',
259         'shelf/shelf_item_types.h',
260         'shelf/shelf_layout_manager.cc',
261         'shelf/shelf_layout_manager.h',
262         'shelf/shelf_layout_manager_observer.h',
263         'shelf/shelf_menu_model.h',
264         'shelf/shelf_model.cc',
265         'shelf/shelf_model.h',
266         'shelf/shelf_model_observer.h',
267         'shelf/shelf_navigator.cc',
268         'shelf/shelf_navigator.h',
269         'shelf/shelf_tooltip_manager.cc',
270         'shelf/shelf_tooltip_manager.h',
271         'shelf/shelf_types.h',
272         'shelf/shelf_util.cc',
273         'shelf/shelf_util.h',
274         'shelf/shelf_view.cc',
275         'shelf/shelf_view.h',
276         'shelf/shelf_widget.cc',
277         'shelf/shelf_widget.h',
278         'shelf/shelf_window_watcher.cc',
279         'shelf/shelf_window_watcher.h',
280         'shelf/shelf_window_watcher_item_delegate.cc',
281         'shelf/shelf_window_watcher_item_delegate.h',
282         'shell.cc',
283         'shell.h',
284         'shell_delegate.h',
285         'shell_factory.h',
286         'shell_window_ids.h',
287         'sticky_keys/sticky_keys_state.h',
288         'sticky_keys/sticky_keys_controller.cc',
289         'sticky_keys/sticky_keys_controller.h',
290         'sticky_keys/sticky_keys_overlay.cc',
291         'sticky_keys/sticky_keys_overlay.h',
292         'switchable_windows.cc',
293         'switchable_windows.h',
294         'system/audio/audio_observer.h',
295         'system/audio/tray_audio.cc',
296         'system/audio/tray_audio.h',
297         'system/audio/tray_audio_delegate.h',
298         'system/audio/volume_view.cc',
299         'system/audio/volume_view.h',
300         'system/bluetooth/bluetooth_observer.h',
301         'system/bluetooth/tray_bluetooth.cc',
302         'system/bluetooth/tray_bluetooth.h',
303         'system/brightness_control_delegate.h',
304         'system/chromeos/audio/audio_detailed_view.cc',
305         'system/chromeos/audio/audio_detailed_view.h',
306         'system/chromeos/audio/tray_audio_chromeos.cc',
307         'system/chromeos/audio/tray_audio_chromeos.h',
308         'system/chromeos/audio/tray_audio_delegate_chromeos.cc',
309         'system/chromeos/audio/tray_audio_delegate_chromeos.h',
310         'system/chromeos/enterprise/enterprise_domain_observer.h',
311         'system/chromeos/bluetooth/bluetooth_notification_controller.cc',
312         'system/chromeos/bluetooth/bluetooth_notification_controller.h',
313         'system/chromeos/brightness/brightness_controller_chromeos.cc',
314         'system/chromeos/brightness/brightness_controller_chromeos.h',
315         'system/chromeos/brightness/tray_brightness.cc',
316         'system/chromeos/brightness/tray_brightness.h',
317         'system/chromeos/enterprise/tray_enterprise.h',
318         'system/chromeos/enterprise/tray_enterprise.cc',
319         'system/chromeos/keyboard_brightness_controller.cc',
320         'system/chromeos/keyboard_brightness_controller.h',
321         'system/chromeos/label_tray_view.h',
322         'system/chromeos/label_tray_view.cc',
323         'system/chromeos/managed/tray_locally_managed_user.h',
324         'system/chromeos/managed/tray_locally_managed_user.cc',
325         'system/chromeos/network/network_connect.cc',
326         'system/chromeos/network/network_connect.h',
327         'system/chromeos/network/network_detailed_view.h',
328         'system/chromeos/network/network_icon.cc',
329         'system/chromeos/network/network_icon.h',
330         'system/chromeos/network/network_icon_animation.cc',
331         'system/chromeos/network/network_icon_animation.h',
332         'system/chromeos/network/network_icon_animation_observer.h',
333         'system/chromeos/network/network_observer.h',
334         'system/chromeos/network/network_portal_detector_observer.h',
335         'system/chromeos/network/network_state_list_detailed_view.cc',
336         'system/chromeos/network/network_state_list_detailed_view.h',
337         'system/chromeos/network/network_state_notifier.cc',
338         'system/chromeos/network/network_state_notifier.h',
339         'system/chromeos/network/tray_network.cc',
340         'system/chromeos/network/tray_network.h',
341         'system/chromeos/network/tray_network_state_observer.cc',
342         'system/chromeos/network/tray_network_state_observer.h',
343         'system/chromeos/network/tray_sms.cc',
344         'system/chromeos/network/tray_sms.h',
345         'system/chromeos/network/tray_vpn.cc',
346         'system/chromeos/network/tray_vpn.h',
347         'system/chromeos/power/power_event_observer.cc',
348         'system/chromeos/power/power_event_observer.h',
349         'system/chromeos/power/power_status.cc',
350         'system/chromeos/power/power_status.h',
351         'system/chromeos/power/power_status_view.cc',
352         'system/chromeos/power/power_status_view.h',
353         'system/chromeos/power/tray_power.cc',
354         'system/chromeos/power/tray_power.h',
355         'system/chromeos/power/user_activity_notifier.cc',
356         'system/chromeos/power/user_activity_notifier.h',
357         'system/chromeos/power/video_activity_notifier.cc',
358         'system/chromeos/power/video_activity_notifier.h',
359         'system/chromeos/screen_security/screen_capture_observer.h',
360         'system/chromeos/screen_security/screen_capture_tray_item.cc',
361         'system/chromeos/screen_security/screen_capture_tray_item.h',
362         'system/chromeos/screen_security/screen_share_observer.h',
363         'system/chromeos/screen_security/screen_share_tray_item.cc',
364         'system/chromeos/screen_security/screen_share_tray_item.h',
365         'system/chromeos/screen_security/screen_tray_item.cc',
366         'system/chromeos/screen_security/screen_tray_item.h',
367         'system/chromeos/session/last_window_closed_observer.h',
368         'system/chromeos/session/last_window_closed_logout_reminder.cc',
369         'system/chromeos/session/last_window_closed_logout_reminder.h',
370         'system/chromeos/session/logout_button_observer.h',
371         'system/chromeos/session/logout_button_tray.cc',
372         'system/chromeos/session/logout_button_tray.h',
373         'system/chromeos/session/logout_confirmation_controller.cc',
374         'system/chromeos/session/logout_confirmation_controller.h',
375         'system/chromeos/session/logout_confirmation_dialog.cc',
376         'system/chromeos/session/logout_confirmation_dialog.h',
377         'system/chromeos/session/session_length_limit_observer.h',
378         'system/chromeos/session/tray_session_length_limit.cc',
379         'system/chromeos/session/tray_session_length_limit.h',
380         'system/chromeos/settings/tray_settings.cc',
381         'system/chromeos/settings/tray_settings.h',
382         'system/chromeos/system_clock_observer.cc',
383         'system/chromeos/system_clock_observer.h',
384         'system/chromeos/tray_caps_lock.cc',
385         'system/chromeos/tray_caps_lock.h',
386         'system/chromeos/tray_display.cc',
387         'system/chromeos/tray_display.h',
388         'system/chromeos/tray_tracing.cc',
389         'system/chromeos/tray_tracing.h',
390         'system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc',
391         'system/chromeos/virtual_keyboard/virtual_keyboard_tray.h',
392         'system/date/clock_observer.h',
393         'system/date/date_default_view.cc',
394         'system/date/date_default_view.h',
395         'system/date/date_view.cc',
396         'system/date/date_view.h',
397         'system/date/tray_date.cc',
398         'system/date/tray_date.h',
399         'system/drive/drive_observer.h',
400         'system/drive/tray_drive.cc',
401         'system/drive/tray_drive.h',
402         'system/ime/ime_observer.h',
403         'system/ime/tray_ime.cc',
404         'system/ime/tray_ime.h',
405         'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
406         'system/locale/locale_notification_controller.cc',
407         'system/locale/locale_notification_controller.h',
408         'system/overview/overview_button_tray.h',
409         'system/overview/overview_button_tray.cc',
410         'system/status_area_widget.cc',
411         'system/status_area_widget.h',
412         'system/status_area_widget_delegate.cc',
413         'system/status_area_widget_delegate.h',
414         'system/system_notifier.cc',
415         'system/system_notifier.h',
416         'system/tray/actionable_view.cc',
417         'system/tray/actionable_view.h',
418         'system/tray/default_system_tray_delegate.cc',
419         'system/tray/default_system_tray_delegate.h',
420         'system/tray/fixed_sized_image_view.cc',
421         'system/tray/fixed_sized_image_view.h',
422         'system/tray/fixed_sized_scroll_view.cc',
423         'system/tray/fixed_sized_scroll_view.h',
424         'system/tray/hover_highlight_view.cc',
425         'system/tray/hover_highlight_view.h',
426         'system/tray/special_popup_row.cc',
427         'system/tray/special_popup_row.h',
428         'system/tray/system_tray.cc',
429         'system/tray/system_tray.h',
430         'system/tray/system_tray_bubble.cc',
431         'system/tray/system_tray_bubble.h',
432         'system/tray/system_tray_delegate.cc',
433         'system/tray/system_tray_delegate.h',
434         'system/tray/system_tray_item.cc',
435         'system/tray/system_tray_item.h',
436         'system/tray/system_tray_notifier.cc',
437         'system/tray/system_tray_notifier.h',
438         'system/tray/throbber_view.cc',
439         'system/tray/throbber_view.h',
440         'system/tray/tray_background_view.cc',
441         'system/tray/tray_background_view.h',
442         'system/tray/tray_bar_button_with_title.cc',
443         'system/tray/tray_bar_button_with_title.h',
444         'system/tray/tray_bubble_wrapper.cc',
445         'system/tray/tray_bubble_wrapper.h',
446         'system/tray/tray_constants.cc',
447         'system/tray/tray_constants.h',
448         'system/tray/tray_details_view.cc',
449         'system/tray/tray_details_view.h',
450         'system/tray/tray_empty.cc',
451         'system/tray/tray_empty.h',
452         'system/tray/tray_event_filter.cc',
453         'system/tray/tray_event_filter.h',
454         'system/tray/tray_image_item.cc',
455         'system/tray/tray_image_item.h',
456         'system/tray/tray_item_more.cc',
457         'system/tray/tray_item_more.h',
458         'system/tray/tray_item_view.cc',
459         'system/tray/tray_item_view.h',
460         'system/tray/tray_notification_view.cc',
461         'system/tray/tray_notification_view.h',
462         'system/tray/tray_popup_header_button.cc',
463         'system/tray/tray_popup_header_button.h',
464         'system/tray/tray_popup_label_button.cc',
465         'system/tray/tray_popup_label_button.cc',
466         'system/tray/tray_popup_label_button.h',
467         'system/tray/tray_popup_label_button_border.cc',
468         'system/tray/tray_popup_label_button_border.h',
469         'system/tray/tray_utils.cc',
470         'system/tray/tray_utils.h',
471         'system/tray/view_click_listener.h',
472         'system/tray_accessibility.cc',
473         'system/tray_accessibility.h',
474         'system/tray_update.cc',
475         'system/tray_update.h',
476         'system/user/login_status.cc',
477         'system/user/login_status.h',
478         'system/user/tray_user.cc',
479         'system/user/tray_user.h',
480         'system/user/tray_user_separator.cc',
481         'system/user/tray_user_separator.h',
482         'system/user/update_observer.h',
483         'system/user/user_observer.h',
484         'system/web_notification/web_notification_tray.cc',
485         'system/web_notification/web_notification_tray.h',
486         'system/win/audio/tray_audio_delegate_win.cc',
487         'system/win/audio/tray_audio_delegate_win.h',
488         'system/win/audio/tray_audio_win.cc',
489         'system/win/audio/tray_audio_win.h',
490         'touch/touch_hud_debug.cc',
491         'touch/touch_hud_debug.h',
492         'touch/touch_hud_projection.cc',
493         'touch/touch_hud_projection.h',
494         'touch/touch_observer_hud.cc',
495         'touch/touch_observer_hud.h',
496         'touch/touch_uma.cc',
497         'touch/touch_uma.h',
498         'volume_control_delegate.h',
499         'wm/app_list_controller.cc',
500         'wm/app_list_controller.h',
501         'wm/always_on_top_controller.cc',
502         'wm/always_on_top_controller.h',
503         'wm/ash_native_cursor_manager.cc',
504         'wm/ash_native_cursor_manager.h',
505         'wm/ash_focus_rules.cc',
506         'wm/ash_focus_rules.h',
507         'wm/boot_splash_screen_chromeos.cc',
508         'wm/boot_splash_screen_chromeos.h',
509         'wm/coordinate_conversion.cc',
510         'wm/coordinate_conversion.h',
511         'wm/default_state.cc',
512         'wm/default_state.h',
513         'wm/default_window_resizer.cc',
514         'wm/default_window_resizer.h',
515         'wm/dock/docked_window_layout_manager.cc',
516         'wm/dock/docked_window_layout_manager.h',
517         'wm/dock/docked_window_layout_manager_observer.h',
518         'wm/dock/docked_window_resizer.cc',
519         'wm/dock/docked_window_resizer.h',
520         'wm/drag_details.cc',
521         'wm/drag_details.h',
522         'wm/drag_window_controller.cc',
523         'wm/drag_window_controller.h',
524         'wm/drag_window_resizer.cc',
525         'wm/drag_window_resizer.h',
526         'wm/event_client_impl.cc',
527         'wm/event_client_impl.h',
528         'wm/gestures/long_press_affordance_handler.cc',
529         'wm/gestures/long_press_affordance_handler.h',
530         'wm/gestures/overview_gesture_handler.cc',
531         'wm/gestures/overview_gesture_handler.h',
532         'wm/gestures/shelf_gesture_handler.cc',
533         'wm/gestures/shelf_gesture_handler.h',
534         'wm/gestures/tray_gesture_handler.cc',
535         'wm/gestures/tray_gesture_handler.h',
536         'wm/image_cursors.cc',
537         'wm/image_cursors.h',
538         'wm/immersive_fullscreen_controller.cc',
539         'wm/immersive_fullscreen_controller.h',
540         'wm/immersive_revealed_lock.cc',
541         'wm/immersive_revealed_lock.h',
542         'wm/lock_state_controller.cc',
543         'wm/lock_state_controller.h',
544         'wm/lock_state_observer.h',
545         'wm/maximize_mode/maximize_mode_window_manager.cc',
546         'wm/maximize_mode/maximize_mode_window_manager.h',
547         'wm/maximize_mode/workspace_backdrop_delegate.cc',
548         'wm/maximize_mode/workspace_backdrop_delegate.h',
549         'wm/mru_window_tracker.cc',
550         'wm/mru_window_tracker.h',
551         'wm/overlay_event_filter.cc',
552         'wm/overlay_event_filter.h',
553         'wm/overview/scoped_transform_overview_window.cc',
554         'wm/overview/scoped_transform_overview_window.h',
555         'wm/overview/scoped_window_copy.cc',
556         'wm/overview/scoped_window_copy.h',
557         'wm/overview/window_overview.cc',
558         'wm/overview/window_overview.h',
559         'wm/overview/window_selector.cc',
560         'wm/overview/window_selector.h',
561         'wm/overview/window_selector_controller.cc',
562         'wm/overview/window_selector_controller.h',
563         'wm/overview/window_selector_delegate.h',
564         'wm/overview/window_selector_item.cc',
565         'wm/overview/window_selector_item.h',
566         'wm/overview/window_selector_panels.cc',
567         'wm/overview/window_selector_panels.h',
568         'wm/overview/window_selector_window.cc',
569         'wm/overview/window_selector_window.h',
570         'wm/panels/panel_frame_view.cc',
571         'wm/panels/panel_frame_view.h',
572         'wm/panels/panel_layout_manager.cc',
573         'wm/panels/panel_layout_manager.h',
574         'wm/panels/panel_window_event_handler.cc',
575         'wm/panels/panel_window_event_handler.h',
576         'wm/panels/panel_window_resizer.cc',
577         'wm/panels/panel_window_resizer.h',
578         'wm/partial_screenshot_view.cc',
579         'wm/partial_screenshot_view.h',
580         'wm/power_button_controller.cc',
581         'wm/power_button_controller.h',
582         'wm/resize_handle_window_targeter.cc',
583         'wm/resize_handle_window_targeter.h',
584         'wm/resize_shadow.cc',
585         'wm/resize_shadow.h',
586         'wm/resize_shadow_controller.cc',
587         'wm/resize_shadow_controller.h',
588         'wm/root_window_layout_manager.cc',
589         'wm/root_window_layout_manager.h',
590         'wm/screen_dimmer.cc',
591         'wm/screen_dimmer.h',
592         'wm/session_state_animator.cc',
593         'wm/session_state_animator.h',
594         'wm/stacking_controller.cc',
595         'wm/stacking_controller.h',
596         'wm/status_area_layout_manager.cc',
597         'wm/status_area_layout_manager.h',
598         'wm/system_background_controller.cc',
599         'wm/system_background_controller.h',
600         'wm/system_gesture_event_filter.cc',
601         'wm/system_gesture_event_filter.h',
602         'wm/system_modal_container_event_filter.cc',
603         'wm/system_modal_container_event_filter.h',
604         'wm/system_modal_container_event_filter_delegate.h',
605         'wm/system_modal_container_layout_manager.cc',
606         'wm/system_modal_container_layout_manager.h',
607         'wm/toplevel_window_event_handler.cc',
608         'wm/toplevel_window_event_handler.h',
609         'wm/user_activity_detector.cc',
610         'wm/user_activity_detector.h',
611         'wm/user_activity_observer.h',
612         'wm/video_detector.cc',
613         'wm/video_detector.h',
614         'wm/window_animations.cc',
615         'wm/window_animations.h',
616         'wm/window_positioner.cc',
617         'wm/window_positioner.h',
618         'wm/window_state.cc',
619         'wm/window_state.h',
620         'wm/window_state_delegate.cc',
621         'wm/window_state_delegate.h',
622         'wm/window_state_observer.h',
623         'wm/window_properties.cc',
624         'wm/window_properties.h',
625         'wm/window_resizer.cc',
626         'wm/window_resizer.h',
627         'wm/window_util.cc',
628         'wm/window_util.h',
629         'wm/wm_event.cc',
630         'wm/wm_event.h',
631         'wm/wm_types.cc',
632         'wm/wm_types.h',
633         'wm/workspace_controller.cc',
634         'wm/workspace_controller.h',
635         'wm/workspace/magnetism_matcher.cc',
636         'wm/workspace/magnetism_matcher.h',
637         'wm/workspace/multi_window_resize_controller.cc',
638         'wm/workspace/multi_window_resize_controller.h',
639         'wm/workspace/phantom_window_controller.cc',
640         'wm/workspace/phantom_window_controller.h',
641         'wm/workspace/snap_types.h',
642         'wm/workspace/two_step_edge_cycler.cc',
643         'wm/workspace/two_step_edge_cycler.h',
644         'wm/workspace/workspace_event_handler.cc',
645         'wm/workspace/workspace_event_handler.h',
646         'wm/workspace/workspace_layout_manager.cc',
647         'wm/workspace/workspace_layout_manager.h',
648         'wm/workspace/workspace_layout_manager_delegate.h',
649         'wm/workspace/workspace_types.h',
650         'wm/workspace/workspace_window_resizer.cc',
651         'wm/workspace/workspace_window_resizer.h',
652       ],
653       'conditions': [
654         ['OS=="win"', {
655           'sources/': [
656             ['exclude', 'host/window_tree_host_factory.cc'],
657             ['exclude', 'sticky_keys/sticky_keys_controller.cc'],
658             ['exclude', 'sticky_keys/sticky_keys_controller.h'],
659           ],
660           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
661           'msvs_disabled_warnings': [ 4267, ],
662         }],
663         ['use_x11!=1', {
664           'sources/': [
665             ['exclude', 'accelerators/key_hold_detector.cc'],
666             ['exclude', 'accelerators/key_hold_detector.h'],
667             ['exclude', 'accelerators/magnifier_key_scroller.cc'],
668             ['exclude', 'accelerators/magnifier_key_scroller.h'],
669             ['exclude', 'accelerators/spoken_feedback_toggler.cc'],
670             ['exclude', 'accelerators/spoken_feedback_toggler.h'],
671             ['exclude', 'display/display_change_observer_chromeos.cc'],
672             ['exclude', 'display/display_change_observer_chromeos.h'],
673             ['exclude', 'display/display_error_observer_chromeos.cc'],
674             ['exclude', 'display/display_error_observer_chromeos.h'],
675           ],
676         }],
677         ['chromeos==1', {
678           'dependencies': [
679             '../chromeos/chromeos.gyp:chromeos',
680             # Ash #includes power_supply_properties.pb.h directly.
681             '../chromeos/chromeos.gyp:power_manager_proto',
682             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
683           ],
684         }, { # else: chromeos!=1
685           'sources/': [
686             ['exclude', 'display/output_configurator_animation.cc'],
687             ['exclude', 'display/output_configurator_animation.h'],
688             ['exclude', 'display/resolution_notification_controller.cc'],
689             ['exclude', 'display/resolution_notification_controller.h'],
690           ],
691         }],
692       ],
693     },
695     {
696       'target_name': 'ash_with_content',
697       'type': '<(component)',
698       'dependencies': [
699         '../base/base.gyp:base',
700         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
701         '../content/content.gyp:content_browser',
702         '../ipc/ipc.gyp:ipc',
703         '../skia/skia.gyp:skia',
704         '../ui/aura/aura.gyp:aura',
705         '../ui/base/strings/ui_strings.gyp:ui_strings',
706         '../ui/base/ui_base.gyp:ui_base',
707         '../ui/compositor/compositor.gyp:compositor',
708         '../ui/events/events.gyp:events',
709         '../ui/gfx/gfx.gyp:gfx',
710         '../ui/gfx/gfx.gyp:gfx_geometry',
711         '../ui/resources/ui_resources.gyp:ui_resources',
712         '../ui/views/controls/webview/webview.gyp:webview',
713         '../ui/views/views.gyp:views',
714         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
715         '../url/url.gyp:url_lib',
716         'ash_strings.gyp:ash_strings',
717         'ash',
718         'ash_resources',
719       ],
720       'defines': [
721         'ASH_WITH_CONTENT_IMPLEMENTATION',
722       ],
723       'sources': [
724         'content_support/ash_with_content_export.h',
725         'content_support/gpu_support_impl.cc',
726         'content_support/gpu_support_impl.h',
727         'screensaver/screensaver_view.cc',
728         'screensaver/screensaver_view.h',
729         'keyboard_overlay/keyboard_overlay_delegate.cc',
730         'keyboard_overlay/keyboard_overlay_delegate.h',
731         'keyboard_overlay/keyboard_overlay_view.cc',
732         'keyboard_overlay/keyboard_overlay_view.h',
733       ],
734     },
735     {
736       'target_name': 'ash_test_support',
737       'type': 'static_library',
738       'dependencies': [
739         '../skia/skia.gyp:skia',
740         '../testing/gtest.gyp:gtest',
741         '../ui/accessibility/accessibility.gyp:ax_gen',
742         '../ui/app_list/app_list.gyp:app_list_test_support',
743         '../ui/views/views.gyp:views_test_support',
744         'ash',
745         'ash_resources',
746       ],
747       'sources': [
748         'shell/keyboard_controller_proxy_stub.cc',
749         'shell/keyboard_controller_proxy_stub.h',
750         'shell/toplevel_window.cc',
751         'shell/toplevel_window.h',
752         'test/app_list_controller_test_api.cc',
753         'test/app_list_controller_test_api.h',
754         'test/ash_test_base.cc',
755         'test/ash_test_base.h',
756         'test/ash_test_helper.cc',
757         'test/ash_test_helper.h',
758         'test/cursor_manager_test_api.cc',
759         'test/cursor_manager_test_api.h',
760         'test/display_manager_test_api.cc',
761         'test/display_manager_test_api.h',
762         'test/mirror_window_test_api.cc',
763         'test/mirror_window_test_api.h',
764         'test/overflow_bubble_view_test_api.cc',
765         'test/overflow_bubble_view_test_api.h',
766         'test/shelf_item_delegate_manager_test_api.cc',
767         'test/shelf_item_delegate_manager_test_api.h',
768         'test/shelf_test_api.cc',
769         'test/shelf_test_api.h',
770         'test/shelf_view_test_api.cc',
771         'test/shelf_view_test_api.h',
772         'test/shell_test_api.cc',
773         'test/shell_test_api.h',
774         'test/test_activation_delegate.cc',
775         'test/test_activation_delegate.h',
776         'test/test_screenshot_delegate.cc',
777         'test/test_screenshot_delegate.cc',
778         'test/test_session_state_delegate.cc',
779         'test/test_session_state_delegate.h',
780         'test/test_shelf_delegate.cc',
781         'test/test_shelf_delegate.h',
782         'test/test_shelf_item_delegate.cc',
783         'test/test_shelf_item_delegate.h',
784         'test/test_shell_delegate.cc',
785         'test/test_shell_delegate.h',
786         'test/test_suite.cc',
787         'test/test_suite.h',
788         'test/test_suite_init.h',
789         'test/test_suite_init.mm',
790         'test/test_system_tray_delegate.cc',
791         'test/test_system_tray_delegate.h',
792         'test/test_user_wallpaper_delegate.cc',
793         'test/test_user_wallpaper_delegate.h',
794         'test/ui_controls_factory_ash.cc',
795         'test/ui_controls_factory_ash.h',
796       ],
797       'conditions': [
798         ['OS=="win"', {
799           'dependencies': [
800             '../ipc/ipc.gyp:ipc',
801             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
802             '../win8/win8.gyp:metro_viewer',
803             '../win8/win8.gyp:test_support_win8',
804             '../win8/win8_tests.gyp:test_registrar',
805           ],
806           'sources': [
807             'test/test_metro_viewer_process_host.cc',
808             'test/test_metro_viewer_process_host.h',
809           ],
810         }],
811       ],
812     },
813     {
814       'target_name': 'ash_unittests',
815       'type': 'executable',
816       'dependencies': [
817         '../base/base.gyp:base',
818         '../base/base.gyp:test_support_base',
819         '../chrome/chrome_resources.gyp:packed_resources',
820         '../content/content.gyp:content_browser',
821         '../content/content_shell_and_tests.gyp:test_support_content',
822         '../skia/skia.gyp:skia',
823         '../testing/gtest.gyp:gtest',
824         '../third_party/icu/icu.gyp:icui18n',
825         '../third_party/icu/icu.gyp:icuuc',
826         '../ui/app_list/app_list.gyp:app_list',
827         '../ui/aura/aura.gyp:aura',
828         '../ui/aura/aura.gyp:aura_test_support',
829         '../ui/base/ui_base.gyp:ui_base',
830         '../ui/compositor/compositor.gyp:compositor',
831         '../ui/compositor/compositor.gyp:compositor_test_support',
832         '../ui/events/events.gyp:events',
833         '../ui/events/events.gyp:events_test_support',
834         '../ui/gfx/gfx.gyp:gfx',
835         '../ui/gfx/gfx.gyp:gfx_geometry',
836         '../ui/keyboard/keyboard.gyp:keyboard',
837         '../ui/message_center/message_center.gyp:message_center',
838         '../ui/message_center/message_center.gyp:message_center_test_support',
839         '../ui/resources/ui_resources.gyp:ui_resources',
840         '../ui/ui_unittests.gyp:ui_test_support',
841         '../ui/views/views.gyp:views',
842         '../ui/views/views.gyp:views_examples_with_content_lib',
843         '../ui/views/views.gyp:views_test_support',
844         '../ui/views/views.gyp:views_with_content_test_support',
845         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
846         '../url/url.gyp:url_lib',
847         'ash_strings.gyp:ash_strings',
848         'ash',
849         'ash_resources',
850         'ash_test_support',
851         'ash_with_content',
852       ],
853       'sources': [
854         'accelerators/accelerator_commands_unittest.cc',
855         'accelerators/accelerator_controller_unittest.cc',
856         'accelerators/accelerator_filter_unittest.cc',
857         'accelerators/accelerator_table_unittest.cc',
858         'accelerators/magnifier_key_scroller_unittest.cc',
859         'accelerators/nested_dispatcher_controller_unittest.cc',
860         'accelerators/spoken_feedback_toggler_unittest.cc',
861         'autoclick/autoclick_unittest.cc',
862         'desktop_background/desktop_background_controller_unittest.cc',
863         'desktop_background/wallpaper_resizer_unittest.cc',
864         'dip_unittest.cc',
865         'display/display_change_observer_chromeos_unittest.cc',
866         'display/display_controller_unittest.cc',
867         'display/display_error_observer_chromeos_unittest.cc',
868         'display/display_info_unittest.cc',
869         'display/display_manager_unittest.cc',
870         'display/mirror_window_controller_unittest.cc',
871         'display/virtual_keyboard_window_controller_unittest.cc',
872         'display/mouse_cursor_event_filter_unittest.cc',
873         'display/projecting_observer_chromeos_unittest.cc',
874         'display/resolution_notification_controller_unittest.cc',
875         'display/root_window_transformers_unittest.cc',
876         'display/screen_position_controller_unittest.cc',
877         'drag_drop/drag_drop_controller_unittest.cc',
878         'drag_drop/drag_drop_tracker_unittest.cc',
879         'extended_desktop_unittest.cc',
880         'focus_cycler_unittest.cc',
881         'frame/caption_buttons/alternate_frame_size_button_unittest.cc',
882         'frame/caption_buttons/frame_caption_button_container_view_unittest.cc',
883         'frame/caption_buttons/frame_maximize_button_unittest.cc',
884         'frame/custom_frame_view_ash_unittest.cc',
885         'frame/header_painter_unittest.cc',
886         'ime/candidate_window_view_unittest.cc',
887         'ime/input_method_menu_item_unittest.cc',
888         'ime/input_method_menu_manager_unittest.cc',
889         'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
890         'keyboard_overlay/keyboard_overlay_view_unittest.cc',
891         'magnifier/magnification_controller_unittest.cc',
892         'root_window_controller_unittest.cc',
893         'screen_util_unittest.cc',
894         'screensaver/screensaver_view_unittest.cc',
895         'session_state_delegate_stub.cc',
896         'session_state_delegate_stub.h',
897         'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
898         'shelf/shelf_layout_manager_unittest.cc',
899         'shelf/shelf_model_unittest.cc',
900         'shelf/shelf_navigator_unittest.cc',
901         'shelf/shelf_tooltip_manager_unittest.cc',
902         'shelf/shelf_unittest.cc',
903         'shelf/shelf_view_unittest.cc',
904         'shelf/shelf_widget_unittest.cc',
905         'shelf/shelf_window_watcher_unittest.cc',
906         'shell/app_list.cc',
907         'shell/bubble.cc',
908         'shell/context_menu.cc',
909         'shell/context_menu.h',
910         'shell/lock_view.cc',
911         'shell/panel_window.cc',
912         'shell/panel_window.h',
913         'shell/shelf_delegate_impl.cc',
914         'shell/shelf_delegate_impl.h',
915         'shell/shell_delegate_impl.cc',
916         'shell/shell_delegate_impl.h',
917         'shell/widgets.cc',
918         'shell/window_type_launcher.cc',
919         'shell/window_type_launcher.h',
920         'shell/window_watcher.cc',
921         'shell/window_watcher.h',
922         'shell/window_watcher_shelf_item_delegate.cc',
923         'shell/window_watcher_shelf_item_delegate.h',
924         'shell/window_watcher_unittest.cc',
925         'shell_unittest.cc',
926         'sticky_keys/sticky_keys_overlay_unittest.cc',
927         'sticky_keys/sticky_keys_unittest.cc',
928         'system/chromeos/managed/tray_locally_managed_user_unittest.cc',
929         'system/chromeos/network/network_state_notifier_unittest.cc',
930         'system/chromeos/power/power_event_observer_unittest.cc',
931         'system/chromeos/power/power_status_unittest.cc',
932         'system/chromeos/power/power_status_view_unittest.cc',
933         'system/chromeos/power/tray_power_unittest.cc',
934         'system/chromeos/screen_security/screen_tray_item_unittest.cc',
935         'system/chromeos/session/logout_confirmation_controller_unittest.cc',
936         'system/chromeos/session/tray_session_length_limit_unittest.cc',
937         'system/chromeos/tray_display_unittest.cc',
938         'system/date/date_view_unittest.cc',
939         'system/overview/overview_button_tray_unittest.cc',
940         'system/tray/system_tray_unittest.cc',
941         'system/tray/tray_details_view_unittest.cc',
942         'system/user/tray_user_unittest.cc',
943         'system/web_notification/web_notification_tray_unittest.cc',
944         'test/ash_test_helper_unittest.cc',
945         'test/ash_unittests.cc',
946         'tooltips/tooltip_controller_unittest.cc',
947         'touch/touch_observer_hud_unittest.cc',
948         'wm/app_list_controller_unittest.cc',
949         'wm/ash_native_cursor_manager_unittest.cc',
950         'wm/dock/docked_window_layout_manager_unittest.cc',
951         'wm/dock/docked_window_resizer_unittest.cc',
952         'wm/drag_window_resizer_unittest.cc',
953         'wm/gestures/overview_gesture_handler_unittest.cc',
954         'wm/immersive_fullscreen_controller_unittest.cc',
955         'wm/lock_state_controller_unittest.cc',
956         'wm/maximize_mode/maximize_mode_window_manager_unittest.cc',
957         'wm/mru_window_tracker_unittest.cc',
958         'wm/overview/window_selector_unittest.cc',
959         'wm/panels/panel_layout_manager_unittest.cc',
960         'wm/panels/panel_window_resizer_unittest.cc',
961         'wm/partial_screenshot_view_unittest.cc',
962         'wm/resize_shadow_and_cursor_unittest.cc',
963         'wm/screen_dimmer_unittest.cc',
964         'wm/stacking_controller_unittest.cc',
965         'wm/system_gesture_event_filter_unittest.cc',
966         'wm/system_modal_container_layout_manager_unittest.cc',
967         'wm/toplevel_window_event_handler_unittest.cc',
968         'wm/user_activity_detector_unittest.cc',
969         'wm/video_detector_unittest.cc',
970         'wm/window_animations_unittest.cc',
971         'wm/window_manager_unittest.cc',
972         'wm/window_modality_controller_unittest.cc',
973         'wm/window_positioner_unittest.cc',
974         'wm/window_state_unittest.cc',
975         'wm/window_util_unittest.cc',
976         'wm/maximize_mode/workspace_backdrop_delegate.cc',
977         'wm/maximize_mode/workspace_backdrop_delegate.h',
978         'wm/workspace/magnetism_matcher_unittest.cc',
979         'wm/workspace/multi_window_resize_controller_unittest.cc',
980         'wm/workspace/phantom_window_controller_unittest.cc',
981         'wm/workspace/workspace_event_handler_test_helper.cc',
982         'wm/workspace/workspace_event_handler_test_helper.h',
983         'wm/workspace/workspace_event_handler_unittest.cc',
984         'wm/workspace/workspace_layout_manager_unittest.cc',
985         'wm/workspace/workspace_window_resizer_unittest.cc',
986         'wm/workspace_controller_test_helper.cc',
987         'wm/workspace_controller_test_helper.h',
988         'wm/workspace_controller_unittest.cc',
989       ],
990       'conditions': [
991         ['OS=="win"', {
992           'sources/': [
993             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
994             ['exclude', 'focus_cycler_unittest.cc'],
995             # All tests for multiple displays: not supported on Windows Ash.
996             ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
997             ['exclude', 'wm/drag_window_resizer_unittest.cc'],
998             # Can't resize on Windows Ash. http://crbug.com/165962
999             ['exclude', 'ash_root_window_transformer_unittest.cc'],
1000             ['exclude', 'magnifier/magnification_controller_unittest.cc'],
1001             ['exclude', 'wm/workspace/workspace_window_resizer_unittest.cc'],
1002             ['exclude', 'sticky_keys/sticky_keys_overlay_unittest.cc'],
1003             ['exclude', 'sticky_keys/sticky_keys_unittest.cc'],
1004             ['exclude', 'autoclick/autoclick_unittest.cc'],
1005           ],
1006           'sources': [
1007             '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc',
1008           ],
1009           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1010           'msvs_disabled_warnings': [ 4267, ],
1011         }],
1012         ['OS=="win" and win_use_allocator_shim==1', {
1013           'dependencies': [
1014             '../base/allocator/allocator.gyp:allocator',
1015           ],
1016         }],
1017         ['use_x11!=1', {
1018           'sources/': [
1019             ['exclude', 'accelerators/magnifier_key_scroller_unittest.cc'],
1020             ['exclude', 'accelerators/spoken_feedback_toggler_unittest.cc'],
1021             ['exclude', 'display/display_change_observer_chromeos_unittest.cc'],
1022             ['exclude', 'display/display_error_observer_chromeos_unittest.cc'],
1023           ],
1024         }],
1025         ['chromeos==1', {
1026           'dependencies': [
1027             '../chromeos/chromeos.gyp:power_manager_proto',
1028             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1029           ],
1030           'sources': [
1031             'first_run/first_run_helper_unittest.cc',
1032           ],
1033         }, { # else: chromeos!=1
1034           'sources/': [
1035             ['exclude', 'display/resolution_notification_controller_unittest.cc'],
1036           ],
1037         }],
1038         # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
1039         ['OS=="linux" and component=="shared_library" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
1040           'dependencies': [
1041             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1042           ],
1043           'link_settings': {
1044             'ldflags': ['-rdynamic'],
1045           },
1046         }],
1047       ],
1048     },
1049     {
1050       'target_name': 'ash_shell',
1051       'type': 'executable',
1052       'dependencies': [
1053         'ash_strings.gyp:ash_strings',
1054         '../base/base.gyp:base',
1055         '../base/base.gyp:base_i18n',
1056         '../chrome/chrome_resources.gyp:packed_resources',
1057         '../content/content_shell_and_tests.gyp:content_shell_lib',
1058         '../content/content.gyp:content',
1059         '../skia/skia.gyp:skia',
1060         '../third_party/icu/icu.gyp:icui18n',
1061         '../third_party/icu/icu.gyp:icuuc',
1062         '../ui/app_list/app_list.gyp:app_list',
1063         '../ui/aura/aura.gyp:aura',
1064         '../ui/base/ui_base.gyp:ui_base',
1065         '../ui/compositor/compositor.gyp:compositor',
1066         '../ui/events/events.gyp:events',
1067         '../ui/gfx/gfx.gyp:gfx',
1068         '../ui/gfx/gfx.gyp:gfx_geometry',
1069         '../ui/keyboard/keyboard.gyp:keyboard',
1070         '../ui/message_center/message_center.gyp:message_center',
1071         '../ui/resources/ui_resources.gyp:ui_resources',
1072         '../ui/views/views.gyp:views',
1073         '../ui/views/views.gyp:views_examples_lib',
1074         '../ui/views/views.gyp:views_examples_with_content_lib',
1075         '../ui/views/views.gyp:views_test_support',
1076         'ash',
1077         'ash_resources',
1078         'ash_with_content',
1079       ],
1080       'sources': [
1081         'session_state_delegate_stub.cc',
1082         'session_state_delegate_stub.h',
1083         'shell/app_list.cc',
1084         'shell/bubble.cc',
1085         'shell/content_client/shell_browser_main_parts.cc',
1086         'shell/content_client/shell_browser_main_parts.h',
1087         'shell/content_client/shell_content_browser_client.cc',
1088         'shell/content_client/shell_content_browser_client.h',
1089         'shell/content_client/shell_main_delegate.cc',
1090         'shell/content_client/shell_main_delegate.h',
1091         'shell/context_menu.cc',
1092         'shell/context_menu.h',
1093         'shell/example_factory.h',
1094         'shell/keyboard_controller_proxy_stub.cc',
1095         'shell/keyboard_controller_proxy_stub.h',
1096         'shell/lock_view.cc',
1097         'shell/panel_window.cc',
1098         'shell/panel_window.h',
1099         'shell/shelf_delegate_impl.cc',
1100         'shell/shelf_delegate_impl.h',
1101         'shell/shell_delegate_impl.cc',
1102         'shell/shell_delegate_impl.h',
1103         'shell/shell_main.cc',
1104         'shell/shell_main_parts.cc',
1105         'shell/shell_main_parts.h',
1106         'shell/toplevel_window.cc',
1107         'shell/toplevel_window.h',
1108         'shell/widgets.cc',
1109         'shell/window_type_launcher.cc',
1110         'shell/window_type_launcher.h',
1111         'shell/window_watcher.cc',
1112         'shell/window_watcher.h',
1113         'shell/window_watcher_shelf_item_delegate.cc',
1114         'shell/window_watcher_shelf_item_delegate.h',
1115         '../content/app/startup_helper_win.cc',
1116         '../ui/views/test/test_views_delegate.cc',
1117       ],
1118       'conditions': [
1119         ['OS=="win"', {
1120           'msvs_settings': {
1121             'VCLinkerTool': {
1122               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
1123             },
1124           },
1125           'dependencies': [
1126             '../sandbox/sandbox.gyp:sandbox',
1127           ],
1128         }],
1129         ['chromeos==1', {
1130           'dependencies': [
1131             '../device/bluetooth/bluetooth.gyp:device_bluetooth',
1132           ],
1133         }],
1134       ],
1135     },
1136   ],