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