Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / athena / athena.gyp
blob4d76ce52699fb762eb1d6b250b662b88ab73aba2
1 # Copyright 2014 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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'athena_lib',
12       'type': '<(component)',
13       'dependencies': [
14         '../base/base.gyp:test_support_base',
15         '../extensions/shell/app_shell.gyp:app_shell_version_header',
16         '../ipc/ipc.gyp:ipc',
17         '../skia/skia.gyp:skia',
18         '../ui/accessibility/accessibility.gyp:ax_gen',
19         '../ui/app_list/app_list.gyp:app_list',
20         '../ui/aura/aura.gyp:aura',
21         '../ui/aura/aura.gyp:aura_test_support',
22         '../ui/events/events.gyp:events_base',
23         '../ui/strings/ui_strings.gyp:ui_strings',
24         '../ui/views/views.gyp:views',
25         'resources/athena_resources.gyp:athena_resources',
26       ],
27       'defines': [
28         'ATHENA_IMPLEMENTATION',
29       ],
30       'sources': [
31         # All .cc, .h under athena, except unittests
32         'activity/activity.cc',
33         'activity/activity_factory.cc',
34         'activity/activity_manager_impl.cc',
35         'activity/activity_manager_impl.h',
36         'activity/activity_view_manager_impl.cc',
37         'activity/activity_frame_view.cc',
38         'activity/activity_frame_view.h',
39         'activity/activity_widget_delegate.cc',
40         'activity/activity_widget_delegate.h',
41         'activity/public/activity.h',
42         'activity/public/activity_factory.h',
43         'activity/public/activity_manager.h',
44         'activity/public/activity_manager_observer.h',
45         'activity/public/activity_view_manager.h',
46         'activity/public/activity_view_model.h',
47         'athena_export.h',
48         'common/container_priorities.h',
49         'common/fill_layout_manager.cc',
50         'common/fill_layout_manager.h',
51         'common/switches.cc',
52         'common/switches.h',
53         'env/athena_env_impl.cc',
54         'env/public/athena_env.h',
55         'home/app_list_view_delegate.cc',
56         'home/app_list_view_delegate.h',
57         'home/athena_start_page_view.cc',
58         'home/athena_start_page_view.h',
59         'home/home_card_constants.cc',
60         'home/home_card_constants.h',
61         'home/home_card_gesture_manager.cc',
62         'home/home_card_gesture_manager.h',
63         'home/home_card_impl.cc',
64         'home/minimized_home.cc',
65         'home/minimized_home.h',
66         'home/public/app_model_builder.h',
67         'home/public/home_card.h',
68         'input/accelerator_manager_impl.cc',
69         'input/accelerator_manager_impl.h',
70         'input/input_manager_impl.cc',
71         'input/public/accelerator_manager.h',
72         'input/public/input_manager.h',
73         'screen/background_controller.cc',
74         'screen/background_controller.h',
75         'screen/public/screen_manager.h',
76         'screen/screen_accelerator_handler.cc',
77         'screen/screen_accelerator_handler.h',
78         'screen/screen_manager_impl.cc',
79         'system/device_socket_listener.cc',
80         'system/device_socket_listener.h',
81         'system/orientation_controller.cc',
82         'system/orientation_controller.h',
83         'system/power_button_controller.cc',
84         'system/power_button_controller.h',
85         'system/public/system_ui.h', 
86         'system/system_ui_impl.cc',
87         'wm/bezel_controller.cc',
88         'wm/bezel_controller.h',
89         'wm/overview_toolbar.cc',
90         'wm/overview_toolbar.h',
91         'wm/public/window_list_provider.h',
92         'wm/public/window_manager.h',
93         'wm/public/window_manager_observer.h',
94         'wm/split_view_controller.cc',
95         'wm/split_view_controller.h',
96         'wm/title_drag_controller.cc',
97         'wm/title_drag_controller.h',
98         'wm/window_list_provider_impl.cc',
99         'wm/window_list_provider_impl.h',
100         'wm/window_manager_impl.cc',
101         'wm/window_overview_mode.cc',
102         'wm/window_overview_mode.h',
103       ],
104     },
105     {
106       'target_name': 'athena_content_lib',
107       'type': 'static_library',
108       'dependencies': [
109         'athena_lib',
110         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
111         '../components/components.gyp:renderer_context_menu',
112         '../components/components.gyp:web_modal',
113         '../extensions/extensions.gyp:extensions_browser',
114         '../extensions/extensions.gyp:extensions_common',
115         '../content/content.gyp:content_browser',
116         '../ui/app_list/app_list.gyp:app_list',
117         '../ui/keyboard/keyboard.gyp:keyboard',
118         '../ui/keyboard/keyboard.gyp:keyboard_resources',
119         '../third_party/WebKit/public/blink.gyp:blink',
120         '../ui/views/controls/webview/webview.gyp:webview',
121         '../skia/skia.gyp:skia',
122       ],
123       'sources': [
124         'content/app_activity.cc',
125         'content/app_activity.h',
126         'content/app_activity_proxy.cc',
127         'content/app_activity_proxy.h',
128         'content/app_activity_registry.cc',
129         'content/app_activity_registry.h',
130         'content/app_registry_impl.cc',
131         'content/content_activity_factory.cc',
132         'content/content_app_model_builder.cc',
133         'content/public/app_registry.h',
134         'content/content_activity_factory.h',
135         'content/public/content_activity_factory_creator.h',
136         'content/public/content_app_model_builder.h',
137         'content/public/web_contents_view_delegate_creator.h',
138         'content/render_view_context_menu_impl.cc',
139         'content/render_view_context_menu_impl.h',
140         'content/web_activity.cc',
141         'content/web_activity.h',
142         'content/web_contents_view_delegate_factory_impl.cc',
143         'extensions/public/extensions_delegate.h',
144         'extensions/extensions_delegate.cc',
145         'resource_manager/memory_pressure_notifier.cc',
146         'resource_manager/memory_pressure_notifier.h',
147         'resource_manager/resource_manager_impl.cc',
148         'resource_manager/public/resource_manager.h',
149         'resource_manager/public/resource_manager_delegate.h',
150         'virtual_keyboard/public/virtual_keyboard_manager.h',
151         'resource_manager/resource_manager_impl.cc',
152         'virtual_keyboard/virtual_keyboard_manager_impl.cc',
153       ],
154     },
155     {
156       'target_name': 'athena_app_shell_lib',
157       'type': 'static_library',
158       'dependencies': [
159         '../extensions/shell/app_shell.gyp:app_shell_lib',
160       ],
161       'sources': [
162         'content/shell/content_activity_factory.cc',
163         'content/shell/shell_app_activity.cc',
164         'content/shell/shell_app_activity.h',
165         'extensions/shell/extensions_delegate_impl.cc',
166         'resource_manager/delegate/resource_manager_delegate.cc',
167       ],
168     },
169     {
170       'target_name': 'athena_test_support',
171       'type': 'static_library',
172       'dependencies': [
173         '../base/base.gyp:test_support_base',
174         '../chromeos/chromeos.gyp:chromeos',
175         '../skia/skia.gyp:skia',
176         '../testing/gtest.gyp:gtest',
177         '../ui/accessibility/accessibility.gyp:ax_gen',
178         '../ui/app_list/app_list.gyp:app_list',
179         '../ui/aura/aura.gyp:aura_test_support',
180         '../ui/base/ui_base.gyp:ui_base_test_support',
181         '../ui/compositor/compositor.gyp:compositor_test_support',
182         '../ui/views/views.gyp:views',
183         '../ui/wm/wm.gyp:wm',
184         '../url/url.gyp:url_lib',
185         'athena_content_lib',
186         'athena_lib',
187         'resources/athena_resources.gyp:athena_resources',
188       ],
189       'sources': [
190         'extensions/test/test_extensions_delegate.cc',
191         'test/athena_test_base.cc',
192         'test/athena_test_base.h',
193         'test/athena_test_helper.cc',
194         'test/athena_test_helper.h',
195         'test/sample_activity.cc',
196         'test/sample_activity.h',
197         'test/sample_activity_factory.cc',
198         'test/sample_activity_factory.h',
199         'test/test_app_model_builder.cc',
200         'test/test_app_model_builder.h',
201         'test/test_resource_manager_delegate.cc',
202         'wm/test/window_manager_impl_test_api.cc',
203         'wm/test/window_manager_impl_test_api.h',
204       ],
205     },
206     {
207       'target_name': 'athena_unittests',
208       'type': 'executable',
209       'dependencies': [
210         '../skia/skia.gyp:skia',
211         '../testing/gtest.gyp:gtest',
212         'athena_app_shell_lib',
213         'athena_lib',
214         'athena_test_support',
215         'main/athena_main.gyp:athena_main_lib',
216         'resources/athena_resources.gyp:athena_pak',
217       ],
218       'sources': [
219         'activity/activity_manager_unittest.cc',
220         'common/fill_layout_manager_unittest.cc',
221         'content/app_activity_unittest.cc',
222         'home/home_card_gesture_manager_unittest.cc',
223         'home/home_card_unittest.cc',
224         'input/accelerator_manager_unittest.cc',
225         'resource_manager/memory_pressure_notifier_unittest.cc',
226         'resource_manager/resource_manager_unittest.cc',
227         'screen/screen_manager_unittest.cc',
228         'test/athena_unittests.cc',
229         'wm/split_view_controller_unittest.cc',
230         'wm/window_list_provider_impl_unittest.cc',
231         'wm/window_manager_unittest.cc',
232       ],
233     }
234   ],