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',
14 'type': '<(component)',
16 'ash_strings.gyp:ash_strings',
17 '../base/base.gyp:base',
18 '../base/base.gyp:base_i18n',
19 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
20 '../build/temp_gyp/googleurl.gyp:googleurl',
21 '../content/content.gyp:content',
22 '../content/content.gyp:content_browser',
25 '../skia/skia.gyp:skia',
26 '../third_party/icu/icu.gyp:icui18n',
27 '../third_party/icu/icu.gyp:icuuc',
28 '../ui/app_list/app_list.gyp:app_list',
29 '../ui/aura/aura.gyp:aura',
30 '../ui/base/strings/ui_strings.gyp:ui_strings',
31 '../ui/compositor/compositor.gyp:compositor',
32 '../ui/oak/oak.gyp:oak',
34 '../ui/ui.gyp:ui_resources',
35 '../ui/ui.gyp:ui_resources_standard',
36 '../ui/views/views.gyp:views',
42 # All .cc, .h under ash, except unittests
43 'accelerators/accelerator_controller.cc',
44 'accelerators/accelerator_controller.h',
45 'accelerators/accelerator_dispatcher.cc',
46 'accelerators/accelerator_dispatcher.h',
47 'accelerators/accelerator_filter.cc',
48 'accelerators/accelerator_filter.h',
49 'accelerators/accelerator_table.cc',
50 'accelerators/accelerator_table.h',
51 'accelerators/focus_manager_factory.cc',
52 'accelerators/focus_manager_factory.h',
53 'accelerators/nested_dispatcher_controller.cc',
54 'accelerators/nested_dispatcher_controller.h',
57 'caps_lock_delegate.h',
58 'desktop_background/desktop_background_controller.cc',
59 'desktop_background/desktop_background_controller.h',
60 'desktop_background/desktop_background_resources.cc',
61 'desktop_background/desktop_background_resources.h',
62 'desktop_background/desktop_background_view.cc',
63 'desktop_background/desktop_background_view.h',
64 'drag_drop/drag_drop_controller.cc',
65 'drag_drop/drag_drop_controller.h',
66 'drag_drop/drag_image_view.cc',
67 'drag_drop/drag_image_view.h',
70 'high_contrast/high_contrast_controller.cc',
71 'high_contrast/high_contrast_controller.h',
72 'key_rewriter_delegate.h',
73 'launcher/background_animator.cc',
74 'launcher/background_animator.h',
75 'launcher/launcher.cc',
76 'launcher/launcher.h',
77 'launcher/launcher_alignment_menu.cc',
78 'launcher/launcher_alignment_menu.h',
79 'launcher/launcher_button.cc',
80 'launcher/launcher_button.h',
81 'launcher/launcher_context_menu.cc',
82 'launcher/launcher_context_menu.h',
83 'launcher/launcher_delegate.h',
84 'launcher/launcher_icon_observer.h',
85 'launcher/launcher_model.cc',
86 'launcher/launcher_model.h',
87 'launcher/launcher_model_observer.h',
88 'launcher/launcher_navigator.cc',
89 'launcher/launcher_navigator.h',
90 'launcher/launcher_types.cc',
91 'launcher/launcher_types.h',
92 'launcher/launcher_view.cc',
93 'launcher/launcher_view.h',
94 'launcher/tabbed_launcher_button.cc',
95 'launcher/tabbed_launcher_button.h',
96 'magnifier/magnification_controller.cc',
97 'magnifier/magnification_controller.h',
98 'monitor/monitor_controller.cc',
99 'monitor/monitor_controller.h',
100 'monitor/multi_monitor_manager.cc',
101 'monitor/multi_monitor_manager.h',
102 'monitor/secondary_monitor_view.cc',
103 'monitor/secondary_monitor_view.h',
106 'screensaver/screensaver_view.cc',
107 'screensaver/screensaver_view.h',
108 'screenshot_delegate.h',
111 'shell_context_menu.cc',
112 'shell_context_menu.h',
115 'shell_window_ids.h',
116 'system/audio/audio_observer.h',
117 'system/audio/tray_volume.cc',
118 'system/audio/tray_volume.h',
119 'system/bluetooth/bluetooth_observer.h',
120 'system/bluetooth/tray_bluetooth.cc',
121 'system/bluetooth/tray_bluetooth.h',
122 'system/brightness/brightness_observer.h',
123 'system/brightness/brightness_control_delegate.h',
124 'system/brightness/tray_brightness.cc',
125 'system/brightness/tray_brightness.h',
126 'system/date/clock_observer.h',
127 'system/date/date_view.cc',
128 'system/date/date_view.h',
129 'system/date/tray_date.cc',
130 'system/date/tray_date.h',
131 'system/drive/drive_observer.h',
132 'system/drive/tray_drive.cc',
133 'system/drive/tray_drive.h',
134 'system/ime/ime_observer.h',
135 'system/ime/tray_ime.cc',
136 'system/ime/tray_ime.h',
137 'system/locale/tray_locale.cc',
138 'system/locale/tray_locale.h',
139 'system/network/network_observer.h',
140 'system/network/tray_network.cc',
141 'system/network/tray_network.h',
142 'system/network/tray_sms.cc',
143 'system/network/tray_sms.h',
144 'system/power/power_status_observer.h',
145 'system/power/power_status_view.cc',
146 'system/power/power_status_view.h',
147 'system/power/power_supply_status.cc',
148 'system/power/power_supply_status.h',
149 'system/power/tray_power.cc',
150 'system/power/tray_power.h',
151 'system/settings/tray_settings.cc',
152 'system/settings/tray_settings.h',
153 'system/status_area_widget.cc',
154 'system/status_area_widget.h',
155 'system/status_area_widget_delegate.cc',
156 'system/status_area_widget_delegate.h',
157 'system/tray/system_tray.cc',
158 'system/tray/system_tray.h',
159 'system/tray/system_tray_bubble.cc',
160 'system/tray/system_tray_bubble.h',
161 'system/tray/system_tray_delegate.cc',
162 'system/tray/system_tray_delegate.h',
163 'system/tray/system_tray_item.cc',
164 'system/tray/system_tray_item.h',
165 'system/tray/tray_background_view.cc',
166 'system/tray/tray_background_view.h',
167 'system/tray/tray_bubble_view.cc',
168 'system/tray/tray_bubble_view.h',
169 'system/tray/tray_constants.cc',
170 'system/tray/tray_constants.h',
171 'system/tray/tray_details_view.cc',
172 'system/tray/tray_details_view.h',
173 'system/tray/tray_empty.cc',
174 'system/tray/tray_empty.h',
175 'system/tray/tray_image_item.cc',
176 'system/tray/tray_image_item.h',
177 'system/tray/tray_item_more.cc',
178 'system/tray/tray_item_more.h',
179 'system/tray/tray_item_view.cc',
180 'system/tray/tray_item_view.h',
181 'system/tray/tray_views.cc',
182 'system/tray/tray_views.h',
183 'system/tray_accessibility.cc',
184 'system/tray_accessibility.h',
185 'system/tray_caps_lock.cc',
186 'system/tray_caps_lock.h',
187 'system/tray_update.cc',
188 'system/tray_update.h',
189 'system/user/login_status.h',
190 'system/user/tray_user.cc',
191 'system/user/tray_user.h',
192 'system/user/update_observer.h',
193 'system/user/user_observer.h',
194 'tooltips/tooltip_controller.cc',
195 'tooltips/tooltip_controller.h',
196 'touch/touch_observer_hud.cc',
197 'touch/touch_observer_hud.h',
198 'ui_controls_ash.cc',
199 'volume_control_delegate.h',
200 'wm/app_list_controller.cc',
201 'wm/app_list_controller.h',
202 'wm/activation_controller.cc',
203 'wm/activation_controller.h',
204 'wm/always_on_top_controller.cc',
205 'wm/always_on_top_controller.h',
206 'wm/base_layout_manager.cc',
207 'wm/base_layout_manager.h',
208 'wm/capture_controller.cc',
209 'wm/capture_controller.h',
210 'wm/custom_frame_view_ash.cc',
211 'wm/custom_frame_view_ash.h',
212 'wm/default_window_resizer.cc',
213 'wm/default_window_resizer.h',
214 'wm/dialog_frame_view.cc',
215 'wm/dialog_frame_view.h',
216 'wm/event_client_impl.cc',
217 'wm/event_client_impl.h',
218 'wm/frame_painter.cc',
219 'wm/frame_painter.h',
222 'wm/key_rewriter_event_filter.cc',
223 'wm/key_rewriter_event_filter.h',
224 'wm/panel_frame_view.cc',
225 'wm/panel_frame_view.h',
226 'wm/panel_layout_manager.cc',
227 'wm/panel_layout_manager.h',
228 'wm/panel_window_event_filter.cc',
229 'wm/panel_window_event_filter.h',
230 'wm/partial_screenshot_event_filter.cc',
231 'wm/partial_screenshot_event_filter.h',
232 'wm/partial_screenshot_view.cc',
233 'wm/partial_screenshot_view.h',
234 'wm/power_button_controller.cc',
235 'wm/power_button_controller.h',
236 'wm/property_util.cc',
237 'wm/property_util.h',
238 'wm/resize_shadow.cc',
239 'wm/resize_shadow.h',
240 'wm/resize_shadow_controller.cc',
241 'wm/resize_shadow_controller.h',
242 'wm/root_window_layout_manager.cc',
243 'wm/root_window_layout_manager.h',
244 'wm/scoped_observer.h',
245 'wm/screen_dimmer.cc',
246 'wm/screen_dimmer.h',
249 'wm/shadow_controller.cc',
250 'wm/shadow_controller.h',
251 'wm/shadow_types.cc',
253 'wm/shelf_auto_hide_behavior.h',
254 'wm/shelf_layout_manager.cc',
255 'wm/shelf_layout_manager.h',
256 'wm/slow_animation_event_filter.cc',
257 'wm/slow_animation_event_filter.h',
258 'wm/stacking_controller.cc',
259 'wm/stacking_controller.h',
260 'wm/status_area_layout_manager.cc',
261 'wm/status_area_layout_manager.h',
262 'wm/system_gesture_event_filter.cc',
263 'wm/system_gesture_event_filter.h',
264 'wm/system_modal_container_event_filter.cc',
265 'wm/system_modal_container_event_filter.h',
266 'wm/system_modal_container_event_filter_delegate.h',
267 'wm/system_modal_container_layout_manager.cc',
268 'wm/system_modal_container_layout_manager.h',
269 'wm/toplevel_window_event_filter.cc',
270 'wm/toplevel_window_event_filter.h',
271 'wm/user_activity_detector.cc',
272 'wm/user_activity_detector.h',
273 'wm/user_activity_observer.h',
274 'wm/video_detector.cc',
275 'wm/video_detector.h',
276 'wm/visibility_controller.cc',
277 'wm/visibility_controller.h',
278 'wm/window_animations.cc',
279 'wm/window_animations.h',
280 'wm/window_cycle_controller.cc',
281 'wm/window_cycle_controller.h',
282 'wm/window_cycle_list.cc',
283 'wm/window_cycle_list.h',
284 'wm/window_frame.cc',
286 'wm/window_modality_controller.cc',
287 'wm/window_modality_controller.h',
288 'wm/window_properties.cc',
289 'wm/window_properties.h',
290 'wm/window_resizer.cc',
291 'wm/window_resizer.h',
294 'wm/workspace_controller.cc',
295 'wm/workspace_controller.h',
296 'wm/workspace/frame_maximize_button.cc',
297 'wm/workspace/frame_maximize_button.h',
298 'wm/workspace/managed_workspace.cc',
299 'wm/workspace/managed_workspace.h',
300 'wm/workspace/maximized_workspace.cc',
301 'wm/workspace/maximized_workspace.h',
302 'wm/workspace/multi_window_resize_controller.cc',
303 'wm/workspace/multi_window_resize_controller.h',
304 'wm/workspace/phantom_window_controller.cc',
305 'wm/workspace/phantom_window_controller.h',
306 'wm/workspace/snap_sizer.cc',
307 'wm/workspace/snap_sizer.h',
308 'wm/workspace/workspace.cc',
309 'wm/workspace/workspace.h',
310 'wm/workspace/workspace_event_filter.cc',
311 'wm/workspace/workspace_event_filter.h',
312 'wm/workspace/workspace_layout_manager.cc',
313 'wm/workspace/workspace_layout_manager.h',
314 'wm/workspace/workspace_manager.cc',
315 'wm/workspace/workspace_manager.h',
316 'wm/workspace/workspace_window_resizer.cc',
317 'wm/workspace/workspace_window_resizer.h',
322 ['exclude', 'accelerators/accelerator_controller.cc'],
323 ['exclude', 'accelerators/accelerator_controller.h'],
324 ['exclude', 'accelerators/accelerator_dispatcher.cc'],
325 ['exclude', 'accelerators/accelerator_dispatcher.h'],
326 ['exclude', 'accelerators/accelerator_filter.cc'],
327 ['exclude', 'accelerators/accelerator_filter.h'],
328 ['exclude', 'accelerators/nested_dispatcher_controller.cc'],
329 ['exclude', 'accelerators/nested_dispatcher_controller.h'],
334 '../chromeos/chromeos.gyp:chromeos',
340 'target_name': 'aura_shell_unittests',
341 'type': 'executable',
343 '../base/base.gyp:base',
344 '../base/base.gyp:test_support_base',
345 '../chrome/chrome_resources.gyp:packed_resources',
346 '../content/content.gyp:content_browser',
347 '../content/content.gyp:test_support_content',
348 '../build/temp_gyp/googleurl.gyp:googleurl',
349 '../skia/skia.gyp:skia',
350 '../testing/gtest.gyp:gtest',
351 '../third_party/icu/icu.gyp:icui18n',
352 '../third_party/icu/icu.gyp:icuuc',
353 '../ui/aura/aura.gyp:aura',
354 '../ui/aura/aura.gyp:test_support_aura',
355 '../ui/compositor/compositor.gyp:compositor',
356 '../ui/compositor/compositor.gyp:compositor_test_support',
358 '../ui/ui.gyp:ui_resources',
359 '../ui/ui.gyp:ui_resources_standard',
360 '../ui/ui.gyp:ui_test_support',
361 '../ui/views/views.gyp:views',
362 '../ui/views/views.gyp:test_support_views',
366 '../ui/views/test/test_views_delegate.cc',
367 '../ui/views/test/test_views_delegate.h',
368 'accelerators/accelerator_controller_unittest.cc',
369 'accelerators/accelerator_filter_unittest.cc',
370 'accelerators/accelerator_table_unittest.cc',
371 'accelerators/nested_dispatcher_controller_unittest.cc',
373 'drag_drop/drag_drop_controller_unittest.cc',
374 'focus_cycler_unittest.cc',
375 'launcher/launcher_context_menu_unittest.cc',
376 'launcher/launcher_model_unittest.cc',
377 'launcher/launcher_navigator_unittest.cc',
378 'launcher/launcher_unittest.cc',
379 'launcher/launcher_view_unittest.cc',
380 'monitor/multi_monitor_manager_unittest.cc',
381 'screensaver/screensaver_view_unittest.cc',
383 'system/tray/system_tray_unittest.cc',
384 'test/ash_test_base.cc',
385 'test/ash_test_base.h',
386 'test/ash_unittests.cc',
387 'test/capture_tracking_view.cc',
388 'test/capture_tracking_view.h',
389 'test/launcher_view_test_api.cc',
390 'test/launcher_view_test_api.h',
391 'test/test_activation_delegate.cc',
392 'test/test_activation_delegate.h',
393 'test/test_launcher_delegate.cc',
394 'test/test_launcher_delegate.h',
395 'test/test_shell_delegate.cc',
396 'test/test_shell_delegate.h',
397 'test/test_suite.cc',
399 'test/test_suite_init.h',
400 'test/test_suite_init.mm',
401 'tooltips/tooltip_controller_unittest.cc',
402 'wm/activation_controller_unittest.cc',
403 'wm/base_layout_manager_unittest.cc',
404 'wm/custom_frame_view_ash_unittest.cc',
405 'wm/frame_painter_unittest.cc',
406 'wm/image_grid_unittest.cc',
407 'wm/panel_layout_manager_unittest.cc',
408 'wm/power_button_controller_unittest.cc',
409 'wm/screen_dimmer_unittest.cc',
410 'wm/shadow_controller_unittest.cc',
411 'wm/shelf_layout_manager_unittest.cc',
412 'wm/slow_animation_event_filter_unittest.cc',
413 'wm/system_gesture_event_filter_unittest.cc',
414 'wm/system_modal_container_layout_manager_unittest.cc',
415 'wm/toplevel_window_event_filter_unittest.cc',
416 'wm/video_detector_unittest.cc',
417 'wm/visibility_controller_unittest.cc',
418 'wm/window_animations_unittest.cc',
419 'wm/window_cycle_controller_unittest.cc',
420 'wm/window_manager_unittest.cc',
421 'wm/window_modality_controller_unittest.cc',
422 'wm/workspace_controller_test_helper.cc',
423 'wm/workspace_controller_test_helper.h',
424 'wm/workspace/multi_window_resize_controller_unittest.cc',
425 'wm/workspace/workspace_event_filter_test_helper.cc',
426 'wm/workspace/workspace_event_filter_test_helper.h',
427 'wm/workspace/workspace_event_filter_unittest.cc',
428 'wm/workspace/workspace_manager_unittest.cc',
429 'wm/workspace/workspace_window_resizer_unittest.cc',
431 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
432 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
437 '../build/linux/system.gyp:ibus',
441 # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
443 ['exclude', 'focus_cycler_unittest.cc'],
448 ['exclude', 'accelerators/accelerator_controller_unittest.cc'],
449 ['exclude', 'accelerators/accelerator_filter_unittest.cc'],
450 ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
451 ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'],
452 ['exclude', 'tooltips/tooltip_controller_unittest.cc'],
455 # Mac tests access resources via the 'AuraShell.app' directory.
458 # Special linker instructions that avoids stripping Obj-C classes that
459 # are not referenced in code, but are referenced in nibs.
460 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
465 'target_name': 'ash_shell',
466 'type': 'executable',
468 '../base/base.gyp:base',
469 '../base/base.gyp:base_i18n',
470 '../chrome/chrome_resources.gyp:packed_resources',
471 '../content/content.gyp:content_shell_lib',
472 '../content/content.gyp:content',
473 '../skia/skia.gyp:skia',
474 '../third_party/icu/icu.gyp:icui18n',
475 '../third_party/icu/icu.gyp:icuuc',
476 '../ui/app_list/app_list.gyp:app_list',
477 '../ui/aura/aura.gyp:aura',
478 '../ui/compositor/compositor.gyp:compositor',
479 '../ui/compositor/compositor.gyp:compositor_test_support',
481 '../ui/ui.gyp:ui_resources',
482 '../ui/ui.gyp:ui_resources_standard',
483 '../ui/views/views.gyp:views',
484 '../ui/views/views.gyp:views_examples_lib',
485 '../ui/views/views.gyp:test_support_views',
491 'shell/content_client/shell_browser_main_parts.cc',
492 'shell/content_client/shell_browser_main_parts.h',
493 'shell/content_client/shell_content_browser_client.cc',
494 'shell/content_client/shell_content_browser_client.h',
495 'shell/content_client/shell_main_delegate.cc',
496 'shell/content_client/shell_main_delegate.h',
497 'shell/example_factory.h',
498 'shell/launcher_delegate_impl.cc',
499 'shell/launcher_delegate_impl.h',
500 'shell/lock_view.cc',
501 'shell/panel_window.cc',
502 'shell/panel_window.h',
503 'shell/shell_delegate_impl.cc',
504 'shell/shell_delegate_impl.h',
505 'shell/shell_main.cc',
506 'shell/shell_main_parts.cc',
507 'shell/shell_main_parts.h',
508 'shell/shell_main_parts_mac.mm',
509 'shell/toplevel_window.cc',
510 'shell/toplevel_window.h',
512 'shell/window_type_launcher.cc',
513 'shell/window_type_launcher.h',
514 'shell/window_watcher.cc',
515 'shell/window_watcher.h',
516 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
517 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
518 '../content/app/startup_helper_win.cc',
519 '../ui/views/test/test_views_delegate.cc',
525 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
529 '../sandbox/sandbox.gyp:sandbox',
533 'product_name': 'AuraShell',
536 ['exclude', 'shell/shell_main_parts.cc'],
538 'mac_bundle_resources': [
539 'shell/cocoa/app.icns',
540 'shell/cocoa/app-Info.plist',
541 'shell/cocoa/nibs/MainMenu.xib',
542 'shell/cocoa/nibs/RootWindow.xib',
543 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
544 '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
546 'mac_bundle_resources!': [
547 'shell/cocoa/app-Info.plist',
550 'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist',