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