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