[email protected] | 5eae716 | 2012-01-04 00:31:02 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 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, |
[email protected] | 6f63773 | 2012-01-19 03:15:34 | [diff] [blame] | 8 | 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 9 | }, |
| 10 | |
| 11 | 'targets': [ |
| 12 | { |
| 13 | 'target_name': 'ash', |
| 14 | 'type': '<(component)', |
| 15 | 'dependencies': [ |
[email protected] | 2b1fbb9d | 2012-02-08 07:30:51 | [diff] [blame] | 16 | 'ash_strings.gyp:ash_strings', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 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 | '../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/aura/aura.gyp:aura', |
| 26 | '../ui/base/strings/ui_strings.gyp:ui_strings', |
| 27 | '../ui/gfx/compositor/compositor.gyp:compositor', |
| 28 | '../ui/ui.gyp:ui', |
| 29 | '../ui/ui.gyp:ui_resources', |
| 30 | '../ui/ui.gyp:ui_resources_standard', |
| 31 | '../ui/views/views.gyp:views', |
| 32 | ], |
| 33 | 'defines': [ |
| 34 | 'ASH_IMPLEMENTATION', |
| 35 | ], |
| 36 | 'sources': [ |
| 37 | # All .cc, .h under ash, except unittests |
| 38 | 'accelerators/accelerator_controller.cc', |
| 39 | 'accelerators/accelerator_controller.h', |
[email protected] | 6e9f6aa | 2012-02-09 04:16:20 | [diff] [blame] | 40 | 'accelerators/accelerator_dispatcher.cc', |
| 41 | 'accelerators/accelerator_dispatcher.h', |
| 42 | 'accelerators/accelerator_dispatcher_linux.cc', |
| 43 | 'accelerators/accelerator_dispatcher_win.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 44 | 'accelerators/accelerator_filter.cc', |
| 45 | 'accelerators/accelerator_filter.h', |
[email protected] | 6e9f6aa | 2012-02-09 04:16:20 | [diff] [blame] | 46 | 'accelerators/nested_dispatcher_controller.cc', |
| 47 | 'accelerators/nested_dispatcher_controller.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 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', |
| 69 | 'ash_switches.cc', |
| 70 | 'ash_switches.h', |
[email protected] | 2e82713 | 2012-02-07 01:20:27 | [diff] [blame] | 71 | 'brightness_control_delegate.h', |
[email protected] | fb9a3559 | 2012-01-18 04:12:14 | [diff] [blame] | 72 | 'caps_lock_delegate.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 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', |
[email protected] | 3d29912a | 2012-02-07 07:41:51 | [diff] [blame] | 79 | 'focus_cycler.cc', |
| 80 | 'focus_cycler.h', |
[email protected] | 2c45610 | 2011-12-26 06:26:34 | [diff] [blame] | 81 | 'ime/event.cc', |
| 82 | 'ime/event.h', |
| 83 | 'ime/input_method_event_filter.cc', |
| 84 | 'ime/input_method_event_filter.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 85 | 'launcher/app_launcher_button.cc', |
| 86 | 'launcher/app_launcher_button.h', |
| 87 | 'launcher/launcher.cc', |
| 88 | 'launcher/launcher.h', |
[email protected] | 16f2d3f | 2012-02-16 03:01:31 | [diff] [blame] | 89 | 'launcher/launcher_delegate.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 90 | 'launcher/launcher_model.cc', |
| 91 | 'launcher/launcher_model.h', |
| 92 | 'launcher/launcher_model_observer.h', |
[email protected] | cd80810 | 2012-01-12 02:42:21 | [diff] [blame] | 93 | 'launcher/launcher_types.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 94 | 'launcher/launcher_types.h', |
| 95 | 'launcher/launcher_view.cc', |
| 96 | 'launcher/launcher_view.h', |
[email protected] | 194ad1d | 2012-01-18 18:22:51 | [diff] [blame] | 97 | 'launcher/launcher_window_cycler.cc', |
| 98 | 'launcher/launcher_window_cycler.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 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', |
[email protected] | c52de637 | 2012-01-18 05:24:57 | [diff] [blame] | 105 | 'screenshot_delegate.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 106 | 'shell.cc', |
| 107 | 'shell.h', |
| 108 | 'shell_delegate.h', |
| 109 | 'shell_factory.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', |
[email protected] | 16f05f4 | 2012-02-06 19:24:50 | [diff] [blame] | 115 | 'volume_control_delegate.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 116 | 'wm/activation_controller.cc', |
| 117 | 'wm/activation_controller.h', |
| 118 | 'wm/always_on_top_controller.cc', |
| 119 | 'wm/always_on_top_controller.h', |
[email protected] | fc7b744 | 2012-01-18 23:57:05 | [diff] [blame] | 120 | 'wm/base_layout_manager.cc', |
| 121 | 'wm/base_layout_manager.h', |
| 122 | 'wm/compact_layout_manager.cc', |
| 123 | 'wm/compact_layout_manager.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 124 | 'wm/compact_status_area_layout_manager.cc', |
| 125 | 'wm/compact_status_area_layout_manager.h', |
[email protected] | 57b8bb35 | 2012-01-11 05:11:46 | [diff] [blame] | 126 | 'wm/dialog_frame_view.cc', |
| 127 | 'wm/dialog_frame_view.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 128 | 'wm/image_grid.cc', |
| 129 | 'wm/image_grid.h', |
[email protected] | 5229504 | 2012-02-08 02:02:59 | [diff] [blame] | 130 | 'wm/panel_frame_view.cc', |
| 131 | 'wm/panel_frame_view.h', |
[email protected] | 6b85493 | 2012-02-04 16:44:27 | [diff] [blame] | 132 | 'wm/panel_layout_manager.cc', |
| 133 | 'wm/panel_layout_manager.h', |
[email protected] | 0540b17 | 2012-02-16 21:01:07 | [diff] [blame] | 134 | 'wm/panel_window_event_filter.cc', |
| 135 | 'wm/panel_window_event_filter.h', |
[email protected] | 0b0b074 | 2012-02-16 13:23:45 | [diff] [blame] | 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', |
[email protected] | e871f1a0 | 2012-01-18 20:03:46 | [diff] [blame] | 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', |
[email protected] | e0d22e8 | 2012-01-04 00:46:57 | [diff] [blame] | 145 | 'wm/power_button_controller.cc', |
| 146 | 'wm/power_button_controller.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 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', |
| 153 | 'wm/shadow.cc', |
| 154 | 'wm/shadow.h', |
| 155 | 'wm/shadow_controller.cc', |
| 156 | 'wm/shadow_controller.h', |
| 157 | 'wm/shadow_types.cc', |
| 158 | 'wm/shadow_types.h', |
| 159 | 'wm/shelf_layout_manager.cc', |
| 160 | 'wm/shelf_layout_manager.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 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', |
[email protected] | 6aa614a | 2012-01-19 22:13:38 | [diff] [blame] | 171 | 'wm/video_detector.cc', |
| 172 | 'wm/video_detector.h', |
[email protected] | ddd91e9 | 2012-01-27 16:03:48 | [diff] [blame] | 173 | 'wm/visibility_controller.cc', |
| 174 | 'wm/visibility_controller.h', |
[email protected] | cad77b3 | 2012-01-19 06:23:04 | [diff] [blame] | 175 | 'wm/window_animations.cc', |
[email protected] | 6aa614a | 2012-01-19 22:13:38 | [diff] [blame] | 176 | 'wm/window_animations.h', |
[email protected] | 40c4cbb | 2012-01-10 23:26:07 | [diff] [blame] | 177 | 'wm/window_cycle_controller.cc', |
| 178 | 'wm/window_cycle_controller.h', |
[email protected] | 194ad1d | 2012-01-18 18:22:51 | [diff] [blame] | 179 | 'wm/window_cycle_list.cc', |
| 180 | 'wm/window_cycle_list.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 181 | 'wm/window_frame.cc', |
| 182 | 'wm/window_frame.h', |
[email protected] | 8037357 | 2012-01-06 23:14:30 | [diff] [blame] | 183 | 'wm/window_modality_controller.cc', |
| 184 | 'wm/window_modality_controller.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 185 | 'wm/window_properties.cc', |
| 186 | 'wm/window_properties.h', |
[email protected] | 1dfd402 | 2012-02-15 04:36:43 | [diff] [blame] | 187 | 'wm/window_resizer.cc', |
| 188 | 'wm/window_resizer.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 189 | 'wm/window_util.cc', |
| 190 | 'wm/window_util.h', |
| 191 | 'wm/workspace_controller.cc', |
| 192 | 'wm/workspace_controller.h', |
[email protected] | 8818cb9 | 2012-02-10 21:29:37 | [diff] [blame] | 193 | 'wm/workspace/managed_workspace.cc', |
| 194 | 'wm/workspace/managed_workspace.h', |
| 195 | 'wm/workspace/maximized_workspace.cc', |
| 196 | 'wm/workspace/maximized_workspace.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 197 | 'wm/workspace/workspace.cc', |
| 198 | 'wm/workspace/workspace.h', |
[email protected] | 9633a9d2 | 2012-01-21 16:40:58 | [diff] [blame] | 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', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 203 | 'wm/workspace/workspace_manager.cc', |
| 204 | 'wm/workspace/workspace_manager.h', |
[email protected] | 5ae1872 | 2012-02-25 22:30:50 | [diff] [blame] | 205 | 'wm/workspace/workspace_window_resizer.cc', |
| 206 | 'wm/workspace/workspace_window_resizer.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 207 | ], |
[email protected] | 6e9f6aa | 2012-02-09 04:16:20 | [diff] [blame] | 208 | 'conditions': [ |
| 209 | ['OS=="mac"', { |
| 210 | 'sources/': [ |
| 211 | ['exclude', 'accelerators/accelerator_controller.cc'], |
| 212 | ['exclude', 'accelerators/accelerator_controller.h'], |
| 213 | ['exclude', 'accelerators/accelerator_dispatcher.cc'], |
| 214 | ['exclude', 'accelerators/accelerator_dispatcher.h'], |
| 215 | ['exclude', 'accelerators/accelerator_filter.cc'], |
| 216 | ['exclude', 'accelerators/accelerator_filter.h'], |
| 217 | ['exclude', 'accelerators/nested_dispatcher_controller.cc'], |
| 218 | ['exclude', 'accelerators/nested_dispatcher_controller.h'], |
| 219 | ], |
| 220 | }], |
| 221 | ], |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 222 | }, |
| 223 | { |
| 224 | 'target_name': 'aura_shell_unittests', |
| 225 | 'type': 'executable', |
| 226 | 'dependencies': [ |
| 227 | '../base/base.gyp:base', |
| 228 | '../base/base.gyp:test_support_base', |
| 229 | '../chrome/chrome_resources.gyp:packed_resources', |
| 230 | '../build/temp_gyp/googleurl.gyp:googleurl', |
| 231 | '../skia/skia.gyp:skia', |
| 232 | '../testing/gtest.gyp:gtest', |
| 233 | '../third_party/icu/icu.gyp:icui18n', |
| 234 | '../third_party/icu/icu.gyp:icuuc', |
| 235 | '../ui/aura/aura.gyp:aura', |
| 236 | '../ui/aura/aura.gyp:test_support_aura', |
[email protected] | 578c81b | 2012-01-27 07:25:02 | [diff] [blame] | 237 | '../ui/gfx/compositor/compositor.gyp:compositor', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 238 | '../ui/gfx/compositor/compositor.gyp:compositor_test_support', |
| 239 | '../ui/ui.gyp:gfx_resources', |
| 240 | '../ui/ui.gyp:ui', |
| 241 | '../ui/ui.gyp:ui_resources', |
| 242 | '../ui/ui.gyp:ui_resources_standard', |
| 243 | '../ui/views/views.gyp:views', |
| 244 | 'ash', |
| 245 | ], |
| 246 | 'sources': [ |
[email protected] | 5eae716 | 2012-01-04 00:31:02 | [diff] [blame] | 247 | '../ui/views/test/test_views_delegate.cc', |
| 248 | '../ui/views/test/test_views_delegate.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 249 | 'accelerators/accelerator_controller_unittest.cc', |
[email protected] | 47460f9 | 2012-01-21 16:15:13 | [diff] [blame] | 250 | 'accelerators/accelerator_filter_unittest.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 251 | 'drag_drop/drag_drop_controller_unittest.cc', |
[email protected] | df1c986 | 2012-02-27 10:37:31 | [diff] [blame^] | 252 | 'focus_cycler_unittest.cc', |
[email protected] | 2c45610 | 2011-12-26 06:26:34 | [diff] [blame] | 253 | 'ime/input_method_event_filter_unittest.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 254 | 'launcher/launcher_model_unittest.cc', |
| 255 | 'launcher/launcher_unittest.cc', |
| 256 | 'launcher/view_model_unittest.cc', |
| 257 | 'launcher/view_model_utils_unittest.cc', |
| 258 | 'shell_unittest.cc', |
| 259 | 'test/ash_unittests.cc', |
[email protected] | 1dd1c1b | 2012-02-17 22:04:47 | [diff] [blame] | 260 | 'test/ash_test_base.cc', |
| 261 | 'test/ash_test_base.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 262 | 'test/test_activation_delegate.cc', |
| 263 | 'test/test_activation_delegate.h', |
| 264 | 'test/test_shell_delegate.cc', |
| 265 | 'test/test_shell_delegate.h', |
| 266 | 'test/test_suite.cc', |
| 267 | 'test/test_suite.h', |
[email protected] | a0fea7e | 2012-01-30 17:43:33 | [diff] [blame] | 268 | 'test/test_suite_init.h', |
| 269 | 'test/test_suite_init.mm', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 270 | 'tooltips/tooltip_controller_unittest.cc', |
| 271 | 'wm/activation_controller_unittest.cc', |
[email protected] | fc7b744 | 2012-01-18 23:57:05 | [diff] [blame] | 272 | 'wm/base_layout_manager_unittest.cc', |
| 273 | 'wm/compact_layout_manager_unittest.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 274 | 'wm/image_grid_unittest.cc', |
[email protected] | 6b85493 | 2012-02-04 16:44:27 | [diff] [blame] | 275 | 'wm/panel_layout_manager_unittest.cc', |
[email protected] | e0d22e8 | 2012-01-04 00:46:57 | [diff] [blame] | 276 | 'wm/power_button_controller_unittest.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 277 | 'wm/root_window_event_filter_unittest.cc', |
| 278 | 'wm/shadow_controller_unittest.cc', |
| 279 | 'wm/shelf_layout_manager_unittest.cc', |
[email protected] | 6b85493 | 2012-02-04 16:44:27 | [diff] [blame] | 280 | 'wm/system_modal_container_layout_manager_unittest.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 281 | 'wm/toplevel_layout_manager_unittest.cc', |
| 282 | 'wm/toplevel_window_event_filter_unittest.cc', |
[email protected] | 6aa614a | 2012-01-19 22:13:38 | [diff] [blame] | 283 | 'wm/video_detector_unittest.cc', |
[email protected] | ddd91e9 | 2012-01-27 16:03:48 | [diff] [blame] | 284 | 'wm/visibility_controller_unittest.cc', |
[email protected] | 40c4cbb | 2012-01-10 23:26:07 | [diff] [blame] | 285 | 'wm/window_cycle_controller_unittest.cc', |
[email protected] | 8037357 | 2012-01-06 23:14:30 | [diff] [blame] | 286 | 'wm/window_modality_controller_unittest.cc', |
[email protected] | 6de3a011 | 2012-02-04 03:57:50 | [diff] [blame] | 287 | 'wm/workspace/workspace_manager_unittest.cc', |
[email protected] | 5ae1872 | 2012-02-25 22:30:50 | [diff] [blame] | 288 | 'wm/workspace/workspace_window_resizer_unittest.cc', |
[email protected] | 6b85493 | 2012-02-04 16:44:27 | [diff] [blame] | 289 | 'wm/workspace_controller_unittest.cc', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 290 | |
| 291 | '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
| 292 | '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
| 293 | '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc', |
| 294 | ], |
| 295 | 'conditions': [ |
[email protected] | 2c45610 | 2011-12-26 06:26:34 | [diff] [blame] | 296 | ['use_ibus==1', { |
| 297 | 'dependencies': [ |
| 298 | '../build/linux/system.gyp:ibus', |
| 299 | ], |
| 300 | }], |
[email protected] | df1c986 | 2012-02-27 10:37:31 | [diff] [blame^] | 301 | ['OS=="win"', { |
| 302 | # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906 |
| 303 | 'sources/': [ |
| 304 | ['exclude', 'focus_cycler_unittest.cc'], |
| 305 | ], |
| 306 | }], |
[email protected] | 03decaa1 | 2012-01-25 15:53:15 | [diff] [blame] | 307 | ['OS=="mac"', { |
| 308 | 'sources/': [ |
[email protected] | 6e9f6aa | 2012-02-09 04:16:20 | [diff] [blame] | 309 | ['exclude', 'accelerators/accelerator_controller_unittest.cc'], |
[email protected] | a0fea7e | 2012-01-30 17:43:33 | [diff] [blame] | 310 | ['exclude', 'accelerators/accelerator_filter_unittest.cc'], |
[email protected] | 03decaa1 | 2012-01-25 15:53:15 | [diff] [blame] | 311 | ['exclude', 'drag_drop/drag_drop_controller_unittest.cc'], |
[email protected] | a0fea7e | 2012-01-30 17:43:33 | [diff] [blame] | 312 | ['exclude', 'tooltips/tooltip_controller_unittest.cc'], |
[email protected] | 03decaa1 | 2012-01-25 15:53:15 | [diff] [blame] | 313 | ], |
[email protected] | a0fea7e | 2012-01-30 17:43:33 | [diff] [blame] | 314 | 'dependencies': [ |
| 315 | # Mac tests access resources via the 'AuraShell.app' directory. |
| 316 | 'ash_shell', |
| 317 | ], |
| 318 | # Special linker instructions that avoids stripping Obj-C classes that |
| 319 | # are not referenced in code, but are referenced in nibs. |
| 320 | 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
[email protected] | 03decaa1 | 2012-01-25 15:53:15 | [diff] [blame] | 321 | }], |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 322 | ], |
| 323 | }, |
| 324 | { |
| 325 | 'target_name': 'ash_shell', |
| 326 | 'type': 'executable', |
| 327 | 'dependencies': [ |
| 328 | '../base/base.gyp:base', |
| 329 | '../base/base.gyp:base_i18n', |
| 330 | '../chrome/chrome_resources.gyp:packed_resources', |
| 331 | '../skia/skia.gyp:skia', |
| 332 | '../third_party/icu/icu.gyp:icui18n', |
| 333 | '../third_party/icu/icu.gyp:icuuc', |
| 334 | '../ui/aura/aura.gyp:aura', |
| 335 | '../ui/gfx/compositor/compositor.gyp:compositor', |
| 336 | '../ui/gfx/compositor/compositor.gyp:compositor_test_support', |
| 337 | '../ui/ui.gyp:gfx_resources', |
| 338 | '../ui/ui.gyp:ui', |
| 339 | '../ui/ui.gyp:ui_resources', |
| 340 | '../ui/ui.gyp:ui_resources_standard', |
| 341 | '../ui/views/views.gyp:views', |
| 342 | '../ui/views/views.gyp:views_examples_lib', |
| 343 | 'ash', |
| 344 | ], |
| 345 | 'sources': [ |
| 346 | 'shell/app_list.cc', |
| 347 | 'shell/bubble.cc', |
| 348 | 'shell/example_factory.h', |
| 349 | 'shell/lock_view.cc', |
[email protected] | 6b85493 | 2012-02-04 16:44:27 | [diff] [blame] | 350 | 'shell/panel_window.cc', |
| 351 | 'shell/panel_window.h', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 352 | 'shell/shell_main.cc', |
[email protected] | b72dfb24 | 2012-01-18 00:04:18 | [diff] [blame] | 353 | 'shell/shell_main_parts.cc', |
[email protected] | a0fea7e | 2012-01-30 17:43:33 | [diff] [blame] | 354 | 'shell/shell_main_parts.h', |
[email protected] | b72dfb24 | 2012-01-18 00:04:18 | [diff] [blame] | 355 | 'shell/shell_main_parts_mac.mm', |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 356 | 'shell/toplevel_window.cc', |
| 357 | 'shell/toplevel_window.h', |
| 358 | 'shell/widgets.cc', |
| 359 | 'shell/window_type_launcher.cc', |
| 360 | 'shell/window_type_launcher.h', |
| 361 | '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
| 362 | '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc', |
| 363 | '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
| 364 | '../ui/views/test/test_views_delegate.cc', |
| 365 | ], |
[email protected] | 6f63773 | 2012-01-19 03:15:34 | [diff] [blame] | 366 | 'conditions': [ |
| 367 | ['OS=="mac"', { |
| 368 | 'product_name': 'AuraShell', |
| 369 | 'mac_bundle': 1, |
| 370 | 'sources/': [ |
| 371 | ['exclude', 'shell/shell_main_parts.cc'], |
| 372 | ], |
| 373 | 'mac_bundle_resources': [ |
| 374 | 'shell/cocoa/app.icns', |
| 375 | 'shell/cocoa/app-Info.plist', |
| 376 | 'shell/cocoa/nibs/MainMenu.xib', |
| 377 | 'shell/cocoa/nibs/RootWindow.xib', |
| 378 | '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', |
| 379 | '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', |
| 380 | ], |
| 381 | 'mac_bundle_resources!': [ |
| 382 | 'shell/cocoa/app-Info.plist', |
| 383 | ], |
| 384 | 'xcode_settings': { |
| 385 | 'INFOPLIST_FILE': 'shell/cocoa/app-Info.plist', |
| 386 | }, |
| 387 | }], |
| 388 | ], |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 389 | }, |
[email protected] | 4e0e2b2 | 2012-02-01 10:45:51 | [diff] [blame] | 390 | ], |
[email protected] | 2a48ad6 | 2011-12-24 00:19:29 | [diff] [blame] | 391 | } |