Pipeline: Handle the case where Seek() is called after error happened.
[chromium-blink-merge.git] / athena / athena.gyp
blob4f78923910c4035c86ded75a09c040a195cf8ebe
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         '../skia/skia.gyp:skia',
15         '../ui/accessibility/accessibility.gyp:ax_gen',
16         '../ui/app_list/app_list.gyp:app_list',
17         '../ui/aura/aura.gyp:aura',
18         '../ui/strings/ui_strings.gyp:ui_strings',
19         '../ui/views/views.gyp:views',
20       ],
21       'defines': [
22         'ATHENA_IMPLEMENTATION',
23       ],
24       'sources': [
25         # All .cc, .h under athena, except unittests
26         'activity/activity.cc',
27         'activity/activity_factory.cc',
28         'activity/activity_manager_impl.cc',
29         'activity/activity_view_manager_impl.cc',
30         'activity/activity_frame_view.cc',
31         'activity/activity_frame_view.h',
32         'activity/activity_widget_delegate.cc',
33         'activity/activity_widget_delegate.h',
34         'activity/public/activity.h',
35         'activity/public/activity_factory.h',
36         'activity/public/activity_manager.h',
37         'activity/public/activity_view_manager.h',
38         'activity/public/activity_view_model.h',
39         'athena_export.h',
40         'common/container_priorities.h',
41         'common/fill_layout_manager.cc',
42         'common/fill_layout_manager.h',
43         'common/switches.cc',
44         'common/switches.h',
45         'home/app_list_view_delegate.cc',
46         'home/app_list_view_delegate.h',
47         'home/bottom_home_view.cc',
48         'home/bottom_home_view.h',
49         'home/home_card_impl.cc',
50         'home/minimized_home.cc',
51         'home/minimized_home.h',
52         'home/public/app_model_builder.h',
53         'home/public/home_card.h',
54         'input/accelerator_manager_impl.cc',
55         'input/accelerator_manager_impl.h',
56         'input/input_manager_impl.cc',
57         'input/public/accelerator_manager.h',
58         'input/public/input_manager.h',
59         'screen/background_controller.cc',
60         'screen/background_controller.h',
61         'screen/public/screen_manager.h',
62         'screen/screen_accelerator_handler.cc',
63         'screen/screen_accelerator_handler.h',
64         'screen/screen_manager_impl.cc',
65         'system/power_button_controller.cc',
66         'system/power_button_controller.h',
67         'system/public/system_ui.h', 
68         'system/system_ui_impl.cc',
69         'wm/public/window_manager.h',
70         'wm/public/window_manager_observer.h',
71         'wm/bezel_controller.cc',
72         'wm/bezel_controller.h',
73         'wm/split_view_controller.cc',
74         'wm/split_view_controller.h',
75         'wm/window_manager_impl.cc',
76         'wm/window_overview_mode.cc',
77         'wm/window_overview_mode.h',
78       ],
79     },
80     {
81       'target_name': 'athena_content_lib',
82       'type': 'static_library',
83       'dependencies': [
84         'athena_lib',
85         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
86         '../content/content.gyp:content_browser',
87         '../ui/app_list/app_list.gyp:app_list',
88         '../ui/keyboard/keyboard.gyp:keyboard',
89         '../ui/keyboard/keyboard.gyp:keyboard_resources',
90         '../third_party/WebKit/public/blink.gyp:blink',
91         '../ui/views/controls/webview/webview.gyp:webview',
92         '../skia/skia.gyp:skia',
93       ],
94       'defines': [
95         'ATHENA_IMPLEMENTATION',
96       ],
97       'sources': [
98         'content/public/content_activity_factory.h',
99         'content/public/content_app_model_builder.h',
100         'content/content_activity_factory.cc',
101         'content/content_app_model_builder.cc',
102         'content/app_activity.h',
103         'content/app_activity.cc',
104         'content/web_activity.h',
105         'content/web_activity.cc',
106         'virtual_keyboard/public/virtual_keyboard_bindings.h',
107         'virtual_keyboard/public/virtual_keyboard_manager.h',
108         'virtual_keyboard/virtual_keyboard_bindings_impl.cc',
109         'virtual_keyboard/virtual_keyboard_manager_impl.cc',
110         'virtual_keyboard/vk_message_handler.cc',
111         'virtual_keyboard/vk_message_handler.h',
112         'virtual_keyboard/vk_webui_controller.cc',
113         'virtual_keyboard/vk_webui_controller.h',
114       ],
115     },
116     {
117       'target_name': 'athena_test_support',
118       'type': 'static_library',
119       'dependencies': [
120         '../base/base.gyp:test_support_base',
121         '../chromeos/chromeos.gyp:chromeos',
122         '../skia/skia.gyp:skia',
123         '../testing/gtest.gyp:gtest',
124         '../ui/accessibility/accessibility.gyp:ax_gen',
125         '../ui/app_list/app_list.gyp:app_list',
126         '../ui/aura/aura.gyp:aura_test_support',
127         '../ui/base/ui_base.gyp:ui_base_test_support',
128         '../ui/compositor/compositor.gyp:compositor_test_support',
129         '../ui/views/views.gyp:views',
130         '../ui/wm/wm.gyp:wm',
131         '../url/url.gyp:url_lib',
132         'athena_lib',
133       ],
134       'sources': [
135         'main/athena_launcher.cc',
136         'main/athena_launcher.h',
137         'main/placeholder.cc',
138         'main/placeholder.h',
139         'test/athena_test_base.cc',
140         'test/athena_test_base.h',
141         'test/athena_test_helper.cc',
142         'test/athena_test_helper.h',
143         'test/sample_activity.cc',
144         'test/sample_activity.h',
145         'test/sample_activity_factory.cc',
146         'test/sample_activity_factory.h',
147         'test/test_app_model_builder.cc',
148         'test/test_app_model_builder.h',
149       ],
150     },
151     {
152       'target_name': 'athena_unittests',
153       'type': 'executable',
154       'dependencies': [
155         '../testing/gtest.gyp:gtest',
156         '../skia/skia.gyp:skia',
157         'athena_lib',
158         'athena_test_support',
159         'resources/athena_resources.gyp:athena_pak',
160       ],
161       'sources': [
162         'test/athena_unittests.cc',
163         'activity/activity_manager_unittest.cc',
164         'home/home_card_unittest.cc',
165         'input/accelerator_manager_unittest.cc',
166         'screen/screen_manager_unittest.cc',
167         'wm/window_manager_unittest.cc',
168       ],
169     }
170   ],