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