AppWindow: Abstract over setting and querying fullscreen mode.
[chromium-blink-merge.git] / athena / athena.gyp
blob93f5057efb8b2b44fe061ef5c6cfe4903112dd82
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/input_manager.h',
58         'input/public/accelerator_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         'wm/public/window_manager.h',
66         'wm/public/window_manager_observer.h',
67         'wm/bezel_controller.cc',
68         'wm/bezel_controller.h',
69         'wm/split_view_controller.cc',
70         'wm/split_view_controller.h',
71         'wm/window_manager_impl.cc',
72         'wm/window_overview_mode.cc',
73         'wm/window_overview_mode.h',
74       ],
75     },
76     {
77       'target_name': 'athena_content_lib',
78       'type': 'static_library',
79       'dependencies': [
80         'athena_lib',
81         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
82         '../content/content.gyp:content_browser',
83         '../ui/app_list/app_list.gyp:app_list',
84         '../ui/keyboard/keyboard.gyp:keyboard',
85         '../ui/keyboard/keyboard.gyp:keyboard_resources',
86         '../third_party/WebKit/public/blink.gyp:blink',
87         '../ui/views/controls/webview/webview.gyp:webview',
88         '../skia/skia.gyp:skia',
89       ],
90       'defines': [
91         'ATHENA_IMPLEMENTATION',
92       ],
93       'sources': [
94         'content/public/content_activity_factory.h',
95         'content/public/content_app_model_builder.h',
96         'content/content_activity_factory.cc',
97         'content/content_app_model_builder.cc',
98         'content/app_activity.h',
99         'content/app_activity.cc',
100         'content/web_activity.h',
101         'content/web_activity.cc',
102         'virtual_keyboard/public/virtual_keyboard_bindings.h',
103         'virtual_keyboard/public/virtual_keyboard_manager.h',
104         'virtual_keyboard/virtual_keyboard_bindings_impl.cc',
105         'virtual_keyboard/virtual_keyboard_manager_impl.cc',
106         'virtual_keyboard/vk_message_handler.cc',
107         'virtual_keyboard/vk_message_handler.h',
108         'virtual_keyboard/vk_webui_controller.cc',
109         'virtual_keyboard/vk_webui_controller.h',
110       ],
111     },
112     {
113       'target_name': 'athena_test_support',
114       'type': 'static_library',
115       'dependencies': [
116         '../base/base.gyp:test_support_base',
117         '../skia/skia.gyp:skia',
118         '../testing/gtest.gyp:gtest',
119         '../ui/accessibility/accessibility.gyp:ax_gen',
120         '../ui/app_list/app_list.gyp:app_list',
121         '../ui/aura/aura.gyp:aura_test_support',
122         '../ui/base/ui_base.gyp:ui_base_test_support',
123         '../ui/compositor/compositor.gyp:compositor_test_support',
124         '../ui/views/views.gyp:views',
125         '../ui/wm/wm.gyp:wm',
126         '../url/url.gyp:url_lib',
127         'athena_lib',
128       ],
129       'sources': [
130         'main/athena_launcher.cc',
131         'main/athena_launcher.h',
132         'main/placeholder.cc',
133         'main/placeholder.h',
134         'test/athena_test_base.cc',
135         'test/athena_test_base.h',
136         'test/athena_test_helper.cc',
137         'test/athena_test_helper.h',
138         'test/sample_activity.cc',
139         'test/sample_activity.h',
140         'test/sample_activity_factory.cc',
141         'test/sample_activity_factory.h',
142         'test/test_app_model_builder.cc',
143         'test/test_app_model_builder.h',
144       ],
145     },
146     {
147       'target_name': 'athena_unittests',
148       'type': 'executable',
149       'dependencies': [
150         '../testing/gtest.gyp:gtest',
151         '../skia/skia.gyp:skia',
152         'athena_lib',
153         'athena_test_support',
154         'resources/athena_resources.gyp:athena_pak',
155       ],
156       'sources': [
157         'test/athena_unittests.cc',
158         'activity/activity_manager_unittest.cc',
159         'home/home_card_unittest.cc',
160         'input/accelerator_manager_unittest.cc',
161         'screen/screen_manager_unittest.cc',
162         'wm/window_manager_unittest.cc',
163       ],
164     }
165   ],