summaryrefslogtreecommitdiffstats
path: root/ui/aura_shell/aura_shell.gyp
blob: fc4f0d19a4aeeddcea38bb51c4e53d36a179c578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
  },

  'targets': [
    {
      'target_name': 'aura_shell',
      'type': '<(component)',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../base/base.gyp:base_i18n',
        '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../../build/temp_gyp/googleurl.gyp:googleurl',
        '../../net/net.gyp:net',
        '../../skia/skia.gyp:skia',
        '../../third_party/icu/icu.gyp:icui18n',
        '../../third_party/icu/icu.gyp:icuuc',
        '../aura/aura.gyp:aura',
        '../base/strings/ui_strings.gyp:ui_strings',
        '../gfx/compositor/compositor.gyp:compositor',
        '../ui.gyp:ui',
        '../ui.gyp:ui_resources',
        '../ui.gyp:ui_resources_standard',
        '../views/views.gyp:views',
      ],
      'defines': [
        'AURA_SHELL_IMPLEMENTATION',
      ],
      'sources': [
        # All .cc, .h under views, except unittests
        'always_on_top_controller.cc',
        'always_on_top_controller.h',
        'app_list.cc',
        'app_list.h',
        'default_container_event_filter.cc',
        'default_container_event_filter.h',
        'default_container_layout_manager.cc',
        'default_container_layout_manager.h',
        'desktop_background_view.cc',
        'desktop_background_view.h',
        'root_window_event_filter.cc',
        'root_window_event_filter.h',
        'root_window_layout_manager.cc',
        'root_window_layout_manager.h',
        'drag_drop_controller.cc',
        'drag_drop_controller.h',
        'drag_image_view.cc',
        'drag_image_view.h',
        'image_grid.cc',
        'image_grid.h',
        'launcher/app_launcher_button.cc',
        'launcher/app_launcher_button.h',
        'launcher/launcher.cc',
        'launcher/launcher.h',
        'launcher/launcher_model.cc',
        'launcher/launcher_model.h',
        'launcher/launcher_model_observer.h',
        'launcher/launcher_types.h',
        'launcher/launcher_view.cc',
        'launcher/launcher_view.h',
        'launcher/tabbed_launcher_button.cc',
        'launcher/tabbed_launcher_button.h',
        'launcher/view_model.cc',
        'launcher/view_model.h',
        'launcher/view_model_utils.cc',
        'launcher/view_model_utils.h',
        'modal_container_layout_manager.cc',
        'modal_container_layout_manager.h',
        'modality_event_filter.cc',
        'modality_event_filter.h',
        'modality_event_filter_delegate.h',
        'property_util.cc',
        'property_util.h',
        'shadow.cc',
        'shadow.h',
        'shadow_controller.cc',
        'shadow_controller.h',
        'shelf_layout_manager.cc',
        'shelf_layout_manager.h',
        'shell.cc',
        'shell.h',
        'shell_accelerator_controller.cc',
        'shell_accelerator_controller.h',
        'shell_accelerator_filter.cc',
        'shell_accelerator_filter.h',
        'shell_delegate.h',
        'shell_factory.h',
        'shell_tooltip_manager.cc',
        'shell_tooltip_manager.h',
        'shell_window_ids.h',
        'show_state_controller.h',
        'show_state_controller.cc',
        'stacking_controller.cc',
        'stacking_controller.h',
        'status_area_layout_manager.cc',
        'status_area_layout_manager.h',
        'status_area_view.cc',
        'status_area_view.h',
        'toplevel_frame_view.cc',
        'toplevel_frame_view.h',
        'toplevel_layout_manager.cc',
        'toplevel_layout_manager.h',
        'toplevel_window_event_filter.cc',
        'toplevel_window_event_filter.h',
        'window_frame.cc',
        'window_frame.h',
        'window_util.cc',
        'window_util.h',
        'workspace_controller.cc',
        'workspace_controller.h',
        'workspace/workspace.cc',
        'workspace/workspace.h',
        'workspace/workspace_manager.cc',
        'workspace/workspace_manager.h',
        'workspace/workspace_observer.h',
      ],
    },
    {
      'target_name': 'aura_shell_unittests',
      'type': 'executable',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../base/base.gyp:test_support_base',
        '../../chrome/chrome_resources.gyp:packed_resources',
        '../../build/temp_gyp/googleurl.gyp:googleurl',
        '../../skia/skia.gyp:skia',
        '../../testing/gtest.gyp:gtest',
        '../../third_party/icu/icu.gyp:icui18n',
        '../../third_party/icu/icu.gyp:icuuc',
        '../aura/aura.gyp:aura',
        '../aura/aura.gyp:test_support_aura',
        '../gfx/compositor/compositor.gyp:compositor_test_support',
        '../ui.gyp:gfx_resources',
        '../ui.gyp:ui',
        '../ui.gyp:ui_resources',
        '../ui.gyp:ui_resources_standard',
        '../views/views.gyp:views',
        'aura_shell',
      ],
      'sources': [
        'default_container_layout_manager_unittest.cc',
        'root_window_event_filter_unittest.cc',
        'drag_drop_controller_unittest.cc',
        'image_grid_unittest.cc',
        'launcher/launcher_model_unittest.cc',
        'launcher/view_model_unittest.cc',
        'launcher/view_model_utils_unittest.cc',
        'modal_container_layout_manager_unittest.cc',
        'run_all_unittests.cc',
        'shadow_controller_unittest.cc',
        'shell_accelerator_controller_unittest.cc',
        'shell_unittest.cc',
        'stacking_controller_unittest.cc',
        'test_suite.cc',
        'test_suite.h',
        'test/aura_shell_test_base.cc',
        'test/aura_shell_test_base.h',
        'toplevel_layout_manager_unittest.cc',
        'toplevel_window_event_filter_unittest.cc',
        'workspace_controller_unittest.cc',
        'workspace/workspace_manager_unittest.cc',

        '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
        '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
        '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
      ],
      'conditions': [
        ['use_webkit_compositor==1', {
          'dependencies': [
            '../gfx/compositor/compositor.gyp:compositor',
          ],
        }, { # use_webkit_compositor!=1
          'dependencies': [
            '../gfx/compositor/compositor.gyp:test_compositor',
          ],
        }],
      ],
    },
    {
      'target_name': 'aura_shell_exe',
      'type': 'executable',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../base/base.gyp:base_i18n',
        '../../chrome/chrome_resources.gyp:packed_resources',
        '../../skia/skia.gyp:skia',
        '../../third_party/icu/icu.gyp:icui18n',
        '../../third_party/icu/icu.gyp:icuuc',
        '../aura/aura.gyp:aura',
        '../gfx/compositor/compositor.gyp:compositor',
        '../gfx/compositor/compositor.gyp:compositor_test_support',
        '../ui.gyp:gfx_resources',
        '../ui.gyp:ui',
        '../ui.gyp:ui_resources',
        '../ui.gyp:ui_resources_standard',
        '../views/views.gyp:views',
        '../views/views.gyp:views_examples_lib',
        'aura_shell',
      ],
      'sources': [
        'examples/aura_shell_main.cc',
        'examples/bubble.cc',
        'examples/example_factory.h',
        'examples/lock_view.cc',
        'examples/toplevel_window.cc',
        'examples/toplevel_window.h',
        'examples/widgets.cc',
        'examples/window_type_launcher.cc',
        'examples/window_type_launcher.h',
        '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc',
        '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
        '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
      ],
    },
  ],
}