Revert of Revert of "Remove SSLClientAuthHandler's RDH dependency." (https://coderevi...
[chromium-blink-merge.git] / athena / athena.gyp
blob2c4679d29ebb7a65b2feab543577a9d84e40be42
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         # status_icon_container_view.cc depends on this. Remove this once there
15         # are athena specific assets.
16         '../ash/ash_resources.gyp:ash_resources',
17         '../base/base.gyp:test_support_base',
18         '../chromeos/chromeos.gyp:power_manager_proto',
19         '../extensions/shell/app_shell.gyp:app_shell_version_header',
20         '../ipc/ipc.gyp:ipc',
21         '../skia/skia.gyp:skia',
22         '../ui/accessibility/accessibility.gyp:ax_gen',
23         '../ui/app_list/app_list.gyp:app_list',
24         '../ui/aura/aura.gyp:aura',
25         '../ui/aura/aura.gyp:aura_test_support',
26         '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
27         '../ui/display/display.gyp:display',
28         '../ui/events/devices/events_devices.gyp:events_devices',
29         '../ui/events/events.gyp:events_base',
30         '../ui/strings/ui_strings.gyp:ui_strings',
31         '../ui/views/views.gyp:views',
32         'resources/athena_resources.gyp:athena_resources',
33         'strings/athena_strings.gyp:athena_strings',
34       ],
35       'defines': [
36         'ATHENA_IMPLEMENTATION',
37       ],
38       'sources': [
39         # All .cc, .h under athena, except unittests
40         'activity/activity.cc',
41         'activity/activity_factory.cc',
42         'activity/activity_manager_impl.cc',
43         'activity/activity_manager_impl.h',
44         'activity/activity_frame_view.cc',
45         'activity/activity_frame_view.h',
46         'activity/activity_widget_delegate.cc',
47         'activity/activity_widget_delegate.h',
48         'activity/public/activity.h',
49         'activity/public/activity_factory.h',
50         'activity/public/activity_manager.h',
51         'activity/public/activity_manager_observer.h',
52         'activity/public/activity_view.h',
53         'activity/public/activity_view_model.h',
54         'athena_export.h',
55         'env/athena_env_impl.cc',
56         'env/public/athena_env.h',
57         'home/app_list_view_delegate.cc',
58         'home/app_list_view_delegate.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/home_card_view.cc',
65         'home/home_card_view.h',
66         'home/public/app_model_builder.h',
67         'home/public/home_card.h',
68         'home/public/search_controller_factory.h',
69         'input/accelerator_manager_impl.cc',
70         'input/accelerator_manager_impl.h',
71         'input/input_manager_impl.cc',
72         'input/input_manager_impl.h',
73         'input/power_button_controller.cc',
74         'input/power_button_controller.h',
75         'input/public/accelerator_manager.h',
76         'input/public/input_manager.h',
77         'resource_manager/delegate/resource_manager_delegate.cc',
78         'resource_manager/memory_pressure_notifier.cc',
79         'resource_manager/memory_pressure_notifier.h',
80         'resource_manager/public/resource_manager.h',
81         'resource_manager/public/resource_manager_delegate.h',
82         'resource_manager/resource_manager_impl.cc',
83         'screen/public/screen_manager.h',
84         'screen/screen_accelerator_handler.cc',
85         'screen/screen_accelerator_handler.h',
86         'screen/screen_manager_impl.cc',
87         'screen/modal_window_controller.cc',
88         'screen/modal_window_controller.h',
89         'system/background_controller.cc',
90         'system/background_controller.h',
91         'system/network_selector.cc',
92         'system/network_selector.h',
93         'system/orientation_controller.cc',
94         'system/orientation_controller.h',
95         'system/shutdown_dialog.cc',
96         'system/shutdown_dialog.h',
97         'system/status_icon_container_view.cc',
98         'system/status_icon_container_view.h',
99         'system/time_view.cc',
100         'system/time_view.h',
101         'system/public/system_ui.h',
102         'system/system_ui_impl.cc',
103         'util/athena_constants.cc',
104         'util/athena_constants.h',
105         'util/container_priorities.h',
106         'util/drag_handle.cc',
107         'util/drag_handle.h',
108         'util/fill_layout_manager.cc',
109         'util/fill_layout_manager.h',
110         'util/switches.cc',
111         'util/switches.h',
112         'wm/overview_toolbar.cc',
113         'wm/overview_toolbar.h',
114         'wm/public/window_list_provider.h',
115         'wm/public/window_list_provider_observer.h',
116         'wm/public/window_manager.h',
117         'wm/public/window_manager_observer.h',
118         'wm/split_view_controller.cc',
119         'wm/split_view_controller.h',
120         'wm/title_drag_controller.cc',
121         'wm/title_drag_controller.h',
122         'wm/window_list_provider_impl.cc',
123         'wm/window_list_provider_impl.h',
124         'wm/window_manager_impl.cc',
125         'wm/window_manager_impl.h',
126         'wm/window_overview_mode.cc',
127         'wm/window_overview_mode.h',
128       ],
129     },
130     {
131       'target_name': 'athena_content_lib',
132       'type': 'static_library',
133       'dependencies': [
134         'athena_lib',
135         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
136         '../components/components.gyp:app_modal',
137         '../components/components.gyp:constrained_window',
138         '../components/components.gyp:component_metrics_proto',
139         '../components/components.gyp:omnibox',
140         '../components/components.gyp:renderer_context_menu',
141         '../components/components.gyp:web_modal',
142         '../content/content.gyp:content_browser',
143         '../extensions/components/extensions_components.gyp:javascript_dialog_extensions_client',
144         '../extensions/components/extensions_components.gyp:native_app_window',
145         '../extensions/extensions.gyp:extensions_browser',
146         '../extensions/extensions.gyp:extensions_common',
147         '../ui/app_list/app_list.gyp:app_list',
148         '../ui/content_accelerators/ui_content_accelerators.gyp:ui_content_accelerators',
149         '../ui/keyboard/keyboard.gyp:keyboard',
150         '../ui/keyboard/keyboard.gyp:keyboard_resources',
151         '../third_party/WebKit/public/blink.gyp:blink',
152         '../ui/views/controls/webview/webview.gyp:webview',
153         '../skia/skia.gyp:skia',
154       ],
155       'sources': [
156         'content/app_activity.cc',
157         'content/app_activity.h',
158         'content/app_activity_proxy.cc',
159         'content/app_activity_proxy.h',
160         'content/app_activity_registry.cc',
161         'content/app_activity_registry.h',
162         'content/app_registry_impl.cc',
163         'content/content_activity_factory.cc',
164         'content/content_activity_factory.h',
165         'content/content_proxy.cc',
166         'content/content_proxy.h',
167         'content/media_utils.h',
168         'content/public/app_registry.h',
169         'content/public/content_activity_factory_creator.h',
170         'content/public/dialogs.h',
171         'content/public/web_contents_view_delegate_creator.h',
172         'content/render_view_context_menu_impl.cc',
173         'content/render_view_context_menu_impl.h',
174         'content/web_activity.cc',
175         'content/web_activity.h',
176         'content/web_activity_helpers.h',
177         'content/web_contents_view_delegate_factory_impl.cc',
178         'extensions/athena_app_delegate_base.cc',
179         'extensions/athena_app_delegate_base.h',
180         'extensions/athena_app_window_client_base.cc',
181         'extensions/athena_app_window_client_base.h',
182         'extensions/athena_constrained_window_views_client.cc',
183         'extensions/athena_constrained_window_views_client.h',
184         'extensions/athena_javascript_native_dialog_factory.cc',
185         'extensions/athena_javascript_native_dialog_factory.h',
186         'extensions/extension_app_model_builder.cc',
187         'extensions/extensions_delegate.cc',
188         'extensions/pubilc/apps_search_controller_factory.h',
189         'extensions/public/extension_app_model_builder.h',
190         'extensions/public/extensions_delegate.h',
191         'screen_lock/public/screen_lock_manager.h',
192         'screen_lock/screen_lock_manager_base.cc',
193         'screen_lock/screen_lock_manager_base.h',
194         'virtual_keyboard/public/virtual_keyboard_manager.h',
195         'virtual_keyboard/virtual_keyboard_manager_impl.cc',
196       ],
197     },
198     {
199       'target_name': 'athena_chrome_lib',
200       'type': 'static_library',
201       'dependencies': [
202         '../components/components.gyp:component_metrics_proto',
203         '../chrome/chrome.gyp:browser_chromeos',
204         '../chrome/chrome.gyp:browser_extensions',
205         '../components/components.gyp:omnibox',
206       ],
207       'sources': [
208         'content/chrome/dialogs.cc',
209         'content/chrome/media_utils.cc',
210         'content/chrome/web_activity_helpers.cc',
211         'extensions/chrome/app_list_controller_delegate_athena.cc',
212         'extensions/chrome/app_list_controller_delegate_athena.h',
213         'extensions/chrome/athena_chrome_app_delegate.cc',
214         'extensions/chrome/athena_chrome_app_delegate.h',
215         'extensions/chrome/athena_chrome_app_window_client.cc',
216         'extensions/chrome/athena_chrome_app_window_client.h',
217         'extensions/chrome/athena_extension_install_ui.cc',
218         'extensions/chrome/athena_extension_install_ui.h',
219         'extensions/chrome/chrome_search_controller_factory.cc',
220         'extensions/chrome/chrome_search_controller_factory.h',
221         'extensions/chrome/extensions_delegate_impl.cc',
222         'screen_lock/chrome/chrome_screen_lock_manager.cc',
223       ],
224     },
225     {
226       'target_name': 'athena_app_shell_lib',
227       'type': 'static_library',
228       'dependencies': [
229         '../components/components.gyp:component_metrics_proto',
230         '../components/components.gyp:omnibox',
231         '../extensions/shell/app_shell.gyp:app_shell_lib',
232         '../skia/skia.gyp:skia',
233       ],
234       'sources': [
235         'content/shell/dialogs.cc',
236         'content/shell/media_utils.cc',
237         'content/shell/web_activity_helpers.cc',
238         'extensions/shell/extensions_delegate_impl.cc',
239         'extensions/shell/athena_shell_app_delegate.cc',
240         'extensions/shell/athena_shell_app_delegate.h',
241         'extensions/shell/athena_shell_app_window_client.cc',
242         'extensions/shell/athena_shell_app_window_client.h',
243         'extensions/shell/athena_shell_scheme_classifier.cc',
244         'extensions/shell/athena_shell_scheme_classifier.h',
245         'extensions/shell/athena_apps_client_delegate.h',
246         'extensions/shell/shell_search_controller_factory.cc',
247         'extensions/shell/shell_search_controller_factory.h',
248         'extensions/shell/url_search_provider.cc',
249         'extensions/shell/url_search_provider.h',
250         'screen_lock/shell/shell_screen_lock_manager.cc',
251       ],
252     },
253     {
254       'target_name': 'athena_test_support',
255       'type': 'static_library',
256       'dependencies': [
257         '../base/base.gyp:test_support_base',
258         '../chromeos/chromeos.gyp:chromeos',
259         '../skia/skia.gyp:skia',
260         '../testing/gtest.gyp:gtest',
261         '../ui/accessibility/accessibility.gyp:ax_gen',
262         '../ui/app_list/app_list.gyp:app_list',
263         '../ui/app_list/app_list.gyp:app_list_test_support',
264         '../ui/aura/aura.gyp:aura_test_support',
265         '../ui/base/ui_base.gyp:ui_base_test_support',
266         '../ui/compositor/compositor.gyp:compositor_test_support',
267         '../ui/views/views.gyp:views',
268         '../ui/wm/wm.gyp:wm',
269         '../url/url.gyp:url_lib',
270         'athena_content_lib',
271         'athena_lib',
272         'resources/athena_resources.gyp:athena_resources',
273       ],
274       'sources': [
275         'extensions/test/test_extensions_delegate.cc',
276         'test/base/athena_test_base.cc',
277         'test/base/athena_test_base.h',
278         'test/base/athena_test_helper.cc',
279         'test/base/athena_test_helper.h',
280         'test/base/sample_activity.cc',
281         'test/base/sample_activity.h',
282         'test/base/sample_activity_factory.cc',
283         'test/base/sample_activity_factory.h',
284         'test/base/test_app_model_builder.cc',
285         'test/base/test_app_model_builder.h',
286         'test/base/test_resource_manager_delegate.cc',
287         'test/base/test_windows.cc',
288         'test/base/test_windows.h',
289         'test/base/test_util.cc',
290         'test/base/test_util.h',
291         'wm/test/window_manager_impl_test_api.cc',
292         'wm/test/window_manager_impl_test_api.h',
293       ],
294     },
295     {
296       'target_name': 'athena_browsertest_support',
297       'type': 'static_library',
298       'dependencies': [
299         '../testing/gtest.gyp:gtest',
300         'athena_test_support',
301         'main/athena_main.gyp:athena_main_lib',
302         'resources/athena_resources.gyp:athena_pak',
303       ],
304       'sources': [
305         'test/base/activity_lifetime_tracker.h',
306         'test/base/activity_lifetime_tracker.cc',
307         'test/base/athena_browser_test.h',
308         'test/base/athena_browser_test.cc',
309         'test/base/athena_browser_test.h',
310         'test/base/athena_test_launcher_delegate.cc',
311         'test/base/athena_test_launcher_delegate.h',
312       ],
313     },
314     {
315       'target_name': 'athena_browsertests',
316       'type': 'executable',
317       'dependencies': [
318         '../testing/gtest.gyp:gtest',
319         '../skia/skia.gyp:skia',
320         'athena_browsertest_support',
321         'athena_app_shell_lib',
322         'athena_lib',
323       ],
324       'defines': [
325         'HAS_OUT_OF_PROC_TEST_RUNNER',
326       ],
327       'sources': [
328         'test/base/athena_browser_test_main.cc',
329       ],
330     },
331     {
332       'target_name': 'athena_unittests',
333       'type': 'executable',
334       'dependencies': [
335         '../skia/skia.gyp:skia',
336         '../testing/gtest.gyp:gtest',
337         'athena_app_shell_lib',
338         'athena_lib',
339         'athena_test_support',
340         'main/athena_main.gyp:athena_main_lib',
341         'resources/athena_resources.gyp:athena_pak',
342       ],
343       'sources': [
344         'activity/activity_manager_unittest.cc',
345         'content/app_activity_unittest.cc',
346         'env/athena_env_unittest.cc',
347         'home/home_card_gesture_manager_unittest.cc',
348         'home/home_card_unittest.cc',
349         'input/accelerator_manager_unittest.cc',
350         'input/input_manager_unittest.cc',
351         'resource_manager/memory_pressure_notifier_unittest.cc',
352         'resource_manager/resource_manager_unittest.cc',
353         'screen/modal_window_controller_unittest.cc',
354         'screen/screen_manager_unittest.cc',
355         'test/base/athena_unittests.cc',
356         'util/drag_handle_unittest.cc',
357         'util/fill_layout_manager_unittest.cc',
358         'wm/split_view_controller_unittest.cc',
359         'wm/window_list_provider_impl_unittest.cc',
360         'wm/window_manager_unittest.cc',
361       ],
362     }
363   ],