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/system_modal_container_layout_manager.cc',
135 'wm/system_modal_container_layout_manager.h',
136 'wm/system_modal_container_event_filter.cc',
137 'wm/system_modal_container_event_filter.h',
138 'wm/system_modal_container_event_filter_delegate.h',
139 'wm/power_button_controller.cc',
140 'wm/power_button_controller.h',
141 'wm/property_util.cc',
142 'wm/property_util.h',
143 'wm/root_window_event_filter.cc',
144 'wm/root_window_event_filter.h',
145 'wm/root_window_layout_manager.cc',
146 'wm/root_window_layout_manager.h',
149 'wm/shadow_controller.cc',
150 'wm/shadow_controller.h',
151 'wm/shadow_types.cc',
153 'wm/shelf_layout_manager.cc',
154 'wm/shelf_layout_manager.h',
155 'wm/stacking_controller.cc',
156 'wm/stacking_controller.h',
157 'wm/status_area_layout_manager.cc',
158 'wm/status_area_layout_manager.h',
159 'wm/toplevel_frame_view.cc',
160 'wm/toplevel_frame_view.h',
161 'wm/toplevel_layout_manager.cc',
162 'wm/toplevel_layout_manager.h',
163 'wm/toplevel_window_event_filter.cc',
164 'wm/toplevel_window_event_filter.h',
165 'wm/video_detector.cc',
166 'wm/video_detector.h',
167 'wm/visibility_controller.cc',
168 'wm/visibility_controller.h',
169 'wm/window_animations.cc',
170 'wm/window_animations.h',
171 'wm/window_cycle_controller.cc',
172 'wm/window_cycle_controller.h',
173 'wm/window_cycle_list.cc',
174 'wm/window_cycle_list.h',
175 'wm/window_frame.cc',
177 'wm/window_modality_controller.cc',
178 'wm/window_modality_controller.h',
179 'wm/window_properties.cc',
180 'wm/window_properties.h',
181 'wm/window_resizer.cc',
182 'wm/window_resizer.h',
185 'wm/workspace_controller.cc',
186 'wm/workspace_controller.h',
187 'wm/workspace/managed_workspace.cc',
188 'wm/workspace/managed_workspace.h',
189 'wm/workspace/maximized_workspace.cc',
190 'wm/workspace/maximized_workspace.h',
191 'wm/workspace/workspace.cc',
192 'wm/workspace/workspace.h',
193 'wm/workspace/workspace_event_filter.cc',
194 'wm/workspace/workspace_event_filter.h',
195 'wm/workspace/workspace_layout_manager.cc',
196 'wm/workspace/workspace_layout_manager.h',
197 'wm/workspace/workspace_manager.cc',
198 'wm/workspace/workspace_manager.h',
203 ['exclude', 'accelerators/accelerator_controller.cc'],
204 ['exclude', 'accelerators/accelerator_controller.h'],
205 ['exclude', 'accelerators/accelerator_dispatcher.cc'],
206 ['exclude', 'accelerators/accelerator_dispatcher.h'],
207 ['exclude', 'accelerators/accelerator_filter.cc'],
208 ['exclude', 'accelerators/accelerator_filter.h'],
209 ['exclude', 'accelerators/nested_dispatcher_controller.cc'],
210 ['exclude', 'accelerators/nested_dispatcher_controller.h'],
216 'target_name': 'aura_shell_unittests',
217 'type': 'executable',
219 '../base/base.gyp:base',
220 '../base/base.gyp:test_support_base',
221 '../chrome/chrome_resources.gyp:packed_resources',
222 '../build/temp_gyp/googleurl.gyp:googleurl',
223 '../skia/skia.gyp:skia',
224 '../testing/gtest.gyp:gtest',
225 '../third_party/icu/icu.gyp:icui18n',
226 '../third_party/icu/icu.gyp:icuuc',
227 '../ui/aura/aura.gyp:aura',
228 '../ui/aura/aura.gyp:test_support_aura',
229 '../ui/gfx/compositor/compositor.gyp:compositor',
230 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
231 '../ui/ui.gyp:gfx_resources',
233 '../ui/ui.gyp:ui_resources',
234 '../ui/ui.gyp:ui_resources_standard',
235 '../ui/views/views.gyp:views',
239 '../ui/views/test/test_views_delegate.cc',
240 '../ui/views/test/test_views_delegate.h',
241 'accelerators/accelerator_controller_unittest.cc',
242 'accelerators/accelerator_filter_unittest.cc',
243 'drag_drop/drag_drop_controller_unittest.cc',
244 'ime/input_method_event_filter_unittest.cc',
245 'launcher/launcher_model_unittest.cc',
246 'launcher/launcher_unittest.cc',
247 'launcher/view_model_unittest.cc',
248 'launcher/view_model_utils_unittest.cc',
250 'test/ash_unittests.cc',
251 'test/aura_shell_test_base.cc',
252 'test/aura_shell_test_base.h',
253 'test/test_activation_delegate.cc',
254 'test/test_activation_delegate.h',
255 'test/test_shell_delegate.cc',
256 'test/test_shell_delegate.h',
257 'test/test_suite.cc',
259 'test/test_suite_init.h',
260 'test/test_suite_init.mm',
261 'tooltips/tooltip_controller_unittest.cc',
262 'wm/activation_controller_unittest.cc',
263 'wm/base_layout_manager_unittest.cc',
264 'wm/compact_layout_manager_unittest.cc',
265 'wm/image_grid_unittest.cc',
266 'wm/panel_layout_manager_unittest.cc',
267 'wm/power_button_controller_unittest.cc',
268 'wm/root_window_event_filter_unittest.cc',
269 'wm/shadow_controller_unittest.cc',
270 'wm/shelf_layout_manager_unittest.cc',
271 'wm/system_modal_container_layout_manager_unittest.cc',
272 'wm/toplevel_layout_manager_unittest.cc',
273 'wm/toplevel_window_event_filter_unittest.cc',
274 'wm/video_detector_unittest.cc',
275 'wm/visibility_controller_unittest.cc',
276 'wm/window_cycle_controller_unittest.cc',
277 'wm/window_modality_controller_unittest.cc',
278 'wm/workspace/workspace_manager_unittest.cc',
279 'wm/workspace_controller_unittest.cc',
281 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
282 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
283 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
288 '../build/linux/system.gyp:ibus',
293 ['exclude', 'accelerators/accelerator_controller_unittest.cc'],
294 ['exclude', 'accelerators/accelerator_filter_unittest.cc'],
295 ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'],
296 ['exclude', 'tooltips/tooltip_controller_unittest.cc'],
299 # Mac tests access resources via the 'AuraShell.app' directory.
302 # Special linker instructions that avoids stripping Obj-C classes that
303 # are not referenced in code, but are referenced in nibs.
304 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
309 'target_name': 'ash_shell',
310 'type': 'executable',
312 '../base/base.gyp:base',
313 '../base/base.gyp:base_i18n',
314 '../chrome/chrome_resources.gyp:packed_resources',
315 '../skia/skia.gyp:skia',
316 '../third_party/icu/icu.gyp:icui18n',
317 '../third_party/icu/icu.gyp:icuuc',
318 '../ui/aura/aura.gyp:aura',
319 '../ui/gfx/compositor/compositor.gyp:compositor',
320 '../ui/gfx/compositor/compositor.gyp:compositor_test_support',
321 '../ui/ui.gyp:gfx_resources',
323 '../ui/ui.gyp:ui_resources',
324 '../ui/ui.gyp:ui_resources_standard',
325 '../ui/views/views.gyp:views',
326 '../ui/views/views.gyp:views_examples_lib',
332 'shell/example_factory.h',
333 'shell/lock_view.cc',
334 'shell/panel_window.cc',
335 'shell/panel_window.h',
336 'shell/shell_main.cc',
337 'shell/shell_main_parts.cc',
338 'shell/shell_main_parts.h',
339 'shell/shell_main_parts_mac.mm',
340 'shell/toplevel_window.cc',
341 'shell/toplevel_window.h',
343 'shell/window_type_launcher.cc',
344 'shell/window_type_launcher.h',
345 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
346 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
347 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
348 '../ui/views/test/test_views_delegate.cc',
352 'product_name': 'AuraShell',
355 ['exclude', 'shell/shell_main_parts.cc'],
357 'mac_bundle_resources': [
358 'shell/cocoa/app.icns',
359 'shell/cocoa/app-Info.plist',
360 'shell/cocoa/nibs/MainMenu.xib',
361 'shell/cocoa/nibs/RootWindow.xib',
362 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
363 '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
365 'mac_bundle_resources!': [
366 'shell/cocoa/app-Info.plist',
369 'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist',