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',
22 '../skia/skia.gyp:skia',
23 '../third_party/icu/icu.gyp:icui18n',
24 '../third_party/icu/icu.gyp:icuuc',
25 '../ui/aura/aura.gyp:aura',
26 '../ui/base/strings/ui_strings.gyp:ui_strings',
27 '../ui/gfx/compositor/compositor.gyp:compositor',
29 '../ui/ui.gyp:ui_resources',
30 '../ui/ui.gyp:ui_resources_standard',
31 '../ui/views/views.gyp:views',
37 # All .cc, .h under ash, except unittests
38 'accelerators/accelerator_controller.cc',
39 'accelerators/accelerator_controller.h',
40 'accelerators/accelerator_dispatcher.cc',
41 'accelerators/accelerator_dispatcher.h',
42 'accelerators/accelerator_dispatcher_linux.cc',
43 'accelerators/accelerator_dispatcher_win.cc',
44 'accelerators/accelerator_filter.cc',
45 'accelerators/accelerator_filter.h',
46 'accelerators/nested_dispatcher_controller.cc',
47 'accelerators/nested_dispatcher_controller.h',
48 'app_list/app_list.cc',
49 'app_list/app_list.h',
50 'app_list/app_list_groups_view.cc',
51 'app_list/app_list_groups_view.h',
52 'app_list/app_list_item_group_model.cc',
53 'app_list/app_list_item_group_model.h',
54 'app_list/app_list_item_group_view.cc',
55 'app_list/app_list_item_group_view.h',
56 'app_list/app_list_item_model.cc',
57 'app_list/app_list_item_model.h',
58 'app_list/app_list_item_model_observer.h',
59 'app_list/app_list_item_view.cc',
60 'app_list/app_list_item_view.h',
61 'app_list/app_list_item_view_listener.h',
62 'app_list/app_list_model.cc',
63 'app_list/app_list_model.h',
64 'app_list/app_list_view.cc',
65 'app_list/app_list_view.h',
66 'app_list/app_list_view_delegate.h',
67 'app_list/drop_shadow_label.cc',
68 'app_list/drop_shadow_label.h',
71 'brightness_control_delegate.h',
72 'caps_lock_delegate.h',
73 'desktop_background/desktop_background_view.cc',
74 'desktop_background/desktop_background_view.h',
75 'drag_drop/drag_drop_controller.cc',
76 'drag_drop/drag_drop_controller.h',
77 'drag_drop/drag_image_view.cc',
78 'drag_drop/drag_image_view.h',
83 'ime/input_method_event_filter.cc',
84 'ime/input_method_event_filter.h',
85 'launcher/app_launcher_button.cc',
86 'launcher/app_launcher_button.h',
87 'launcher/launcher.cc',
88 'launcher/launcher.h',
89 'launcher/launcher_delegate.h',
90 'launcher/launcher_model.cc',
91 'launcher/launcher_model.h',
92 'launcher/launcher_model_observer.h',
93 'launcher/launcher_types.cc',
94 'launcher/launcher_types.h',
95 'launcher/launcher_view.cc',
96 'launcher/launcher_view.h',
97 'launcher/launcher_window_cycler.cc',
98 'launcher/launcher_window_cycler.h',
99 'launcher/tabbed_launcher_button.cc',
100 'launcher/tabbed_launcher_button.h',
101 'launcher/view_model.cc',
102 'launcher/view_model.h',
103 'launcher/view_model_utils.cc',
104 'launcher/view_model_utils.h',
105 'screenshot_delegate.h',
110 'shell_window_ids.h',
111 'status_area/status_area_view.cc',
112 'status_area/status_area_view.h',
113 'tooltips/tooltip_controller.cc',
114 'tooltips/tooltip_controller.h',
115 'volume_control_delegate.h',
116 'wm/activation_controller.cc',
117 'wm/activation_controller.h',
118 'wm/always_on_top_controller.cc',
119 'wm/always_on_top_controller.h',
120 'wm/base_layout_manager.cc',
121 'wm/base_layout_manager.h',
122 'wm/compact_layout_manager.cc',
123 'wm/compact_layout_manager.h',
124 'wm/compact_status_area_layout_manager.cc',
125 'wm/compact_status_area_layout_manager.h',
126 'wm/dialog_frame_view.cc',
127 'wm/dialog_frame_view.h',
130 'wm/panel_frame_view.cc',
131 'wm/panel_frame_view.h',
132 'wm/panel_layout_manager.cc',
133 'wm/panel_layout_manager.h',
134 'wm/panel_window_event_filter.cc',
135 'wm/panel_window_event_filter.h',
136 'wm/partial_screenshot_event_filter.cc',
137 'wm/partial_screenshot_event_filter.h',
138 'wm/partial_screenshot_view.cc',
139 'wm/partial_screenshot_view.h',
140 'wm/system_modal_container_layout_manager.cc',
141 'wm/system_modal_container_layout_manager.h',
142 'wm/system_modal_container_event_filter.cc',
143 'wm/system_modal_container_event_filter.h',
144 'wm/system_modal_container_event_filter_delegate.h',
145 'wm/power_button_controller.cc',
146 'wm/power_button_controller.h',
147 'wm/property_util.cc',
148 'wm/property_util.h',
149 'wm/root_window_event_filter.cc',
150 'wm/root_window_event_filter.h',
151 'wm/root_window_layout_manager.cc',
152 'wm/root_window_layout_manager.h',
155 'wm/shadow_controller.cc',
156 'wm/shadow_controller.h',
157 'wm/shadow_types.cc',
159 'wm/shelf_layout_manager.cc',
160 'wm/shelf_layout_manager.h',
161 'wm/stacking_controller.cc',
162 'wm/stacking_controller.h',
163 'wm/status_area_layout_manager.cc',
164 'wm/status_area_layout_manager.h',
165 'wm/toplevel_frame_view.cc',
166 'wm/toplevel_frame_view.h',
167 'wm/toplevel_layout_manager.cc',
168 'wm/toplevel_layout_manager.h',
169 'wm/toplevel_window_event_filter.cc',
170 'wm/toplevel_window_event_filter.h',
171 'wm/video_detector.cc',
172 'wm/video_detector.h',
173 'wm/visibility_controller.cc',
174 'wm/visibility_controller.h',
175 'wm/window_animations.cc',
176 'wm/window_animations.h',
177 'wm/window_cycle_controller.cc',
178 'wm/window_cycle_controller.h',
179 'wm/window_cycle_list.cc',
180 'wm/window_cycle_list.h',
181 'wm/window_frame.cc',
183 'wm/window_modality_controller.cc',
184 'wm/window_modality_controller.h',
185 'wm/window_properties.cc',
186 'wm/window_properties.h',
187 'wm/window_resizer.cc',
188 'wm/window_resizer.h',
191 'wm/workspace_controller.cc',
192 'wm/workspace_controller.h',
193 'wm/workspace/managed_workspace.cc',
194 'wm/workspace/managed_workspace.h',
195 'wm/workspace/maximized_workspace.cc',
196 'wm/workspace/maximized_workspace.h',
197 'wm/workspace/workspace.cc',
198 'wm/workspace/workspace.h',
199 'wm/workspace/workspace_event_filter.cc',
200 'wm/workspace/workspace_event_filter.h',
201 'wm/workspace/workspace_layout_manager.cc',
202 'wm/workspace/workspace_layout_manager.h',
203 'wm/workspace/workspace_manager.cc',
204 'wm/workspace/workspace_manager.h',
209 ['exclude', 'accelerators/accelerator_controller.cc'],
210 ['exclude', 'accelerators/accelerator_controller.h'],
211 ['exclude', 'accelerators/accelerator_dispatcher.cc'],
212 ['exclude', 'accelerators/accelerator_dispatcher.h'],
213 ['exclude', 'accelerators/accelerator_filter.cc'],
214 ['exclude', 'accelerators/accelerator_filter.h'],
215 ['exclude', 'accelerators/nested_dispatcher_controller.cc'],
216 ['exclude', 'accelerators/nested_dispatcher_controller.h'],
222 'target_name': 'aura_shell_unittests',
223 'type': 'executable',
225 '../base/base.gyp:base',
226 '../base/base.gyp:test_support_base',
227 '../chrome/chrome_resources.gyp:packed_resources',
228 '../build/temp_gyp/googleurl.gyp:googleurl',
229 '../skia/skia.gyp:skia',
230 '../testing/gtest.gyp:gtest',
231 '../third_party/icu/icu.gyp:icui18n',
232 '../third_party/icu/icu.gyp:icuuc',
233 '../ui/aura/aura.gyp:aura',
234 '../ui/aura/aura.gyp:test_support_aura',
235 '../ui/gfx/compositor/compositor.gyp:compositor',
236 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
237 '../ui/ui.gyp:gfx_resources',
239 '../ui/ui.gyp:ui_resources',
240 '../ui/ui.gyp:ui_resources_standard',
241 '../ui/views/views.gyp:views',
245 '../ui/views/test/test_views_delegate.cc',
246 '../ui/views/test/test_views_delegate.h',
247 'accelerators/accelerator_controller_unittest.cc',
248 'accelerators/accelerator_filter_unittest.cc',
249 'drag_drop/drag_drop_controller_unittest.cc',
250 'ime/input_method_event_filter_unittest.cc',
251 'launcher/launcher_model_unittest.cc',
252 'launcher/launcher_unittest.cc',
253 'launcher/view_model_unittest.cc',
254 'launcher/view_model_utils_unittest.cc',
256 'test/ash_unittests.cc',
257 'test/ash_test_base.cc',
258 'test/ash_test_base.h',
259 'test/test_activation_delegate.cc',
260 'test/test_activation_delegate.h',
261 'test/test_shell_delegate.cc',
262 'test/test_shell_delegate.h',
263 'test/test_suite.cc',
265 'test/test_suite_init.h',
266 'test/test_suite_init.mm',
267 'tooltips/tooltip_controller_unittest.cc',
268 'wm/activation_controller_unittest.cc',
269 'wm/base_layout_manager_unittest.cc',
270 'wm/compact_layout_manager_unittest.cc',
271 'wm/image_grid_unittest.cc',
272 'wm/panel_layout_manager_unittest.cc',
273 'wm/power_button_controller_unittest.cc',
274 'wm/root_window_event_filter_unittest.cc',
275 'wm/shadow_controller_unittest.cc',
276 'wm/shelf_layout_manager_unittest.cc',
277 'wm/system_modal_container_layout_manager_unittest.cc',
278 'wm/toplevel_layout_manager_unittest.cc',
279 'wm/toplevel_window_event_filter_unittest.cc',
280 'wm/video_detector_unittest.cc',
281 'wm/visibility_controller_unittest.cc',
282 'wm/window_cycle_controller_unittest.cc',
283 'wm/window_modality_controller_unittest.cc',
284 'wm/workspace/workspace_manager_unittest.cc',
285 'wm/workspace_controller_unittest.cc',
287 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
288 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
289 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
294 '../build/linux/system.gyp:ibus',
299 ['exclude', 'accelerators/accelerator_controller_unittest.cc'],
300 ['exclude', 'accelerators/accelerator_filter_unittest.cc'],
301 ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'],
302 ['exclude', 'tooltips/tooltip_controller_unittest.cc'],
305 # Mac tests access resources via the 'AuraShell.app' directory.
308 # Special linker instructions that avoids stripping Obj-C classes that
309 # are not referenced in code, but are referenced in nibs.
310 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
315 'target_name': 'ash_shell',
316 'type': 'executable',
318 '../base/base.gyp:base',
319 '../base/base.gyp:base_i18n',
320 '../chrome/chrome_resources.gyp:packed_resources',
321 '../skia/skia.gyp:skia',
322 '../third_party/icu/icu.gyp:icui18n',
323 '../third_party/icu/icu.gyp:icuuc',
324 '../ui/aura/aura.gyp:aura',
325 '../ui/gfx/compositor/compositor.gyp:compositor',
326 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
327 '../ui/ui.gyp:gfx_resources',
329 '../ui/ui.gyp:ui_resources',
330 '../ui/ui.gyp:ui_resources_standard',
331 '../ui/views/views.gyp:views',
332 '../ui/views/views.gyp:views_examples_lib',
338 'shell/example_factory.h',
339 'shell/lock_view.cc',
340 'shell/panel_window.cc',
341 'shell/panel_window.h',
342 'shell/shell_main.cc',
343 'shell/shell_main_parts.cc',
344 'shell/shell_main_parts.h',
345 'shell/shell_main_parts_mac.mm',
346 'shell/toplevel_window.cc',
347 'shell/toplevel_window.h',
349 'shell/window_type_launcher.cc',
350 'shell/window_type_launcher.h',
351 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
352 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
353 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
354 '../ui/views/test/test_views_delegate.cc',
358 'product_name': 'AuraShell',
361 ['exclude', 'shell/shell_main_parts.cc'],
363 'mac_bundle_resources': [
364 'shell/cocoa/app.icns',
365 'shell/cocoa/app-Info.plist',
366 'shell/cocoa/nibs/MainMenu.xib',
367 'shell/cocoa/nibs/RootWindow.xib',
368 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
369 '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
371 'mac_bundle_resources!': [
372 'shell/cocoa/app-Info.plist',
375 'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist',