OLD | NEW |
(Empty) | |
| 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 component("wm") { |
| 6 sources = [ |
| 7 "core/accelerator_delegate.h", |
| 8 "core/accelerator_filter.cc", |
| 9 "core/accelerator_filter.h", |
| 10 "core/base_focus_rules.h", |
| 11 "core/base_focus_rules.cc", |
| 12 "core/base_focus_rules.h", |
| 13 "core/capture_controller.cc", |
| 14 "core/capture_controller.h", |
| 15 "core/compound_event_filter.cc", |
| 16 "core/compound_event_filter.h", |
| 17 "core/cursor_manager.cc", |
| 18 "core/cursor_manager.h", |
| 19 "core/default_activation_client.cc", |
| 20 "core/default_activation_client.h", |
| 21 "core/easy_resize_window_targeter.cc", |
| 22 "core/easy_resize_window_targeter.h", |
| 23 "core/focus_controller.cc", |
| 24 "core/focus_controller.h", |
| 25 "core/focus_rules.h", |
| 26 "core/image_grid.cc", |
| 27 "core/image_grid.h", |
| 28 "core/input_method_event_filter.cc", |
| 29 "core/input_method_event_filter.h", |
| 30 "core/masked_window_targeter.cc", |
| 31 "core/masked_window_targeter.h", |
| 32 "core/native_cursor_manager.h", |
| 33 "core/native_cursor_manager_delegate.h", |
| 34 "core/nested_accelerator_dispatcher_linux.cc", |
| 35 "core/nested_accelerator_dispatcher_win.cc", |
| 36 "core/nested_accelerator_dispatcher.cc", |
| 37 "core/nested_accelerator_dispatcher.h", |
| 38 "core/nested_accelerator_delegate.h", |
| 39 "core/nested_accelerator_controller.cc", |
| 40 "core/nested_accelerator_controller.h", |
| 41 "core/shadow.cc", |
| 42 "core/shadow.h", |
| 43 "core/shadow_controller.cc", |
| 44 "core/shadow_controller.h", |
| 45 "core/shadow_types.cc", |
| 46 "core/shadow_types.h", |
| 47 "core/transient_window_controller.cc", |
| 48 "core/transient_window_controller.h", |
| 49 "core/transient_window_manager.cc", |
| 50 "core/transient_window_manager.h", |
| 51 "core/transient_window_observer.h", |
| 52 "core/transient_window_stacking_client.cc", |
| 53 "core/transient_window_stacking_client.h", |
| 54 "core/user_activity_detector.cc", |
| 55 "core/user_activity_detector.h", |
| 56 "core/user_activity_observer.h", |
| 57 "core/visibility_controller.cc", |
| 58 "core/visibility_controller.h", |
| 59 "core/window_animations.cc", |
| 60 "core/window_animations.h", |
| 61 "core/window_modality_controller.cc", |
| 62 "core/window_modality_controller.h", |
| 63 "core/window_util.cc", |
| 64 "core/window_util.h", |
| 65 "core/wm_core_switches.cc", |
| 66 "core/wm_core_switches.h", |
| 67 "core/wm_state.cc", |
| 68 "core/wm_state.h", |
| 69 "public/window_types.h", |
| 70 "wm_export.h", |
| 71 ] |
| 72 |
| 73 defines = [ "WM_IMPLEMENTATION" ] |
| 74 |
| 75 deps = [ |
| 76 "//base", |
| 77 "//skia", |
| 78 "//ui/aura", |
| 79 "//ui/base", |
| 80 "//ui/compositor", |
| 81 "//ui/events", |
| 82 "//ui/events:events_base", |
| 83 "//ui/gfx", |
| 84 "//ui/gfx/geometry", |
| 85 "//ui/resources", |
| 86 ] |
| 87 } |
| 88 |
| 89 static_library("test_support") { |
| 90 sources = [ |
| 91 "test/wm_test_helper.cc", |
| 92 "test/wm_test_helper.h", |
| 93 ] |
| 94 |
| 95 deps = [ |
| 96 "//skia", |
| 97 "//ui/aura", |
| 98 "//ui/base", |
| 99 "//ui/events", |
| 100 "//ui/events:events_base", |
| 101 ] |
| 102 } |
| 103 |
| 104 # TODO(GYP) enable the wm_unittests target when all dependencies have been |
| 105 # resolved. Some transitive deps aren't converted yet. |
| 106 if (false) { |
| 107 |
| 108 test("wm_unittests") { |
| 109 sources = [ |
| 110 "test/run_all_unittests.cc", |
| 111 "core/compound_event_filter_unittest.cc", |
| 112 "core/cursor_manager_unittest.cc", |
| 113 "core/focus_controller_unittest.cc", |
| 114 "core/input_method_event_filter_unittest.cc", |
| 115 "core/image_grid_unittest.cc", |
| 116 "core/nested_accelerator_controller_unittest.cc", |
| 117 "core/shadow_controller_unittest.cc", |
| 118 "core/transient_window_manager_unittest.cc", |
| 119 "core/transient_window_stacking_client_unittest.cc", |
| 120 "core/user_activity_detector_unittest.cc", |
| 121 "core/visibility_controller_unittest.cc", |
| 122 "core/window_animations_unittest.cc", |
| 123 ] |
| 124 |
| 125 deps = [ |
| 126 ":test_support", |
| 127 ":wm", |
| 128 "//base", |
| 129 "//base/test:test_support", |
| 130 "//skia", |
| 131 "//testing/gtest", |
| 132 "//ui/aura", |
| 133 "//ui/aura:test_support", |
| 134 "//ui/base", |
| 135 "//ui/compositor", |
| 136 "//ui/events", |
| 137 "//ui/events:events_base", |
| 138 "//ui/gfx", |
| 139 "//ui/gfx/geometry", |
| 140 ] |
| 141 } |
| 142 |
| 143 } |
OLD | NEW |