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