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