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