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