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