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