Update mojo surfaces bindings and mojo/cc/ glue
[chromium-blink-merge.git] / athena / athena.gyp
blob836f947d806d811a6ee23d0e137beef39009004d
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_view_manager_impl.cc',
36         'activity/activity_frame_view.cc',
37         'activity/activity_frame_view.h',
38         'activity/activity_widget_delegate.cc',
39         'activity/activity_widget_delegate.h',
40         'activity/public/activity.h',
41         'activity/public/activity_factory.h',
42         'activity/public/activity_manager.h',
43         'activity/public/activity_view_manager.h',
44         'activity/public/activity_view_model.h',
45         'athena_export.h',
46         'common/container_priorities.h',
47         'common/fill_layout_manager.cc',
48         'common/fill_layout_manager.h',
49         'common/switches.cc',
50         'common/switches.h',
51         'home/app_list_view_delegate.cc',
52         'home/app_list_view_delegate.h',
53         'home/athena_start_page_view.cc',
54         'home/athena_start_page_view.h',
55         'home/home_card_impl.cc',
56         'home/minimized_home.cc',
57         'home/minimized_home.h',
58         'home/public/app_model_builder.h',
59         'home/public/home_card.h',
60         'input/accelerator_manager_impl.cc',
61         'input/accelerator_manager_impl.h',
62         'input/input_manager_impl.cc',
63         'input/public/accelerator_manager.h',
64         'input/public/input_manager.h',
65         'screen/background_controller.cc',
66         'screen/background_controller.h',
67         'screen/public/screen_manager.h',
68         'screen/public/screen_manager_delegate.h',
69         'screen/screen_accelerator_handler.cc',
70         'screen/screen_accelerator_handler.h',
71         'screen/screen_manager_impl.cc',
72         'system/device_socket_listener.cc',
73         'system/device_socket_listener.h',
74         'system/orientation_controller.cc',
75         'system/orientation_controller.h',
76         'system/power_button_controller.cc',
77         'system/power_button_controller.h',
78         'system/public/system_ui.h', 
79         'system/system_ui_impl.cc',
80         'wm/bezel_controller.cc',
81         'wm/bezel_controller.h',
82         'wm/overview_toolbar.cc',
83         'wm/overview_toolbar.h',
84         'wm/public/window_list_provider.h',
85         'wm/public/window_manager.h',
86         'wm/public/window_manager_observer.h',
87         'wm/split_view_controller.cc',
88         'wm/split_view_controller.h',
89         'wm/title_drag_controller.cc',
90         'wm/title_drag_controller.h',
91         'wm/window_list_provider_impl.cc',
92         'wm/window_list_provider_impl.h',
93         'wm/window_manager_impl.cc',
94         'wm/window_overview_mode.cc',
95         'wm/window_overview_mode.h',
96       ],
97     },
98     {
99       'target_name': 'athena_content_lib',
100       'type': 'static_library',
101       'dependencies': [
102         'athena_lib',
103         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
104         '../components/components.gyp:renderer_context_menu',
105         '../components/components.gyp:web_modal',
106         '../extensions/extensions.gyp:extensions_browser',
107         '../extensions/extensions.gyp:extensions_common',
108         '../extensions/shell/app_shell.gyp:app_shell_lib',
109         '../content/content.gyp:content_browser',
110         '../ui/app_list/app_list.gyp:app_list',
111         '../ui/keyboard/keyboard.gyp:keyboard',
112         '../ui/keyboard/keyboard.gyp:keyboard_resources',
113         '../third_party/WebKit/public/blink.gyp:blink',
114         '../ui/views/controls/webview/webview.gyp:webview',
115         '../skia/skia.gyp:skia',
116       ],
117       'defines': [
118         'ATHENA_IMPLEMENTATION',
119       ],
120       'sources': [
121         'content/app_activity.cc',
122         'content/app_activity.h',
123         'content/app_activity_proxy.cc',
124         'content/app_activity_proxy.h',
125         'content/app_activity_registry.cc',
126         'content/app_activity_registry.h',
127         'content/app_registry_impl.cc',
128         'content/content_activity_factory.cc',
129         'content/content_app_model_builder.cc',
130         'content/public/app_registry.h',
131         'content/public/content_activity_factory.h',
132         'content/public/content_app_model_builder.h',
133         'content/public/web_contents_view_delegate_creator.h',
134         'content/render_view_context_menu_impl.cc',
135         'content/render_view_context_menu_impl.h',
136         'content/web_activity.cc',
137         'content/web_activity.h',
138         'content/web_contents_view_delegate_factory_impl.cc',
139         'extensions/public/extensions_delegate.h',
140         'extensions/extensions_delegate_impl.cc',
141         'virtual_keyboard/public/virtual_keyboard_manager.h',
142         'virtual_keyboard/virtual_keyboard_manager_impl.cc',
143       ],
144     },
145     {
146       'target_name': 'athena_content_support_lib',
147       'type': 'static_library',
148       'dependencies': [
149         '../content/content.gyp:content_browser',
150       ],
151       'sources': [
152         'content/delegate/app_content_control_delegate_impl.cc',        
153         'content/public/app_content_control_delegate.h',
154       ],
155     },
156     {
157       'target_name': 'athena_test_support',
158       'type': 'static_library',
159       'dependencies': [
160         '../base/base.gyp:test_support_base',
161         '../chromeos/chromeos.gyp:chromeos',
162         '../skia/skia.gyp:skia',
163         '../testing/gtest.gyp:gtest',
164         '../ui/accessibility/accessibility.gyp:ax_gen',
165         '../ui/app_list/app_list.gyp:app_list',
166         '../ui/aura/aura.gyp:aura_test_support',
167         '../ui/base/ui_base.gyp:ui_base_test_support',
168         '../ui/compositor/compositor.gyp:compositor_test_support',
169         '../ui/views/views.gyp:views',
170         '../ui/wm/wm.gyp:wm',
171         '../url/url.gyp:url_lib',
172         'athena_content_lib',
173         'athena_lib',
174         'resources/athena_resources.gyp:athena_resources',
175       ],
176       'sources': [
177         'content/public/app_content_control_delegate.h',
178         'extensions/test/test_extensions_delegate.cc',
179         'test/athena_test_base.cc',
180         'test/athena_test_base.h',
181         'test/athena_test_helper.cc',
182         'test/athena_test_helper.h',
183         'test/sample_activity.cc',
184         'test/sample_activity.h',
185         'test/sample_activity_factory.cc',
186         'test/sample_activity_factory.h',
187         'test/test_app_content_control_delegate_impl.cc',
188         'test/test_app_model_builder.cc',
189         'test/test_app_model_builder.h',
190         'test/test_screen_manager_delegate.cc',
191         'test/test_screen_manager_delegate.h',
192         'wm/test/window_manager_impl_test_api.cc',
193         'wm/test/window_manager_impl_test_api.h',
194       ],
195     },
196     {
197       'target_name': 'athena_unittests',
198       'type': 'executable',
199       'dependencies': [
200         '../skia/skia.gyp:skia',
201         '../testing/gtest.gyp:gtest',
202         'athena_lib',
203         'athena_test_support',
204         'main/athena_main.gyp:athena_main_lib',
205         'resources/athena_resources.gyp:athena_pak',
206       ],
207       'sources': [
208         'activity/activity_manager_unittest.cc',
209         'common/fill_layout_manager_unittest.cc',
210         'content/app_activity_unittest.cc',
211         'home/home_card_unittest.cc',
212         'input/accelerator_manager_unittest.cc',
213         'screen/screen_manager_unittest.cc',
214         'test/athena_unittests.cc',
215         'wm/split_view_controller_unittest.cc',
216         'wm/window_list_provider_impl_unittest.cc',
217         'wm/window_manager_unittest.cc',
218       ],
219     }
220   ],