- add sources.
[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',
23         '../content/content.gyp:content_browser',
24         '../ipc/ipc.gyp:ipc',
25         '../media/media.gyp:media',
26         '../net/net.gyp:net',
27         '../skia/skia.gyp:skia',
28         '../third_party/icu/icu.gyp:icui18n',
29         '../third_party/icu/icu.gyp:icuuc',
30         '../ui/app_list/app_list.gyp:app_list',
31         '../ui/aura/aura.gyp:aura',
32         '../ui/base/strings/ui_strings.gyp:ui_strings',
33         '../ui/compositor/compositor.gyp:compositor',
34         '../ui/events/events.gyp:events',
35         '../ui/gfx/gfx.gyp:gfx',
36         '../ui/keyboard/keyboard.gyp:keyboard',
37         '../ui/message_center/message_center.gyp:message_center',
38         '../ui/oak/oak.gyp:oak',
39         '../ui/ui.gyp:ui',
40         '../ui/ui.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         '../url/url.gyp:url_lib',
45         'ash_strings.gyp:ash_strings',
46         'ash_resources',
47       ],
48       'defines': [
49         'ASH_IMPLEMENTATION',
50       ],
51       'sources': [
52         # All .cc, .h under ash, except unittests
53         'accelerators/accelerator_commands.cc',
54         'accelerators/accelerator_commands.h',
55         'accelerators/accelerator_controller.cc',
56         'accelerators/accelerator_controller.h',
57         'accelerators/accelerator_dispatcher.cc',
58         'accelerators/accelerator_dispatcher.h',
59         'accelerators/accelerator_filter.cc',
60         'accelerators/accelerator_filter.h',
61         'accelerators/accelerator_table.cc',
62         'accelerators/accelerator_table.h',
63         'accelerators/debug_commands.cc',
64         'accelerators/debug_commands.h',
65         'accelerators/exit_warning_handler.cc',
66         'accelerators/exit_warning_handler.h',
67         'accelerators/focus_manager_factory.cc',
68         'accelerators/focus_manager_factory.h',
69         'accelerators/nested_dispatcher_controller.cc',
70         'accelerators/nested_dispatcher_controller.h',
71         'accessibility_delegate.h',
72         'autoclick/autoclick_controller.cc',
73         'autoclick/autoclick_controller.h',
74         'ash_constants.cc',
75         'ash_constants.h',
76         'ash_switches.cc',
77         'ash_switches.h',
78         'cancel_mode.cc',
79         'cancel_mode.h',
80         'caps_lock_delegate.h',
81         'caps_lock_delegate_stub.cc',
82         'caps_lock_delegate_stub.h',
83         'debug.cc',
84         'debug.h',
85         'default_accessibility_delegate.cc',
86         'default_accessibility_delegate.h',
87         'default_user_wallpaper_delegate.cc',
88         'default_user_wallpaper_delegate.h',
89         'desktop_background/desktop_background_controller.cc',
90         'desktop_background/desktop_background_controller.h',
91         'desktop_background/desktop_background_controller_observer.h',
92         'desktop_background/desktop_background_view.cc',
93         'desktop_background/desktop_background_view.h',
94         'desktop_background/desktop_background_widget_controller.cc',
95         'desktop_background/desktop_background_widget_controller.h',
96         'desktop_background/user_wallpaper_delegate.h',
97         'desktop_background/wallpaper_resizer.cc',
98         'desktop_background/wallpaper_resizer.h',
99         'desktop_background/wallpaper_resizer_observer.h',
100         'display/display_change_observer_chromeos.cc',
101         'display/display_change_observer_chromeos.h',
102         'display/display_controller.cc',
103         'display/display_controller.h',
104         'display/display_error_observer_chromeos.cc',
105         'display/display_error_observer_chromeos.h',
106         'display/display_info.h',
107         'display/display_info.cc',
108         'display/display_layout.h',
109         'display/display_layout.cc',
110         'display/display_layout_store.h',
111         'display/display_layout_store.cc',
112         'display/display_manager.cc',
113         'display/display_manager.h',
114         'display/display_pref_util.h',
115         'display/event_transformation_handler.cc',
116         'display/event_transformation_handler.h',
117         'display/mirror_window_controller.cc',
118         'display/mirror_window_controller.h',
119         'display/mouse_cursor_event_filter.cc',
120         'display/mouse_cursor_event_filter.h',
121         'display/output_configurator_animation.cc',
122         'display/output_configurator_animation.h',
123         'display/resolution_notification_controller.cc',
124         'display/resolution_notification_controller.h',
125         'display/root_window_transformers.cc',
126         'display/root_window_transformers.h',
127         'display/screen_position_controller.cc',
128         'display/screen_position_controller.h',
129         'display/shared_display_edge_indicator.cc',
130         'display/shared_display_edge_indicator.h',
131         'display/virtual_keyboard_window_controller.cc',
132         'display/virtual_keyboard_window_controller.h',
133         'drag_drop/drag_drop_controller.cc',
134         'drag_drop/drag_drop_controller.h',
135         'drag_drop/drag_drop_tracker.cc',
136         'drag_drop/drag_drop_tracker.h',
137         'drag_drop/drag_image_view.cc',
138         'drag_drop/drag_image_view.h',
139         'event_rewriter_delegate.h',
140         'first_run/first_run_helper.cc',
141         'first_run/first_run_helper.h',
142         'first_run/first_run_helper_impl.cc',
143         'first_run/first_run_helper_impl.h',
144         'focus_cycler.cc',
145         'focus_cycler.h',
146         'high_contrast/high_contrast_controller.cc',
147         'high_contrast/high_contrast_controller.h',
148         'host/root_window_host_factory.cc',
149         'host/root_window_host_factory.h',
150         'host/root_window_host_factory_win.cc',
151         'keyboard_controller_proxy_stub.cc',
152         'keyboard_controller_proxy_stub.h',
153         'keyboard_overlay/keyboard_overlay_delegate.cc',
154         'keyboard_overlay/keyboard_overlay_delegate.h',
155         'keyboard_overlay/keyboard_overlay_view.cc',
156         'keyboard_overlay/keyboard_overlay_view.h',
157         'keyboard_uma_event_filter.cc',
158         'keyboard_uma_event_filter.h',
159         'launcher/launcher.cc',
160         'launcher/launcher.h',
161         'launcher/launcher_button.cc',
162         'launcher/launcher_button.h',
163         'launcher/launcher_delegate.h',
164         'launcher/launcher_item_delegate_manager.cc',
165         'launcher/launcher_item_delegate_manager.h',
166         'launcher/launcher_item_delegate.h',
167         'launcher/launcher_model.cc',
168         'launcher/launcher_model.h',
169         'launcher/launcher_model_observer.h',
170         'launcher/launcher_types.cc',
171         'launcher/launcher_types.h',
172         'magnifier/magnification_controller.cc',
173         'magnifier/magnification_controller.h',
174         'magnifier/magnifier_constants.h',
175         'magnifier/partial_magnification_controller.cc',
176         'magnifier/partial_magnification_controller.h',
177         'multi_profile_uma.cc',
178         'multi_profile_uma.h',
179         'popup_message.cc',
180         'popup_message.h',
181         'root_window_controller.cc',
182         'root_window_controller.h',
183         'root_window_settings.cc',
184         'root_window_settings.h',
185         'rotator/screen_rotation.cc',
186         'rotator/screen_rotation.h',
187         'scoped_target_root_window.cc',
188         'scoped_target_root_window.h',
189         'screen_ash.cc',
190         'screen_ash.h',
191         'screensaver/screensaver_view.cc',
192         'screensaver/screensaver_view.h',
193         'screenshot_delegate.h',
194         'session_state_delegate.h',
195         'session_state_observer.h',
196         'shelf/alternate_app_list_button.cc',
197         'shelf/alternate_app_list_button.h',
198         'shelf/app_list_button.cc',
199         'shelf/app_list_button.h',
200         'shelf/app_list_shelf_item_delegate.cc',
201         'shelf/app_list_shelf_item_delegate.h',
202         'shelf/background_animator.cc',
203         'shelf/background_animator.h',
204         'shelf/overflow_bubble.cc',
205         'shelf/overflow_bubble.h',
206         'shelf/overflow_button.cc',
207         'shelf/overflow_button.h',
208         'shelf/scoped_observer_with_duplicated_sources.h',
209         'shelf/shelf_alignment_menu.cc',
210         'shelf/shelf_alignment_menu.h',
211         'shelf/shelf_bezel_event_filter.cc',
212         'shelf/shelf_bezel_event_filter.h',
213         'shelf/shelf_icon_observer.h',
214         'shelf/shelf_layout_manager.cc',
215         'shelf/shelf_layout_manager.h',
216         'shelf/shelf_layout_manager_observer.h',
217         'shelf/shelf_model_util.cc',
218         'shelf/shelf_model_util.h',
219         'shelf/shelf_navigator.cc',
220         'shelf/shelf_navigator.h',
221         'shelf/shelf_tooltip_manager.cc',
222         'shelf/shelf_tooltip_manager.h',
223         'shelf/shelf_types.h',
224         'shelf/shelf_view.cc',
225         'shelf/shelf_view.h',
226         'shelf/shelf_widget.cc',
227         'shelf/shelf_widget.h',
228         'shell.cc',
229         'shell.h',
230         'shell_delegate.h',
231         'shell_factory.h',
232         'shell_window_ids.h',
233         'system/bluetooth/bluetooth_observer.h',
234         'system/bluetooth/tray_bluetooth.cc',
235         'system/bluetooth/tray_bluetooth.h',
236         'system/brightness_control_delegate.h',
237         'system/chromeos/audio/tray_audio.cc',
238         'system/chromeos/audio/tray_audio.h',
239         'system/chromeos/enterprise/enterprise_domain_observer.h',
240         'system/chromeos/brightness/brightness_controller_chromeos.cc',
241         'system/chromeos/brightness/brightness_controller_chromeos.h',
242         'system/chromeos/brightness/tray_brightness.cc',
243         'system/chromeos/brightness/tray_brightness.h',
244         'system/chromeos/enterprise/tray_enterprise.h',
245         'system/chromeos/enterprise/tray_enterprise.cc',
246         'system/chromeos/keyboard_brightness_controller.cc',
247         'system/chromeos/keyboard_brightness_controller.h',
248         'system/chromeos/label_tray_view.h',
249         'system/chromeos/label_tray_view.cc',
250         'system/chromeos/managed/tray_locally_managed_user.h',
251         'system/chromeos/managed/tray_locally_managed_user.cc',
252         'system/chromeos/network/network_connect.cc',
253         'system/chromeos/network/network_connect.h',
254         'system/chromeos/network/network_detailed_view.h',
255         'system/chromeos/network/network_icon.cc',
256         'system/chromeos/network/network_icon.h',
257         'system/chromeos/network/network_icon_animation.cc',
258         'system/chromeos/network/network_icon_animation.h',
259         'system/chromeos/network/network_icon_animation_observer.h',
260         'system/chromeos/network/network_observer.h',
261         'system/chromeos/network/network_state_list_detailed_view.cc',
262         'system/chromeos/network/network_state_list_detailed_view.h',
263         'system/chromeos/network/network_state_notifier.cc',
264         'system/chromeos/network/network_state_notifier.h',
265         'system/chromeos/network/tray_network.cc',
266         'system/chromeos/network/tray_network.h',
267         'system/chromeos/network/tray_network_state_observer.cc',
268         'system/chromeos/network/tray_network_state_observer.h',
269         'system/chromeos/network/tray_sms.cc',
270         'system/chromeos/network/tray_sms.h',
271         'system/chromeos/network/tray_vpn.cc',
272         'system/chromeos/network/tray_vpn.h',
273         'system/chromeos/power/power_event_observer.cc',
274         'system/chromeos/power/power_event_observer.h',
275         'system/chromeos/power/power_status.cc',
276         'system/chromeos/power/power_status.h',
277         'system/chromeos/power/power_status_view.cc',
278         'system/chromeos/power/power_status_view.h',
279         'system/chromeos/power/tray_power.cc',
280         'system/chromeos/power/tray_power.h',
281         'system/chromeos/power/user_activity_notifier.cc',
282         'system/chromeos/power/user_activity_notifier.h',
283         'system/chromeos/power/video_activity_notifier.cc',
284         'system/chromeos/power/video_activity_notifier.h',
285         'system/chromeos/screen_security/screen_capture_observer.h',
286         'system/chromeos/screen_security/screen_capture_tray_item.cc',
287         'system/chromeos/screen_security/screen_capture_tray_item.h',
288         'system/chromeos/screen_security/screen_share_observer.h',
289         'system/chromeos/screen_security/screen_share_tray_item.cc',
290         'system/chromeos/screen_security/screen_share_tray_item.h',
291         'system/chromeos/screen_security/screen_tray_item.cc',
292         'system/chromeos/screen_security/screen_tray_item.h',
293         'system/chromeos/settings/tray_settings.cc',
294         'system/chromeos/settings/tray_settings.h',
295         'system/chromeos/system_clock_observer.cc',
296         'system/chromeos/system_clock_observer.h',
297         'system/chromeos/tray_display.cc',
298         'system/chromeos/tray_display.h',
299         'system/chromeos/tray_tracing.cc',
300         'system/chromeos/tray_tracing.h',
301         'system/date/clock_observer.h',
302         'system/date/date_view.cc',
303         'system/date/date_view.h',
304         'system/date/tray_date.cc',
305         'system/date/tray_date.h',
306         'system/drive/drive_observer.h',
307         'system/drive/tray_drive.cc',
308         'system/drive/tray_drive.h',
309         'system/ime/ime_observer.h',
310         'system/ime/tray_ime.cc',
311         'system/ime/tray_ime.h',
312         'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
313         'system/locale/locale_notification_controller.cc',
314         'system/locale/locale_notification_controller.h',
315         'system/logout_button/logout_button_observer.h',
316         'system/logout_button/logout_button_tray.cc',
317         'system/logout_button/logout_button_tray.h',
318         'system/monitor/tray_monitor.cc',
319         'system/monitor/tray_monitor.h',
320         'system/session_length_limit/session_length_limit_observer.h',
321         'system/session_length_limit/tray_session_length_limit.cc',
322         'system/session_length_limit/tray_session_length_limit.h',
323         'system/status_area_widget.cc',
324         'system/status_area_widget.h',
325         'system/status_area_widget_delegate.cc',
326         'system/status_area_widget_delegate.h',
327         'system/system_notifier.cc',
328         'system/system_notifier.h',
329         'system/tray/actionable_view.cc',
330         'system/tray/actionable_view.h',
331         'system/tray/default_system_tray_delegate.cc',
332         'system/tray/default_system_tray_delegate.h',
333         'system/tray/fixed_sized_image_view.cc',
334         'system/tray/fixed_sized_image_view.h',
335         'system/tray/fixed_sized_scroll_view.cc',
336         'system/tray/fixed_sized_scroll_view.h',
337         'system/tray/hover_highlight_view.cc',
338         'system/tray/hover_highlight_view.h',
339         'system/tray/special_popup_row.cc',
340         'system/tray/special_popup_row.h',
341         'system/tray/system_tray.cc',
342         'system/tray/system_tray.h',
343         'system/tray/system_tray_bubble.cc',
344         'system/tray/system_tray_bubble.h',
345         'system/tray/system_tray_delegate.cc',
346         'system/tray/system_tray_delegate.h',
347         'system/tray/system_tray_item.cc',
348         'system/tray/system_tray_item.h',
349         'system/tray/system_tray_notifier.cc',
350         'system/tray/system_tray_notifier.h',
351         'system/tray/throbber_view.cc',
352         'system/tray/throbber_view.h',
353         'system/tray/tray_background_view.cc',
354         'system/tray/tray_background_view.h',
355         'system/tray/tray_bar_button_with_title.cc',
356         'system/tray/tray_bar_button_with_title.h',
357         'system/tray/tray_bubble_wrapper.cc',
358         'system/tray/tray_bubble_wrapper.h',
359         'system/tray/tray_constants.cc',
360         'system/tray/tray_constants.h',
361         'system/tray/tray_details_view.cc',
362         'system/tray/tray_details_view.h',
363         'system/tray/tray_empty.cc',
364         'system/tray/tray_empty.h',
365         'system/tray/tray_event_filter.cc',
366         'system/tray/tray_event_filter.h',
367         'system/tray/tray_image_item.cc',
368         'system/tray/tray_image_item.h',
369         'system/tray/tray_item_more.cc',
370         'system/tray/tray_item_more.h',
371         'system/tray/tray_item_view.cc',
372         'system/tray/tray_item_view.h',
373         'system/tray/tray_notification_view.cc',
374         'system/tray/tray_notification_view.h',
375         'system/tray/tray_popup_header_button.cc',
376         'system/tray/tray_popup_header_button.h',
377         'system/tray/tray_popup_label_button.cc',
378         'system/tray/tray_popup_label_button.cc',
379         'system/tray/tray_popup_label_button.h',
380         'system/tray/tray_popup_label_button_border.cc',
381         'system/tray/tray_popup_label_button_border.h',
382         'system/tray/tray_utils.cc',
383         'system/tray/tray_utils.h',
384         'system/tray/view_click_listener.h',
385         'system/tray_accessibility.cc',
386         'system/tray_accessibility.h',
387         'system/tray_caps_lock.cc',
388         'system/tray_caps_lock.h',
389         'system/tray_update.cc',
390         'system/tray_update.h',
391         'system/user/login_status.cc',
392         'system/user/login_status.h',
393         'system/user/tray_user.cc',
394         'system/user/tray_user.h',
395         'system/user/update_observer.h',
396         'system/user/user_observer.h',
397         'system/web_notification/web_notification_tray.cc',
398         'system/web_notification/web_notification_tray.h',
399         'touch/touch_hud_debug.cc',
400         'touch/touch_hud_debug.h',
401         'touch/touch_hud_projection.cc',
402         'touch/touch_hud_projection.h',
403         'touch/touch_observer_hud.cc',
404         'touch/touch_observer_hud.h',
405         'touch/touch_uma.cc',
406         'touch/touch_uma.h',
407         'volume_control_delegate.h',
408         'wm/app_list_controller.cc',
409         'wm/app_list_controller.h',
410         'wm/always_on_top_controller.cc',
411         'wm/always_on_top_controller.h',
412         'wm/ash_native_cursor_manager.cc',
413         'wm/ash_native_cursor_manager.h',
414         'wm/ash_focus_rules.cc',
415         'wm/ash_focus_rules.h',
416         'wm/base_layout_manager.cc',
417         'wm/base_layout_manager.h',
418         'wm/boot_splash_screen_chromeos.cc',
419         'wm/boot_splash_screen_chromeos.h',
420         'wm/caption_buttons/alternate_frame_caption_button.cc',
421         'wm/caption_buttons/alternate_frame_caption_button.h',
422         'wm/caption_buttons/frame_caption_button_container_view.cc',
423         'wm/caption_buttons/frame_caption_button_container_view.h',
424         'wm/caption_buttons/frame_maximize_button.cc',
425         'wm/caption_buttons/frame_maximize_button.h',
426         'wm/caption_buttons/maximize_bubble_controller.cc',
427         'wm/caption_buttons/maximize_bubble_controller.h',
428         'wm/caption_buttons/maximize_bubble_frame_state.h',
429         'wm/coordinate_conversion.cc',
430         'wm/coordinate_conversion.h',
431         'wm/custom_frame_view_ash.cc',
432         'wm/custom_frame_view_ash.h',
433         'wm/default_window_resizer.cc',
434         'wm/default_window_resizer.h',
435         'wm/dock/docked_window_layout_manager.cc',
436         'wm/dock/docked_window_layout_manager.h',
437         'wm/dock/docked_window_layout_manager_observer.h',
438         'wm/dock/docked_window_resizer.cc',
439         'wm/dock/docked_window_resizer.h',
440         'wm/drag_window_controller.cc',
441         'wm/drag_window_controller.h',
442         'wm/drag_window_resizer.cc',
443         'wm/drag_window_resizer.h',
444         'wm/event_client_impl.cc',
445         'wm/event_client_impl.h',
446         'wm/event_rewriter_event_filter.cc',
447         'wm/event_rewriter_event_filter.h',
448         'wm/frame_border_hit_test_controller.cc',
449         'wm/frame_border_hit_test_controller.h',
450         'wm/header_painter.cc',
451         'wm/header_painter.h',
452         'wm/gestures/long_press_affordance_handler.cc',
453         'wm/gestures/long_press_affordance_handler.h',
454         'wm/gestures/overview_gesture_handler.cc',
455         'wm/gestures/overview_gesture_handler.h',
456         'wm/gestures/shelf_gesture_handler.cc',
457         'wm/gestures/shelf_gesture_handler.h',
458         'wm/gestures/system_pinch_handler.cc',
459         'wm/gestures/system_pinch_handler.h',
460         'wm/gestures/tray_gesture_handler.cc',
461         'wm/gestures/tray_gesture_handler.h',
462         'wm/gestures/two_finger_drag_handler.cc',
463         'wm/gestures/two_finger_drag_handler.h',
464         'wm/image_cursors.cc',
465         'wm/image_cursors.h',
466         'wm/lock_state_controller.cc',
467         'wm/lock_state_controller.h',
468         'wm/lock_state_observer.h',
469         'wm/mru_window_tracker.cc',
470         'wm/mru_window_tracker.h',
471         'wm/overlay_event_filter.cc',
472         'wm/overlay_event_filter.h',
473         'wm/overview/scoped_transform_overview_window.cc',
474         'wm/overview/scoped_transform_overview_window.h',
475         'wm/overview/scoped_window_copy.cc',
476         'wm/overview/scoped_window_copy.h',
477         'wm/overview/window_overview.cc',
478         'wm/overview/window_overview.h',
479         'wm/overview/window_selector.cc',
480         'wm/overview/window_selector.h',
481         'wm/overview/window_selector_controller.cc',
482         'wm/overview/window_selector_controller.h',
483         'wm/overview/window_selector_delegate.h',
484         'wm/overview/window_selector_item.cc',
485         'wm/overview/window_selector_item.h',
486         'wm/overview/window_selector_panels.cc',
487         'wm/overview/window_selector_panels.h',
488         'wm/overview/window_selector_window.cc',
489         'wm/overview/window_selector_window.h',
490         'wm/panels/panel_frame_view.cc',
491         'wm/panels/panel_frame_view.h',
492         'wm/panels/panel_layout_manager.cc',
493         'wm/panels/panel_layout_manager.h',
494         'wm/panels/panel_window_event_handler.cc',
495         'wm/panels/panel_window_event_handler.h',
496         'wm/panels/panel_window_resizer.cc',
497         'wm/panels/panel_window_resizer.h',
498         'wm/partial_screenshot_view.cc',
499         'wm/partial_screenshot_view.h',
500         'wm/power_button_controller.cc',
501         'wm/power_button_controller.h',
502         'wm/resize_shadow.cc',
503         'wm/resize_shadow.h',
504         'wm/resize_shadow_controller.cc',
505         'wm/resize_shadow_controller.h',
506         'wm/root_window_layout_manager.cc',
507         'wm/root_window_layout_manager.h',
508         'wm/screen_dimmer.cc',
509         'wm/screen_dimmer.h',
510         'wm/session_state_animator.cc',
511         'wm/session_state_animator.h',
512         'wm/stacking_controller.cc',
513         'wm/stacking_controller.h',
514         'wm/status_area_layout_manager.cc',
515         'wm/status_area_layout_manager.h',
516         'wm/sticky_keys.cc',
517         'wm/sticky_keys.h',
518         'wm/system_background_controller.cc',
519         'wm/system_background_controller.h',
520         'wm/system_gesture_event_filter.cc',
521         'wm/system_gesture_event_filter.h',
522         'wm/system_modal_container_event_filter.cc',
523         'wm/system_modal_container_event_filter.h',
524         'wm/system_modal_container_event_filter_delegate.h',
525         'wm/system_modal_container_layout_manager.cc',
526         'wm/system_modal_container_layout_manager.h',
527         'wm/toplevel_window_event_handler.cc',
528         'wm/toplevel_window_event_handler.h',
529         'wm/user_activity_detector.cc',
530         'wm/user_activity_detector.h',
531         'wm/user_activity_observer.h',
532         'wm/video_detector.cc',
533         'wm/video_detector.h',
534         'wm/window_animations.cc',
535         'wm/window_animations.h',
536         'wm/window_cycle_controller.cc',
537         'wm/window_cycle_controller.h',
538         'wm/window_cycle_list.cc',
539         'wm/window_cycle_list.h',
540         'wm/window_positioner.cc',
541         'wm/window_positioner.h',
542         'wm/window_state.cc',
543         'wm/window_state.h',
544         'wm/window_state_delegate.cc',
545         'wm/window_state_delegate.h',
546         'wm/window_state_observer.h',
547         'wm/window_properties.cc',
548         'wm/window_properties.h',
549         'wm/window_resizer.cc',
550         'wm/window_resizer.h',
551         'wm/window_util.cc',
552         'wm/window_util.h',
553         'wm/wm_types.cc',
554         'wm/wm_types.h',
555         'wm/workspace_controller.cc',
556         'wm/workspace_controller.h',
557         'wm/workspace/colored_window_controller.cc',
558         'wm/workspace/colored_window_controller.h',
559         'wm/workspace/desktop_background_fade_controller.cc',
560         'wm/workspace/desktop_background_fade_controller.h',
561         'wm/workspace/magnetism_matcher.cc',
562         'wm/workspace/magnetism_matcher.h',
563         'wm/workspace/multi_window_resize_controller.cc',
564         'wm/workspace/multi_window_resize_controller.h',
565         'wm/workspace/phantom_window_controller.cc',
566         'wm/workspace/phantom_window_controller.h',
567         'wm/workspace/snap_sizer.cc',
568         'wm/workspace/snap_sizer.h',
569         'wm/workspace/snap_types.h',
570         'wm/workspace/workspace_event_handler.cc',
571         'wm/workspace/workspace_event_handler.h',
572         'wm/workspace/workspace_layout_manager.cc',
573         'wm/workspace/workspace_layout_manager.h',
574         'wm/workspace/workspace_types.h',
575         'wm/workspace/workspace_window_resizer.cc',
576         'wm/workspace/workspace_window_resizer.h',
577       ],
578       'conditions': [
579         ['OS=="win"', {
580           'sources/': [
581             ['exclude', 'host/root_window_host_factory.cc'],
582             ['exclude', 'wm/sticky_keys.cc'],
583             ['exclude', 'wm/sticky_keys.h'],
584           ],
585           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
586           'msvs_disabled_warnings': [ 4267, ],
587         }],
588         ['OS!="linux"', {
589           'sources/': [
590             ['exclude', 'system/monitor/tray_monitor.cc'],
591             ['exclude', 'system/monitor/tray_monitor.h'],
592           ],
593         }],
594         ['use_x11!=1', {
595           'sources/': [
596             ['exclude', 'display/display_change_observer_chromeos.cc'],
597             ['exclude', 'display/display_change_observer_chromeos.h'],
598             ['exclude', 'display/display_error_observer_chromeos.cc'],
599             ['exclude', 'display/display_error_observer_chromeos.h'],
600           ],
601         }],
602         ['chromeos==1', {
603           'dependencies': [
604             '../chromeos/chromeos.gyp:chromeos',
605             # Ash #includes power_supply_properties.pb.h directly.
606             '../chromeos/chromeos.gyp:power_manager_proto',
607           ],
608         }, { # else: chromeos!=1
609           'sources/': [
610             ['exclude', '/chromeos/'],
611             ['exclude', 'display/output_configurator_animation.cc'],
612             ['exclude', 'display/output_configurator_animation.h'],
613           ],
614         }],
615       ],
616     },
617     {
618       'target_name': 'ash_test_support',
619       'type': 'static_library',
620       'dependencies': [
621         '../skia/skia.gyp:skia',
622         '../testing/gtest.gyp:gtest',
623         'ash',
624         'ash_resources',
625       ],
626       'sources': [
627         'shell/toplevel_window.cc',
628         'shell/toplevel_window.h',
629         'test/app_list_controller_test_api.cc',
630         'test/app_list_controller_test_api.h',
631         'test/ash_test_base.cc',
632         'test/ash_test_base.h',
633         'test/ash_test_helper.cc',
634         'test/ash_test_helper.h',
635         'test/cursor_manager_test_api.cc',
636         'test/cursor_manager_test_api.h',
637         'test/launcher_test_api.cc',
638         'test/launcher_test_api.h',
639         'test/shelf_view_test_api.cc',
640         'test/shelf_view_test_api.h',
641         'test/display_manager_test_api.cc',
642         'test/display_manager_test_api.h',
643         'test/launcher_item_delegate_manager_test_api.cc',
644         'test/launcher_item_delegate_manager_test_api.h',
645         'test/mirror_window_test_api.cc',
646         'test/mirror_window_test_api.h',
647         'test/shell_test_api.cc',
648         'test/shell_test_api.h',
649         'test/test_activation_delegate.cc',
650         'test/test_activation_delegate.h',
651         'test/test_user_wallpaper_delegate.cc',
652         'test/test_user_wallpaper_delegate.h',
653         'test/test_launcher_delegate.cc',
654         'test/test_launcher_delegate.h',
655         'test/test_launcher_item_delegate.cc',
656         'test/test_launcher_item_delegate.h',
657         'test/test_screenshot_delegate.cc',
658         'test/test_screenshot_delegate.cc',
659         'test/test_session_state_delegate.cc',
660         'test/test_session_state_delegate.h',
661         'test/test_shell_delegate.cc',
662         'test/test_shell_delegate.h',
663         'test/test_suite.cc',
664         'test/test_suite.h',
665         'test/test_suite_init.h',
666         'test/test_suite_init.mm',
667         'test/test_system_tray_delegate.cc',
668         'test/test_system_tray_delegate.h',
669         'test/ui_controls_factory_ash.cc',
670         'test/ui_controls_factory_ash.h',
671       ],
672       'conditions': [
673         ['OS=="win"', {
674           'dependencies': [
675             '../ipc/ipc.gyp:ipc',
676             '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
677             '../win8/win8.gyp:metro_viewer',
678             '../win8/win8.gyp:test_support_win8',
679             '../win8/win8_tests.gyp:test_registrar',
680           ],
681           'sources': [
682             'test/test_metro_viewer_process_host.cc',
683             'test/test_metro_viewer_process_host.h',
684           ],
685         }],
686       ],
687     },
688     {
689       'target_name': 'ash_unittests',
690       'type': 'executable',
691       'dependencies': [
692         '../base/base.gyp:base',
693         '../base/base.gyp:test_support_base',
694         '../chrome/chrome_resources.gyp:packed_resources',
695         '../content/content.gyp:content_browser',
696         '../content/content_shell_and_tests.gyp:test_support_content',
697         '../skia/skia.gyp:skia',
698         '../testing/gtest.gyp:gtest',
699         '../third_party/icu/icu.gyp:icui18n',
700         '../third_party/icu/icu.gyp:icuuc',
701         '../ui/app_list/app_list.gyp:app_list',
702         '../ui/aura/aura.gyp:aura',
703         '../ui/aura/aura.gyp:aura_test_support',
704         '../ui/compositor/compositor.gyp:compositor',
705         '../ui/events/events.gyp:events',
706         '../ui/gfx/gfx.gyp:gfx',
707         '../ui/keyboard/keyboard.gyp:keyboard',
708         '../ui/message_center/message_center.gyp:message_center',
709         '../ui/message_center/message_center.gyp:message_center_test_support',
710         '../ui/ui.gyp:ui',
711         '../ui/ui.gyp:ui_resources',
712         '../ui/ui_unittests.gyp:ui_test_support',
713         '../ui/views/views.gyp:views',
714         '../ui/views/views.gyp:views_examples_with_content_lib',
715         '../ui/views/views.gyp:views_test_support',
716         '../ui/views/views.gyp:views_with_content_test_support',
717         '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
718         '../url/url.gyp:url_lib',
719         'ash_strings.gyp:ash_strings',
720         'ash',
721         'ash_resources',
722         'ash_test_support',
723       ],
724       'sources': [
725         '../ui/compositor/test/layer_animator_test_controller.cc',
726         '../ui/compositor/test/layer_animator_test_controller.h',
727         '../ui/views/test/test_views_delegate.cc',
728         '../ui/views/test/test_views_delegate.h',
729         'accelerators/accelerator_commands_unittest.cc',
730         'accelerators/accelerator_controller_unittest.cc',
731         'accelerators/accelerator_filter_unittest.cc',
732         'accelerators/accelerator_table_unittest.cc',
733         'accelerators/nested_dispatcher_controller_unittest.cc',
734         'autoclick/autoclick_unittest.cc',
735         'desktop_background/desktop_background_controller_unittest.cc',
736         'desktop_background/wallpaper_resizer_unittest.cc',
737         'dip_unittest.cc',
738         'display/display_change_observer_chromeos_unittest.cc',
739         'display/display_controller_unittest.cc',
740         'display/display_error_observer_chromeos_unittest.cc',
741         'display/display_info_unittest.cc',
742         'display/display_manager_unittest.cc',
743         'display/mirror_window_controller_unittest.cc',
744         'display/mouse_cursor_event_filter_unittest.cc',
745         'display/resolution_notification_controller_unittest.cc',
746         'display/root_window_transformers_unittest.cc',
747         'display/screen_position_controller_unittest.cc',
748         'drag_drop/drag_drop_controller_unittest.cc',
749         'drag_drop/drag_drop_tracker_unittest.cc',
750         'extended_desktop_unittest.cc',
751         'focus_cycler_unittest.cc',
752         'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
753         'keyboard_overlay/keyboard_overlay_view_unittest.cc',
754         'launcher/launcher_model_unittest.cc',
755         'launcher/launcher_unittest.cc',
756         'magnifier/magnification_controller_unittest.cc',
757         'root_window_controller_unittest.cc',
758         'screen_ash_unittest.cc',
759         'screensaver/screensaver_view_unittest.cc',
760         'session_state_delegate_stub.cc',
761         'session_state_delegate_stub.h',
762         'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
763         'shelf/shelf_layout_manager_unittest.cc',
764         'shelf/shelf_navigator_unittest.cc',
765         'shelf/shelf_tooltip_manager_unittest.cc',
766         'shelf/shelf_view_unittest.cc',
767         'shelf/shelf_widget_unittest.cc',
768         'shell/app_list.cc',
769         'shell/bubble.cc',
770         'shell/context_menu.cc',
771         'shell/context_menu.h',
772         'shell/launcher_delegate_impl.cc',
773         'shell/launcher_delegate_impl.h',
774         'shell/lock_view.cc',
775         'shell/panel_window.cc',
776         'shell/panel_window.h',
777         'shell/shell_delegate_impl.cc',
778         'shell/shell_delegate_impl.h',
779         'shell/widgets.cc',
780         'shell/window_type_launcher.cc',
781         'shell/window_type_launcher.h',
782         'shell/window_watcher.cc',
783         'shell/window_watcher.h',
784         'shell/window_watcher_launcher_item_delegate.cc',
785         'shell/window_watcher_launcher_item_delegate.h',
786         'shell/window_watcher_unittest.cc',
787         'shell_unittest.cc',
788         'system/chromeos/managed/tray_locally_managed_user_unittest.cc',
789         'system/chromeos/network/network_state_notifier_unittest.cc',
790         'system/chromeos/power/power_event_observer_unittest.cc',
791         'system/chromeos/power/power_status_unittest.cc',
792         'system/chromeos/power/tray_power_unittest.cc',
793         'system/chromeos/screen_security/screen_tray_item_unittest.cc',
794         'system/chromeos/tray_display_unittest.cc',
795         'system/date/date_view_unittest.cc',
796         'system/tray/system_tray_unittest.cc',
797         'system/user/tray_user_unittest.cc',
798         'system/web_notification/web_notification_tray_unittest.cc',
799         'test/ash_test_helper_unittest.cc',
800         'test/ash_unittests.cc',
801         'tooltips/tooltip_controller_unittest.cc',
802         'touch/touch_observer_hud_unittest.cc',
803         'wm/app_list_controller_unittest.cc',
804         'wm/ash_native_cursor_manager_unittest.cc',
805         'wm/base_layout_manager_unittest.cc',
806         'wm/caption_buttons/frame_caption_button_container_view_unittest.cc',
807         'wm/caption_buttons/frame_maximize_button_unittest.cc',
808         'wm/dock/docked_window_layout_manager_unittest.cc',
809         'wm/dock/docked_window_resizer_unittest.cc',
810         'wm/drag_window_resizer_unittest.cc',
811         'wm/gestures/overview_gesture_handler_unittest.cc',
812         'wm/header_painter_unittest.cc',
813         'wm/lock_state_controller_unittest.cc',
814         'wm/mru_window_tracker_unittest.cc',
815         'wm/overview/window_selector_unittest.cc',
816         'wm/panels/panel_layout_manager_unittest.cc',
817         'wm/panels/panel_window_resizer_unittest.cc',
818         'wm/partial_screenshot_view_unittest.cc',
819         'wm/resize_shadow_and_cursor_unittest.cc',
820         'wm/screen_dimmer_unittest.cc',
821         'wm/stacking_controller_unittest.cc',
822         'wm/sticky_keys_unittest.cc',
823         'wm/system_gesture_event_filter_unittest.cc',
824         'wm/system_modal_container_layout_manager_unittest.cc',
825         'wm/toplevel_window_event_handler_unittest.cc',
826         'wm/user_activity_detector_unittest.cc',
827         'wm/video_detector_unittest.cc',
828         'wm/window_animations_unittest.cc',
829         'wm/window_cycle_controller_unittest.cc',
830         'wm/window_manager_unittest.cc',
831         'wm/window_modality_controller_unittest.cc',
832         'wm/window_positioner_unittest.cc',
833         'wm/window_util_unittest.cc',
834         'wm/workspace/magnetism_matcher_unittest.cc',
835         'wm/workspace/multi_window_resize_controller_unittest.cc',
836         'wm/workspace/snap_sizer_unittest.cc',
837         'wm/workspace/workspace_event_handler_test_helper.cc',
838         'wm/workspace/workspace_event_handler_test_helper.h',
839         'wm/workspace/workspace_event_handler_unittest.cc',
840         'wm/workspace/workspace_layout_manager_unittest.cc',
841         'wm/workspace/workspace_window_resizer_unittest.cc',
842         'wm/workspace_controller_test_helper.cc',
843         'wm/workspace_controller_test_helper.h',
844         'wm/workspace_controller_unittest.cc',
845       ],
846       'conditions': [
847         ['OS=="win"', {
848           'sources/': [
849             # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
850             ['exclude', 'focus_cycler_unittest.cc'],
851             # All tests for multiple displays: not supported on Windows Ash.
852             ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
853             ['exclude', 'wm/drag_window_resizer_unittest.cc'],
854             # Can't resize on Windows Ash. http://crbug.com/165962
855             ['exclude', 'ash_root_window_transformer_unittest.cc'],
856             ['exclude', 'magnifier/magnification_controller_unittest.cc'],
857             ['exclude', 'wm/workspace/workspace_window_resizer_unittest.cc'],
858             ['exclude', 'wm/sticky_keys_unittest.cc'],
859             ['exclude', 'autoclick/autoclick_unittest.cc'],
860           ],
861           'sources': [
862             '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc',
863           ],
864           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
865           'msvs_disabled_warnings': [ 4267, ],
866         }],
867         ['use_x11!=1', {
868           'sources/': [
869             ['exclude', 'display/display_change_observer_chromeos_unittest.cc'],
870             ['exclude', 'display/display_error_observer_chromeos_unittest.cc'],
871           ],
872         }],
873         ['chromeos==1', {
874           'dependencies': [
875             '../chromeos/chromeos.gyp:power_manager_proto',
876           ],
877         }],
878         ['OS=="linux" and component=="shared_library" and linux_use_tcmalloc==1', {
879           'dependencies': [
880             '<(DEPTH)/base/allocator/allocator.gyp:allocator',
881           ],
882           'link_settings': {
883             'ldflags': ['-rdynamic'],
884           },
885         }],
886       ],
887     },
888     {
889       'target_name': 'ash_shell',
890       'type': 'executable',
891       'dependencies': [
892         'ash_strings.gyp:ash_strings',
893         '../base/base.gyp:base',
894         '../base/base.gyp:base_i18n',
895         '../chrome/chrome_resources.gyp:packed_resources',
896         '../content/content_shell_and_tests.gyp:content_shell_lib',
897         '../content/content.gyp:content',
898         '../skia/skia.gyp:skia',
899         '../third_party/icu/icu.gyp:icui18n',
900         '../third_party/icu/icu.gyp:icuuc',
901         '../ui/app_list/app_list.gyp:app_list',
902         '../ui/aura/aura.gyp:aura',
903         '../ui/compositor/compositor.gyp:compositor',
904         '../ui/events/events.gyp:events',
905         '../ui/gfx/gfx.gyp:gfx',
906         '../ui/keyboard/keyboard.gyp:keyboard',
907         '../ui/message_center/message_center.gyp:message_center',
908         '../ui/ui.gyp:ui',
909         '../ui/ui.gyp:ui_resources',
910         '../ui/views/views.gyp:views',
911         '../ui/views/views.gyp:views_examples_lib',
912         '../ui/views/views.gyp:views_examples_with_content_lib',
913         '../ui/views/views.gyp:views_test_support',
914         'ash',
915         'ash_resources',
916       ],
917       'sources': [
918         'session_state_delegate_stub.cc',
919         'session_state_delegate_stub.h',
920         'shell/app_list.cc',
921         'shell/bubble.cc',
922         'shell/content_client/shell_browser_main_parts.cc',
923         'shell/content_client/shell_browser_main_parts.h',
924         'shell/content_client/shell_content_browser_client.cc',
925         'shell/content_client/shell_content_browser_client.h',
926         'shell/content_client/shell_main_delegate.cc',
927         'shell/content_client/shell_main_delegate.h',
928         'shell/context_menu.cc',
929         'shell/context_menu.h',
930         'shell/example_factory.h',
931         'shell/launcher_delegate_impl.cc',
932         'shell/launcher_delegate_impl.h',
933         'shell/lock_view.cc',
934         'shell/panel_window.cc',
935         'shell/panel_window.h',
936         'shell/shell_delegate_impl.cc',
937         'shell/shell_delegate_impl.h',
938         'shell/shell_main.cc',
939         'shell/shell_main_parts.cc',
940         'shell/shell_main_parts.h',
941         'shell/toplevel_window.cc',
942         'shell/toplevel_window.h',
943         'shell/widgets.cc',
944         'shell/window_type_launcher.cc',
945         'shell/window_type_launcher.h',
946         'shell/window_watcher.cc',
947         'shell/window_watcher.h',
948         'shell/window_watcher_launcher_item_delegate.cc',
949         'shell/window_watcher_launcher_item_delegate.h',
950         '../content/app/startup_helper_win.cc',
951         '../ui/views/test/test_views_delegate.cc',
952       ],
953       'conditions': [
954         ['OS=="win"', {
955           'msvs_settings': {
956             'VCLinkerTool': {
957               'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
958             },
959           },
960           'dependencies': [
961             '../sandbox/sandbox.gyp:sandbox',
962           ],
963         }],
964       ],
965     },
966   ],
967 }