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.
8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
16 'type': '<(component)',
18 '../base/base.gyp:base',
19 '../base/base.gyp:base_i18n',
20 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
22 '../content/content.gyp:content',
23 '../content/content.gyp:content_browser',
26 '../skia/skia.gyp:skia',
27 '../third_party/icu/icu.gyp:icui18n',
28 '../third_party/icu/icu.gyp:icuuc',
29 '../ui/app_list/app_list.gyp:app_list',
30 '../ui/aura/aura.gyp:aura',
31 '../ui/base/strings/ui_strings.gyp:ui_strings',
32 '../ui/compositor/compositor.gyp:compositor',
33 '../ui/keyboard/keyboard.gyp:keyboard',
34 '../ui/message_center/message_center.gyp:message_center',
35 '../ui/oak/oak.gyp:oak',
37 '../ui/ui.gyp:ui_resources',
38 '../ui/views/controls/webview/webview.gyp:webview',
39 '../ui/views/views.gyp:views',
40 '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
41 '../url/url.gyp:url_lib',
42 'ash_strings.gyp:ash_strings',
44 'ash_wallpaper_resources',
50 # All .cc, .h under ash, except unittests
51 'accelerators/accelerator_controller.cc',
52 'accelerators/accelerator_controller.h',
53 'accelerators/accelerator_dispatcher.cc',
54 'accelerators/accelerator_dispatcher.h',
55 'accelerators/accelerator_filter.cc',
56 'accelerators/accelerator_filter.h',
57 'accelerators/accelerator_table.cc',
58 'accelerators/accelerator_table.h',
59 'accelerators/exit_warning_handler.cc',
60 'accelerators/exit_warning_handler.h',
61 'accelerators/focus_manager_factory.cc',
62 'accelerators/focus_manager_factory.h',
63 'accelerators/nested_dispatcher_controller.cc',
64 'accelerators/nested_dispatcher_controller.h',
71 'caps_lock_delegate.h',
72 'caps_lock_delegate_stub.cc',
73 'caps_lock_delegate_stub.h',
76 'desktop_background/desktop_background_controller.cc',
77 'desktop_background/desktop_background_controller.h',
78 'desktop_background/desktop_background_controller_observer.h',
79 'desktop_background/desktop_background_view.cc',
80 'desktop_background/desktop_background_view.h',
81 'desktop_background/desktop_background_widget_controller.cc',
82 'desktop_background/desktop_background_widget_controller.h',
83 'desktop_background/user_wallpaper_delegate.h',
84 'desktop_background/wallpaper_resizer.cc',
85 'desktop_background/wallpaper_resizer.h',
86 'desktop_background/wallpaper_resizer_observer.h',
87 'display/display_change_observer_x11.cc',
88 'display/display_change_observer_x11.h',
89 'display/display_controller.cc',
90 'display/display_controller.h',
91 'display/display_error_dialog.cc',
92 'display/display_error_dialog.h',
93 'display/display_info.h',
94 'display/display_info.cc',
95 'display/display_manager.cc',
96 'display/display_manager.h',
97 'display/display_pref_util.h',
98 'display/event_transformation_handler.cc',
99 'display/event_transformation_handler.h',
100 'display/mirror_window_controller.cc',
101 'display/mirror_window_controller.h',
102 'display/mouse_cursor_event_filter.cc',
103 'display/mouse_cursor_event_filter.h',
104 'display/output_configurator_animation.cc',
105 'display/output_configurator_animation.h',
106 'display/root_window_transformers.cc',
107 'display/root_window_transformers.h',
108 'display/screen_position_controller.cc',
109 'display/screen_position_controller.h',
110 'display/shared_display_edge_indicator.cc',
111 'display/shared_display_edge_indicator.h',
112 'drag_drop/drag_drop_controller.cc',
113 'drag_drop/drag_drop_controller.h',
114 'drag_drop/drag_drop_tracker.cc',
115 'drag_drop/drag_drop_tracker.h',
116 'drag_drop/drag_image_view.cc',
117 'drag_drop/drag_image_view.h',
118 'event_rewriter_delegate.h',
121 'high_contrast/high_contrast_controller.cc',
122 'high_contrast/high_contrast_controller.h',
123 'host/root_window_host_factory.cc',
124 'host/root_window_host_factory.h',
125 'host/root_window_host_factory_win.cc',
126 'keyboard_overlay/keyboard_overlay_delegate.cc',
127 'keyboard_overlay/keyboard_overlay_delegate.h',
128 'keyboard_overlay/keyboard_overlay_view.cc',
129 'keyboard_overlay/keyboard_overlay_view.h',
130 'launcher/app_list_button.cc',
131 'launcher/app_list_button.h',
132 'launcher/launcher.cc',
133 'launcher/launcher.h',
134 'launcher/launcher_alignment_menu.cc',
135 'launcher/launcher_alignment_menu.h',
136 'launcher/launcher_button.cc',
137 'launcher/launcher_button.h',
138 'launcher/launcher_delegate.h',
139 'launcher/launcher_icon_observer.h',
140 'launcher/launcher_model.cc',
141 'launcher/launcher_model.h',
142 'launcher/launcher_model_observer.h',
143 'launcher/launcher_navigator.cc',
144 'launcher/launcher_navigator.h',
145 'launcher/launcher_tooltip_manager.cc',
146 'launcher/launcher_tooltip_manager.h',
147 'launcher/launcher_types.cc',
148 'launcher/launcher_types.h',
149 'launcher/launcher_util.cc',
150 'launcher/launcher_util.h',
151 'launcher/launcher_view.cc',
152 'launcher/launcher_view.h',
153 'launcher/overflow_bubble.cc',
154 'launcher/overflow_bubble.h',
155 'launcher/overflow_button.cc',
156 'launcher/overflow_button.h',
157 'launcher/tabbed_launcher_button.cc',
158 'launcher/tabbed_launcher_button.h',
159 'magnifier/magnification_controller.cc',
160 'magnifier/magnification_controller.h',
161 'magnifier/magnifier_constants.h',
162 'magnifier/partial_magnification_controller.cc',
163 'magnifier/partial_magnification_controller.h',
166 'root_window_controller.cc',
167 'root_window_controller.h',
168 'rotator/screen_rotation.cc',
169 'rotator/screen_rotation.h',
172 'screensaver/screensaver_view.cc',
173 'screensaver/screensaver_view.h',
174 'screenshot_delegate.h',
175 'session_state_delegate.h',
176 'session_state_observer.h',
177 'shelf/background_animator.cc',
178 'shelf/background_animator.h',
179 'shelf/shelf_layout_manager.cc',
180 'shelf/shelf_layout_manager.h',
181 'shelf/shelf_layout_manager_observer.h',
182 'shelf/shelf_types.h',
183 'shelf/shelf_widget.cc',
184 'shelf/shelf_widget.h',
189 'shell_window_ids.h',
190 'system/bluetooth/bluetooth_observer.h',
191 'system/bluetooth/tray_bluetooth.cc',
192 'system/bluetooth/tray_bluetooth.h',
193 'system/brightness/brightness_observer.h',
194 'system/brightness/brightness_control_delegate.h',
195 'system/brightness/tray_brightness.cc',
196 'system/brightness/tray_brightness.h',
197 'system/chromeos/audio/audio_observer.h',
198 'system/chromeos/audio/tray_audio.cc',
199 'system/chromeos/audio/tray_audio.h',
200 'system/chromeos/enterprise/enterprise_domain_observer.h',
201 'system/chromeos/enterprise/tray_enterprise.h',
202 'system/chromeos/enterprise/tray_enterprise.cc',
203 'system/chromeos/keyboard_brightness_controller.cc',
204 'system/chromeos/keyboard_brightness_controller.h',
205 'system/chromeos/label_tray_view.h',
206 'system/chromeos/label_tray_view.cc',
207 'system/chromeos/managed/tray_locally_managed_user.h',
208 'system/chromeos/managed/tray_locally_managed_user.cc',
209 'system/chromeos/network/network_connect.cc',
210 'system/chromeos/network/network_connect.h',
211 'system/chromeos/network/network_detailed_view.h',
212 'system/chromeos/network/network_icon.cc',
213 'system/chromeos/network/network_icon.h',
214 'system/chromeos/network/network_icon_animation.cc',
215 'system/chromeos/network/network_icon_animation.h',
216 'system/chromeos/network/network_icon_animation_observer.h',
217 'system/chromeos/network/network_observer.cc',
218 'system/chromeos/network/network_observer.h',
219 'system/chromeos/network/network_state_list_detailed_view.cc',
220 'system/chromeos/network/network_state_list_detailed_view.h',
221 'system/chromeos/network/network_state_notifier.cc',
222 'system/chromeos/network/network_state_notifier.h',
223 'system/chromeos/network/network_tray_delegate.h',
224 'system/chromeos/network/tray_network.cc',
225 'system/chromeos/network/tray_network.h',
226 'system/chromeos/network/tray_network_state_observer.cc',
227 'system/chromeos/network/tray_network_state_observer.h',
228 'system/chromeos/network/tray_sms.cc',
229 'system/chromeos/network/tray_sms.h',
230 'system/chromeos/network/tray_vpn.cc',
231 'system/chromeos/network/tray_vpn.h',
232 'system/chromeos/power/power_status_view.cc',
233 'system/chromeos/power/power_status_view.h',
234 'system/chromeos/power/tray_power.cc',
235 'system/chromeos/power/tray_power.h',
236 'system/chromeos/screen_capture/screen_capture_observer.h',
237 'system/chromeos/screen_capture/tray_screen_capture.cc',
238 'system/chromeos/screen_capture/tray_screen_capture.h',
239 'system/chromeos/settings/tray_settings.cc',
240 'system/chromeos/settings/tray_settings.h',
241 'system/chromeos/tray_display.cc',
242 'system/chromeos/tray_display.h',
243 'system/date/clock_observer.h',
244 'system/date/date_view.cc',
245 'system/date/date_view.h',
246 'system/date/tray_date.cc',
247 'system/date/tray_date.h',
248 'system/drive/drive_observer.h',
249 'system/drive/tray_drive.cc',
250 'system/drive/tray_drive.h',
251 'system/ime/ime_observer.h',
252 'system/ime/tray_ime.cc',
253 'system/ime/tray_ime.h',
254 'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
255 'system/locale/tray_locale.cc',
256 'system/locale/tray_locale.h',
257 'system/logout_button/logout_button_observer.h',
258 'system/logout_button/tray_logout_button.cc',
259 'system/logout_button/tray_logout_button.h',
260 'system/monitor/tray_monitor.cc',
261 'system/monitor/tray_monitor.h',
262 'system/session_length_limit/session_length_limit_observer.h',
263 'system/session_length_limit/tray_session_length_limit.cc',
264 'system/session_length_limit/tray_session_length_limit.h',
265 'system/status_area_widget.cc',
266 'system/status_area_widget.h',
267 'system/status_area_widget_delegate.cc',
268 'system/status_area_widget_delegate.h',
269 'system/tray/actionable_view.cc',
270 'system/tray/actionable_view.h',
271 'system/tray/fixed_sized_image_view.cc',
272 'system/tray/fixed_sized_image_view.h',
273 'system/tray/fixed_sized_scroll_view.cc',
274 'system/tray/fixed_sized_scroll_view.h',
275 'system/tray/hover_highlight_view.cc',
276 'system/tray/hover_highlight_view.h',
277 'system/tray/special_popup_row.cc',
278 'system/tray/special_popup_row.h',
279 'system/tray/system_tray.cc',
280 'system/tray/system_tray.h',
281 'system/tray/system_tray_bubble.cc',
282 'system/tray/system_tray_bubble.h',
283 'system/tray/system_tray_delegate.cc',
284 'system/tray/system_tray_delegate.h',
285 'system/tray/system_tray_item.cc',
286 'system/tray/system_tray_item.h',
287 'system/tray/system_tray_notifier.cc',
288 'system/tray/system_tray_notifier.h',
289 'system/tray/test_system_tray_delegate.cc',
290 'system/tray/test_system_tray_delegate.h',
291 'system/tray/throbber_view.cc',
292 'system/tray/throbber_view.h',
293 'system/tray/tray_background_view.cc',
294 'system/tray/tray_background_view.h',
295 'system/tray/tray_bar_button_with_title.cc',
296 'system/tray/tray_bar_button_with_title.h',
297 'system/tray/tray_bubble_wrapper.cc',
298 'system/tray/tray_bubble_wrapper.h',
299 'system/tray/tray_constants.cc',
300 'system/tray/tray_constants.h',
301 'system/tray/tray_details_view.cc',
302 'system/tray/tray_details_view.h',
303 'system/tray/tray_empty.cc',
304 'system/tray/tray_empty.h',
305 'system/tray/tray_event_filter.cc',
306 'system/tray/tray_event_filter.h',
307 'system/tray/tray_image_item.cc',
308 'system/tray/tray_image_item.h',
309 'system/tray/tray_item_more.cc',
310 'system/tray/tray_item_more.h',
311 'system/tray/tray_item_view.cc',
312 'system/tray/tray_item_view.h',
313 'system/tray/tray_notification_view.cc',
314 'system/tray/tray_notification_view.h',
315 'system/tray/tray_popup_header_button.cc',
316 'system/tray/tray_popup_header_button.h',
317 'system/tray/tray_popup_label_button.cc',
318 'system/tray/tray_popup_label_button.cc',
319 'system/tray/tray_popup_label_button.h',
320 'system/tray/tray_popup_label_button_border.cc',
321 'system/tray/tray_popup_label_button_border.h',
322 'system/tray/tray_utils.cc',
323 'system/tray/tray_utils.h',
324 'system/tray/view_click_listener.h',
325 'system/tray_accessibility.cc',
326 'system/tray_accessibility.h',
327 'system/tray_caps_lock.cc',
328 'system/tray_caps_lock.h',
329 'system/tray_update.cc',
330 'system/tray_update.h',
331 'system/user/login_status.cc',
332 'system/user/login_status.h',
333 'system/user/tray_user.cc',
334 'system/user/tray_user.h',
335 'system/user/update_observer.h',
336 'system/user/user_observer.h',
337 'system/web_notification/web_notification_tray.cc',
338 'system/web_notification/web_notification_tray.h',
339 'touch/touch_observer_hud.cc',
340 'touch/touch_observer_hud.h',
341 'touch/touch_uma.cc',
343 'volume_control_delegate.h',
344 'wm/app_list_controller.cc',
345 'wm/app_list_controller.h',
346 'wm/activation_controller.cc',
347 'wm/activation_controller.h',
348 'wm/activation_controller_delegate.h',
349 'wm/always_on_top_controller.cc',
350 'wm/always_on_top_controller.h',
351 'wm/ash_activation_controller.cc',
352 'wm/ash_activation_controller.h',
353 'wm/ash_native_cursor_manager.cc',
354 'wm/ash_native_cursor_manager.h',
355 'wm/ash_focus_rules.cc',
356 'wm/ash_focus_rules.h',
357 'wm/base_layout_manager.cc',
358 'wm/base_layout_manager.h',
359 'wm/boot_splash_screen.cc',
360 'wm/boot_splash_screen.h',
361 'wm/capture_controller.cc',
362 'wm/capture_controller.h',
363 'wm/coordinate_conversion.cc',
364 'wm/coordinate_conversion.h',
365 'wm/custom_frame_view_ash.cc',
366 'wm/custom_frame_view_ash.h',
367 'wm/default_window_resizer.cc',
368 'wm/default_window_resizer.h',
369 'wm/drag_window_controller.cc',
370 'wm/drag_window_controller.h',
371 'wm/drag_window_resizer.cc',
372 'wm/drag_window_resizer.h',
373 'wm/event_client_impl.cc',
374 'wm/event_client_impl.h',
375 'wm/event_rewriter_event_filter.cc',
376 'wm/event_rewriter_event_filter.h',
377 'wm/frame_painter.cc',
378 'wm/frame_painter.h',
379 'wm/gestures/border_gesture_handler.cc',
380 'wm/gestures/border_gesture_handler.h',
381 'wm/gestures/long_press_affordance_handler.cc',
382 'wm/gestures/long_press_affordance_handler.h',
383 'wm/gestures/shelf_gesture_handler.cc',
384 'wm/gestures/shelf_gesture_handler.h',
385 'wm/gestures/system_pinch_handler.cc',
386 'wm/gestures/system_pinch_handler.h',
387 'wm/gestures/tray_gesture_handler.cc',
388 'wm/gestures/tray_gesture_handler.h',
389 'wm/gestures/two_finger_drag_handler.cc',
390 'wm/gestures/two_finger_drag_handler.h',
391 'wm/image_cursors.cc',
392 'wm/image_cursors.h',
393 'wm/lock_state_controller.cc',
394 'wm/lock_state_controller.h',
395 'wm/lock_state_controller_impl2.cc',
396 'wm/lock_state_controller_impl2.h',
397 'wm/lock_state_observer.h',
398 'wm/maximize_bubble_controller.cc',
399 'wm/maximize_bubble_controller.h',
400 'wm/overlay_event_filter.cc',
401 'wm/overlay_event_filter.h',
402 'wm/panels/panel_frame_view.cc',
403 'wm/panels/panel_frame_view.h',
404 'wm/panels/panel_layout_manager.cc',
405 'wm/panels/panel_layout_manager.h',
406 'wm/panels/panel_window_resizer.cc',
407 'wm/panels/panel_window_resizer.h',
408 'wm/partial_screenshot_view.cc',
409 'wm/partial_screenshot_view.h',
410 'wm/power_button_controller.cc',
411 'wm/power_button_controller.h',
412 'wm/property_util.cc',
413 'wm/property_util.h',
414 'wm/resize_shadow.cc',
415 'wm/resize_shadow.h',
416 'wm/resize_shadow_controller.cc',
417 'wm/resize_shadow_controller.h',
418 'wm/root_window_layout_manager.cc',
419 'wm/root_window_layout_manager.h',
420 'wm/screen_dimmer.cc',
421 'wm/screen_dimmer.h',
422 'wm/session_state_animator.cc',
423 'wm/session_state_animator.h',
424 'wm/session_state_controller_impl.cc',
425 'wm/session_state_controller_impl.h',
426 'wm/stacking_controller.cc',
427 'wm/stacking_controller.h',
428 'wm/status_area_layout_manager.cc',
429 'wm/status_area_layout_manager.h',
430 'wm/system_background_controller.cc',
431 'wm/system_background_controller.h',
432 'wm/system_gesture_event_filter.cc',
433 'wm/system_gesture_event_filter.h',
434 'wm/system_modal_container_event_filter.cc',
435 'wm/system_modal_container_event_filter.h',
436 'wm/system_modal_container_event_filter_delegate.h',
437 'wm/system_modal_container_layout_manager.cc',
438 'wm/system_modal_container_layout_manager.h',
439 'wm/toplevel_window_event_handler.cc',
440 'wm/toplevel_window_event_handler.h',
441 'wm/user_activity_detector.cc',
442 'wm/user_activity_detector.h',
443 'wm/user_activity_observer.h',
444 'wm/video_detector.cc',
445 'wm/video_detector.h',
446 'wm/window_animations.cc',
447 'wm/window_animations.h',
448 'wm/window_cycle_controller.cc',
449 'wm/window_cycle_controller.h',
450 'wm/window_cycle_list.cc',
451 'wm/window_cycle_list.h',
452 'wm/window_properties.cc',
453 'wm/window_properties.h',
454 'wm/window_resizer.cc',
455 'wm/window_resizer.h',
458 'wm/workspace_controller.cc',
459 'wm/workspace_controller.h',
460 'wm/workspace/auto_window_management.cc',
461 'wm/workspace/auto_window_management.h',
462 'wm/workspace/colored_window_controller.cc',
463 'wm/workspace/colored_window_controller.h',
464 'wm/workspace/desktop_background_fade_controller.cc',
465 'wm/workspace/desktop_background_fade_controller.h',
466 'wm/workspace/frame_maximize_button.cc',
467 'wm/workspace/frame_maximize_button.h',
468 'wm/workspace/magnetism_matcher.cc',
469 'wm/workspace/magnetism_matcher.h',
470 'wm/workspace/maximize_bubble_frame_state.h',
471 'wm/workspace/multi_window_resize_controller.cc',
472 'wm/workspace/multi_window_resize_controller.h',
473 'wm/workspace/phantom_window_controller.cc',
474 'wm/workspace/phantom_window_controller.h',
475 'wm/workspace/snap_sizer.cc',
476 'wm/workspace/snap_sizer.h',
477 'wm/workspace/snap_types.h',
478 'wm/workspace/workspace.cc',
479 'wm/workspace/workspace.h',
480 'wm/workspace/workspace_animations.cc',
481 'wm/workspace/workspace_animations.h',
482 'wm/workspace/workspace_cycler.cc',
483 'wm/workspace/workspace_cycler.h',
484 'wm/workspace/workspace_cycler_animator.cc',
485 'wm/workspace/workspace_cycler_animator.h',
486 'wm/workspace/workspace_cycler_configuration.cc',
487 'wm/workspace/workspace_cycler_configuration.h',
488 'wm/workspace/workspace_event_handler.cc',
489 'wm/workspace/workspace_event_handler.h',
490 'wm/workspace/workspace_layout_manager.cc',
491 'wm/workspace/workspace_layout_manager.h',
492 'wm/workspace/workspace_manager.cc',
493 'wm/workspace/workspace_manager.h',
494 'wm/workspace/workspace_types.h',
495 'wm/workspace/workspace_window_resizer.cc',
496 'wm/workspace/workspace_window_resizer.h',
501 ['exclude', 'accelerators/accelerator_controller.cc'],
502 ['exclude', 'accelerators/accelerator_controller.h'],
503 ['exclude', 'accelerators/accelerator_dispatcher.cc'],
504 ['exclude', 'accelerators/accelerator_dispatcher.h'],
505 ['exclude', 'accelerators/accelerator_filter.cc'],
506 ['exclude', 'accelerators/accelerator_filter.h'],
507 ['exclude', 'accelerators/exit_warning_handler.cc'],
508 ['exclude', 'accelerators/exit_warning_handler.h'],
509 ['exclude', 'accelerators/nested_dispatcher_controller.cc'],
510 ['exclude', 'accelerators/nested_dispatcher_controller.h'],
515 ['exclude', 'host/root_window_host_factory.cc'],
517 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
518 'msvs_disabled_warnings': [ 4267, ],
522 ['exclude', 'system/monitor/tray_monitor.cc'],
523 ['exclude', 'system/monitor/tray_monitor.h'],
528 '../chromeos/chromeos.gyp:chromeos',
530 }, { # else: chromeos!=1
532 ['exclude', '/chromeos/'],
533 ['exclude', 'display/display_error_dialog.cc'],
534 ['exclude', 'display/display_error_dialog.h'],
535 ['exclude', 'display/output_configurator_animation.cc'],
536 ['exclude', 'display/output_configurator_animation.h'],
542 'target_name': 'ash_test_support',
543 'type': 'static_library',
545 '../skia/skia.gyp:skia',
546 '../testing/gtest.gyp:gtest',
551 'test/ash_test_base.cc',
552 'test/ash_test_base.h',
553 'test/ash_test_helper.cc',
554 'test/ash_test_helper.h',
555 'test/cursor_manager_test_api.cc',
556 'test/cursor_manager_test_api.h',
557 'test/launcher_view_test_api.cc',
558 'test/launcher_view_test_api.h',
559 'test/display_manager_test_api.cc',
560 'test/display_manager_test_api.h',
561 'test/mirror_window_test_api.cc',
562 'test/mirror_window_test_api.h',
563 'test/shell_test_api.cc',
564 'test/shell_test_api.h',
565 'test/test_activation_delegate.cc',
566 'test/test_activation_delegate.h',
567 'test/test_launcher_delegate.cc',
568 'test/test_launcher_delegate.h',
569 'test/test_session_state_delegate.cc',
570 'test/test_session_state_delegate.cc',
571 'test/test_shell_delegate.cc',
572 'test/test_shell_delegate.h',
573 'test/test_suite.cc',
575 'test/test_suite_init.h',
576 'test/test_suite_init.mm',
581 '../ipc/ipc.gyp:ipc',
582 '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
583 '../win8/win8.gyp:metro_viewer',
584 '../win8/win8.gyp:test_support_win8',
585 '../win8/win8_tests.gyp:test_registrar',
588 'test/test_metro_viewer_process_host.cc',
589 'test/test_metro_viewer_process_host.h',
595 'target_name': 'ash_unittests',
596 'type': 'executable',
598 '../base/base.gyp:base',
599 '../base/base.gyp:test_support_base',
600 '../chrome/chrome_resources.gyp:packed_resources',
601 '../content/content.gyp:content_browser',
602 '../content/content.gyp:test_support_content',
603 '../skia/skia.gyp:skia',
604 '../testing/gtest.gyp:gtest',
605 '../third_party/icu/icu.gyp:icui18n',
606 '../third_party/icu/icu.gyp:icuuc',
607 '../ui/app_list/app_list.gyp:app_list',
608 '../ui/aura/aura.gyp:aura',
609 '../ui/aura/aura.gyp:aura_test_support',
610 '../ui/compositor/compositor.gyp:compositor',
611 '../ui/keyboard/keyboard.gyp:keyboard',
612 '../ui/message_center/message_center.gyp:message_center',
614 '../ui/ui.gyp:ui_resources',
615 '../ui/ui.gyp:ui_test_support',
616 '../ui/views/views.gyp:views',
617 '../ui/views/views.gyp:views_examples_with_content_lib',
618 '../ui/views/views.gyp:views_test_support',
619 '../ui/views/views.gyp:views_with_content_test_support',
620 '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
621 '../url/url.gyp:url_lib',
622 'ash_strings.gyp:ash_strings',
628 '../ui/compositor/test/layer_animator_test_controller.cc',
629 '../ui/compositor/test/layer_animator_test_controller.h',
630 '../ui/views/test/test_views_delegate.cc',
631 '../ui/views/test/test_views_delegate.h',
632 'accelerators/accelerator_controller_unittest.cc',
633 'accelerators/accelerator_filter_unittest.cc',
634 'accelerators/accelerator_table_unittest.cc',
635 'accelerators/nested_dispatcher_controller_unittest.cc',
636 'desktop_background/desktop_background_controller_unittest.cc',
638 'display/display_controller_unittest.cc',
639 'display/display_error_dialog_unittest.cc',
640 'display/display_info_unittest.cc',
641 'display/display_manager_unittest.cc',
642 'display/mirror_window_controller_unittest.cc',
643 'display/mouse_cursor_event_filter_unittest.cc',
644 'display/root_window_transformers_unittest.cc',
645 'display/screen_position_controller_unittest.cc',
646 'drag_drop/drag_drop_controller_unittest.cc',
647 'drag_drop/drag_drop_tracker_unittest.cc',
648 'extended_desktop_unittest.cc',
649 'focus_cycler_unittest.cc',
650 'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
651 'keyboard_overlay/keyboard_overlay_view_unittest.cc',
652 'launcher/launcher_model_unittest.cc',
653 'launcher/launcher_navigator_unittest.cc',
654 'launcher/launcher_tooltip_manager_unittest.cc',
655 'launcher/launcher_unittest.cc',
656 'launcher/launcher_view_unittest.cc',
657 'magnifier/magnification_controller_unittest.cc',
658 'root_window_controller_unittest.cc',
659 'screen_ash_unittest.cc',
660 'screensaver/screensaver_view_unittest.cc',
661 'session_state_delegate_stub.cc',
662 'session_state_delegate_stub.h',
663 'shelf/shelf_layout_manager_unittest.cc',
664 'shelf/shelf_widget_unittest.cc',
668 'shell/context_menu.cc',
669 'shell/context_menu.h',
670 'shell/launcher_delegate_impl.cc',
671 'shell/lock_view.cc',
672 'shell/panel_window.cc',
673 'shell/shell_delegate_impl.cc',
674 'shell/shell_delegate_impl.h',
675 'shell/toplevel_window.cc',
677 'shell/window_type_launcher.cc',
678 'shell/window_watcher.cc',
679 'shell/window_watcher_unittest.cc',
680 'system/chromeos/network/network_state_notifier_unittest.cc',
681 'system/tray/system_tray_unittest.cc',
682 'system/user/tray_user_unittest.cc',
683 'system/web_notification/web_notification_tray_unittest.cc',
684 'test/ash_test_helper_unittest.cc',
685 'test/ash_unittests.cc',
686 'tooltips/tooltip_controller_unittest.cc',
687 'touch/touch_observer_hud_unittest.cc',
688 'wm/activation_controller_unittest.cc',
689 'wm/ash_activation_controller_unittest.cc',
690 'wm/ash_native_cursor_manager_unittest.cc',
691 'wm/base_layout_manager_unittest.cc',
692 'wm/custom_frame_view_ash_unittest.cc',
693 'wm/drag_window_resizer_unittest.cc',
694 'wm/frame_painter_unittest.cc',
695 'wm/lock_state_controller_impl2_unittest.cc',
696 'wm/panels/panel_layout_manager_unittest.cc',
697 'wm/panels/panel_window_resizer_unittest.cc',
698 'wm/partial_screenshot_view_unittest.cc',
699 'wm/power_button_controller_unittest.cc',
700 'wm/screen_dimmer_unittest.cc',
701 'wm/stacking_controller_unittest.cc',
702 'wm/system_gesture_event_filter_unittest.cc',
703 'wm/system_modal_container_layout_manager_unittest.cc',
704 'wm/toplevel_window_event_handler_unittest.cc',
705 'wm/user_activity_detector_unittest.cc',
706 'wm/video_detector_unittest.cc',
707 'wm/window_animations_unittest.cc',
708 'wm/window_cycle_controller_unittest.cc',
709 'wm/window_manager_unittest.cc',
710 'wm/window_modality_controller_unittest.cc',
711 'wm/window_util_unittest.cc',
712 'wm/workspace_controller_test_helper.cc',
713 'wm/workspace_controller_test_helper.h',
714 'wm/workspace/magnetism_matcher_unittest.cc',
715 'wm/workspace/multi_window_resize_controller_unittest.cc',
716 'wm/workspace/workspace_event_handler_test_helper.cc',
717 'wm/workspace/workspace_event_handler_test_helper.h',
718 'wm/workspace/workspace_event_handler_unittest.cc',
719 'wm/workspace/workspace_layout_manager_unittest.cc',
720 'wm/workspace/workspace_manager_unittest.cc',
721 'wm/workspace/workspace_window_resizer_unittest.cc',
722 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_resources.rc',
727 # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
728 ['exclude', 'focus_cycler_unittest.cc'],
729 # All tests for multiple displays: not supported on Windows Ash.
730 ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
731 ['exclude', 'wm/drag_window_resizer_unittest.cc'],
732 # Can't resize on Windows Ash. http://crbug.com/165962
733 ['exclude', 'ash_root_window_transformer_unittest.cc'],
734 ['exclude', 'magnifier/magnification_controller_unittest.cc'],
735 ['exclude', 'wm/workspace/workspace_window_resizer_unittest.cc'],
738 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc',
740 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
741 'msvs_disabled_warnings': [ 4267, ],
745 ['exclude', 'accelerators/accelerator_controller_unittest.cc'],
746 ['exclude', 'accelerators/accelerator_filter_unittest.cc'],
747 ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
748 ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'],
749 ['exclude', 'tooltips/tooltip_controller_unittest.cc'],
752 # Mac tests access resources via the 'AuraShell.app' directory.
755 # Special linker instructions that avoids stripping Obj-C classes that
756 # are not referenced in code, but are referenced in nibs.
757 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
761 ['exclude', 'display/display_error_dialog_unittest.cc'],
767 'target_name': 'ash_shell',
768 'type': 'executable',
770 'ash_strings.gyp:ash_strings',
771 '../base/base.gyp:base',
772 '../base/base.gyp:base_i18n',
773 '../chrome/chrome_resources.gyp:packed_resources',
774 '../content/content.gyp:content_shell_lib',
775 '../content/content.gyp:content',
776 '../skia/skia.gyp:skia',
777 '../third_party/icu/icu.gyp:icui18n',
778 '../third_party/icu/icu.gyp:icuuc',
779 '../ui/app_list/app_list.gyp:app_list',
780 '../ui/aura/aura.gyp:aura',
781 '../ui/compositor/compositor.gyp:compositor',
782 '../ui/keyboard/keyboard.gyp:keyboard',
783 '../ui/message_center/message_center.gyp:message_center',
785 '../ui/ui.gyp:ui_resources',
786 '../ui/views/views.gyp:views',
787 '../ui/views/views.gyp:views_examples_lib',
788 '../ui/views/views.gyp:views_examples_with_content_lib',
789 '../ui/views/views.gyp:views_test_support',
794 'session_state_delegate_stub.cc',
795 'session_state_delegate_stub.h',
798 'shell/content_client/shell_browser_main_parts.cc',
799 'shell/content_client/shell_browser_main_parts.h',
800 'shell/content_client/shell_content_browser_client.cc',
801 'shell/content_client/shell_content_browser_client.h',
802 'shell/content_client/shell_main_delegate.cc',
803 'shell/content_client/shell_main_delegate.h',
804 'shell/context_menu.cc',
805 'shell/context_menu.h',
806 'shell/example_factory.h',
807 'shell/launcher_delegate_impl.cc',
808 'shell/launcher_delegate_impl.h',
809 'shell/lock_view.cc',
810 'shell/panel_window.cc',
811 'shell/panel_window.h',
812 'shell/shell_delegate_impl.cc',
813 'shell/shell_delegate_impl.h',
814 'shell/shell_main.cc',
815 'shell/shell_main_parts.cc',
816 'shell/shell_main_parts.h',
817 'shell/shell_main_parts_mac.mm',
818 'shell/toplevel_window.cc',
819 'shell/toplevel_window.h',
821 'shell/window_type_launcher.cc',
822 'shell/window_type_launcher.h',
823 'shell/window_watcher.cc',
824 'shell/window_watcher.h',
825 '../content/app/startup_helper_win.cc',
826 '../ui/views/test/test_views_delegate.cc',
827 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_resources.rc',
833 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
837 '../sandbox/sandbox.gyp:sandbox',
841 'product_name': 'AuraShell',
844 ['exclude', 'shell/shell_main_parts.cc'],
846 'mac_bundle_resources': [
847 'shell/cocoa/app.icns',
848 'shell/cocoa/app-Info.plist',
849 'shell/cocoa/nibs/MainMenu.xib',
850 'shell/cocoa/nibs/RootWindow.xib',
851 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
852 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
854 'mac_bundle_resources!': [
855 'shell/cocoa/app-Info.plist',
858 'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist',