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. 4 5 { 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/events.gyp:events_base', 29 '../ui/strings/ui_strings.gyp:ui_strings', 30 '../ui/views/views.gyp:views', 31 'resources/athena_resources.gyp:athena_resources', 32 'strings/athena_strings.gyp:athena_strings', 33 ], 34 'defines': [ 35 'ATHENA_IMPLEMENTATION', 36 ], 37 'sources': [ 38 # All .cc, .h under athena, except unittests 39 'activity/activity.cc', 40 'activity/activity_factory.cc', 41 'activity/activity_manager_impl.cc', 42 'activity/activity_manager_impl.h', 43 'activity/activity_frame_view.cc', 44 'activity/activity_frame_view.h', 45 'activity/activity_widget_delegate.cc', 46 'activity/activity_widget_delegate.h', 47 'activity/public/activity.h', 48 'activity/public/activity_factory.h', 49 'activity/public/activity_manager.h', 50 'activity/public/activity_manager_observer.h', 51 'activity/public/activity_view_model.h', 52 'athena_export.h', 53 'env/athena_env_impl.cc', 54 'env/public/athena_env.h', 55 'home/app_list_view_delegate.cc', 56 'home/app_list_view_delegate.h', 57 'home/athena_start_page_view.cc', 58 'home/athena_start_page_view.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/minimized_home.cc', 65 'home/minimized_home.h', 66 'home/public/app_model_builder.h', 67 'home/public/home_card.h', 68 'input/accelerator_manager_impl.cc', 69 'input/accelerator_manager_impl.h', 70 'input/input_manager_impl.cc', 71 'input/public/accelerator_manager.h', 72 'input/public/input_manager.h', 73 'resource_manager/delegate/resource_manager_delegate.cc', 74 'resource_manager/memory_pressure_notifier.cc', 75 'resource_manager/memory_pressure_notifier.h', 76 'resource_manager/public/resource_manager.h', 77 'resource_manager/public/resource_manager_delegate.h', 78 'resource_manager/resource_manager_impl.cc', 79 'screen/public/screen_manager.h', 80 'screen/screen_accelerator_handler.cc', 81 'screen/screen_accelerator_handler.h', 82 'screen/screen_manager_impl.cc', 83 'system/background_controller.cc', 84 'system/background_controller.h', 85 'system/network_selector.cc', 86 'system/network_selector.h', 87 'system/orientation_controller.cc', 88 'system/orientation_controller.h', 89 'system/power_button_controller.cc', 90 'system/power_button_controller.h', 91 'system/status_icon_container_view.cc', 92 'system/status_icon_container_view.h', 93 'system/time_view.cc', 94 'system/time_view.h', 95 'system/public/system_ui.h', 96 'system/system_ui_impl.cc', 97 'util/container_priorities.h', 98 'util/drag_handle.cc', 99 'util/drag_handle.h', 100 'util/fill_layout_manager.cc', 101 'util/fill_layout_manager.h', 102 'util/switches.cc', 103 'util/switches.h', 104 'wm/bezel_controller.cc', 105 'wm/bezel_controller.h', 106 'wm/overview_toolbar.cc', 107 'wm/overview_toolbar.h', 108 'wm/public/window_list_provider.h', 109 'wm/public/window_list_provider_observer.h', 110 'wm/public/window_manager.h', 111 'wm/public/window_manager_observer.h', 112 'wm/split_view_controller.cc', 113 'wm/split_view_controller.h', 114 'wm/title_drag_controller.cc', 115 'wm/title_drag_controller.h', 116 'wm/window_list_provider_impl.cc', 117 'wm/window_list_provider_impl.h', 118 'wm/window_manager_impl.cc', 119 'wm/window_manager_impl.h', 120 'wm/window_overview_mode.cc', 121 'wm/window_overview_mode.h', 122 ], 123 }, 124 { 125 'target_name': 'athena_content_lib', 126 'type': 'static_library', 127 'dependencies': [ 128 'athena_lib', 129 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 130 '../components/components.gyp:component_metrics_proto', 131 '../components/components.gyp:native_app_window', 132 '../components/components.gyp:omnibox', 133 '../components/components.gyp:renderer_context_menu', 134 '../components/components.gyp:web_modal', 135 '../extensions/extensions.gyp:extensions_browser', 136 '../extensions/extensions.gyp:extensions_common', 137 '../content/content.gyp:content_browser', 138 '../ui/app_list/app_list.gyp:app_list', 139 '../ui/keyboard/keyboard.gyp:keyboard', 140 '../ui/keyboard/keyboard.gyp:keyboard_resources', 141 '../third_party/WebKit/public/blink.gyp:blink', 142 '../ui/views/controls/webview/webview.gyp:webview', 143 '../skia/skia.gyp:skia', 144 ], 145 'sources': [ 146 'content/app_activity.cc', 147 'content/app_activity.h', 148 'content/app_activity_proxy.cc', 149 'content/app_activity_proxy.h', 150 'content/app_activity_registry.cc', 151 'content/app_activity_registry.h', 152 'content/app_registry_impl.cc', 153 'content/content_activity_factory.cc', 154 'content/content_activity_factory.h', 155 'content/content_proxy.cc', 156 'content/content_proxy.h', 157 'content/public/app_registry.h', 158 'content/public/content_activity_factory_creator.h', 159 'content/public/dialogs.h', 160 'content/public/scheme_classifier_factory.h', 161 'content/public/web_contents_view_delegate_creator.h', 162 'content/render_view_context_menu_impl.cc', 163 'content/render_view_context_menu_impl.h', 164 'content/web_activity.cc', 165 'content/web_activity.h', 166 'content/web_contents_view_delegate_factory_impl.cc', 167 'extensions/athena_app_delegate_base.cc', 168 'extensions/athena_app_delegate_base.h', 169 'extensions/athena_app_window_client_base.cc', 170 'extensions/athena_app_window_client_base.h', 171 'extensions/athena_native_app_window_views.cc', 172 'extensions/athena_native_app_window_views.h', 173 'extensions/extension_app_model_builder.cc', 174 'extensions/extensions_delegate.cc', 175 'extensions/public/extension_app_model_builder.h', 176 'extensions/public/extensions_delegate.h', 177 'virtual_keyboard/public/virtual_keyboard_manager.h', 178 'virtual_keyboard/virtual_keyboard_manager_impl.cc', 179 ], 180 }, 181 { 182 'target_name': 'athena_chrome_lib', 183 'type': 'static_library', 184 'dependencies': [ 185 '../components/components.gyp:component_metrics_proto', 186 '../chrome/chrome.gyp:browser_extensions', 187 '../components/components.gyp:omnibox', 188 ], 189 'sources': [ 190 'content/chrome/dialogs.cc', 191 'content/chrome/scheme_classifier_factory.cc', 192 'extensions/chrome/athena_chrome_app_delegate.cc', 193 'extensions/chrome/athena_chrome_app_delegate.h', 194 'extensions/chrome/athena_chrome_app_window_client.cc', 195 'extensions/chrome/athena_chrome_app_window_client.h', 196 'extensions/chrome/extensions_delegate_impl.cc', 197 ], 198 }, 199 { 200 'target_name': 'athena_app_shell_lib', 201 'type': 'static_library', 202 'dependencies': [ 203 '../components/components.gyp:component_metrics_proto', 204 '../components/components.gyp:omnibox', 205 '../extensions/shell/app_shell.gyp:app_shell_lib', 206 '../skia/skia.gyp:skia', 207 ], 208 'sources': [ 209 'content/shell/dialogs.cc', 210 'content/shell/scheme_classifier_factory.cc', 211 'extensions/shell/extensions_delegate_impl.cc', 212 'extensions/shell/athena_shell_app_delegate.cc', 213 'extensions/shell/athena_shell_app_delegate.h', 214 'extensions/shell/athena_shell_app_window_client.cc', 215 'extensions/shell/athena_shell_app_window_client.h', 216 'extensions/shell/athena_apps_client_delegate.h', 217 ], 218 }, 219 { 220 'target_name': 'athena_test_support', 221 'type': 'static_library', 222 'dependencies': [ 223 '../base/base.gyp:test_support_base', 224 '../chromeos/chromeos.gyp:chromeos', 225 '../skia/skia.gyp:skia', 226 '../testing/gtest.gyp:gtest', 227 '../ui/accessibility/accessibility.gyp:ax_gen', 228 '../ui/app_list/app_list.gyp:app_list', 229 '../ui/app_list/app_list.gyp:app_list_test_support', 230 '../ui/aura/aura.gyp:aura_test_support', 231 '../ui/base/ui_base.gyp:ui_base_test_support', 232 '../ui/compositor/compositor.gyp:compositor_test_support', 233 '../ui/views/views.gyp:views', 234 '../ui/wm/wm.gyp:wm', 235 '../url/url.gyp:url_lib', 236 'athena_content_lib', 237 'athena_lib', 238 'resources/athena_resources.gyp:athena_resources', 239 ], 240 'sources': [ 241 'extensions/test/test_extensions_delegate.cc', 242 'test/athena_test_base.cc', 243 'test/athena_test_base.h', 244 'test/athena_test_helper.cc', 245 'test/athena_test_helper.h', 246 'test/sample_activity.cc', 247 'test/sample_activity.h', 248 'test/sample_activity_factory.cc', 249 'test/sample_activity_factory.h', 250 'test/test_app_model_builder.cc', 251 'test/test_app_model_builder.h', 252 'test/test_resource_manager_delegate.cc', 253 'wm/test/window_manager_impl_test_api.cc', 254 'wm/test/window_manager_impl_test_api.h', 255 ], 256 }, 257 { 258 'target_name': 'athena_unittests', 259 'type': 'executable', 260 'dependencies': [ 261 '../skia/skia.gyp:skia', 262 '../testing/gtest.gyp:gtest', 263 'athena_app_shell_lib', 264 'athena_lib', 265 'athena_test_support', 266 'main/athena_main.gyp:athena_main_lib', 267 'resources/athena_resources.gyp:athena_pak', 268 ], 269 'sources': [ 270 'activity/activity_manager_unittest.cc', 271 'content/app_activity_unittest.cc', 272 'env/athena_env_unittest.cc', 273 'home/athena_start_page_view_unittest.cc', 274 'home/home_card_gesture_manager_unittest.cc', 275 'home/home_card_unittest.cc', 276 'input/accelerator_manager_unittest.cc', 277 'resource_manager/memory_pressure_notifier_unittest.cc', 278 'resource_manager/resource_manager_unittest.cc', 279 'screen/screen_manager_unittest.cc', 280 'test/athena_unittests.cc', 281 'util/drag_handle_unittest.cc', 282 'util/fill_layout_manager_unittest.cc', 283 'wm/split_view_controller_unittest.cc', 284 'wm/window_list_provider_impl_unittest.cc', 285 'wm/window_manager_unittest.cc', 286 ], 287 } 288 ], 289 } 290 291