OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 component("wm") { | 5 component("wm") { |
6 sources = [ | 6 sources = [ |
7 "core/accelerator_delegate.h", | 7 "core/accelerator_delegate.h", |
8 "core/accelerator_filter.cc", | 8 "core/accelerator_filter.cc", |
9 "core/accelerator_filter.h", | 9 "core/accelerator_filter.h", |
10 "core/base_focus_rules.cc", | 10 "core/base_focus_rules.cc", |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 ] | 89 ] |
90 } | 90 } |
91 | 91 |
92 static_library("test_support") { | 92 static_library("test_support") { |
93 sources = [ | 93 sources = [ |
94 "test/wm_test_helper.cc", | 94 "test/wm_test_helper.cc", |
95 "test/wm_test_helper.h", | 95 "test/wm_test_helper.h", |
96 ] | 96 ] |
97 | 97 |
98 deps = [ | 98 deps = [ |
| 99 ":wm", |
99 "//skia", | 100 "//skia", |
100 "//ui/aura", | 101 "//ui/aura", |
| 102 "//ui/aura:test_support", |
101 "//ui/base", | 103 "//ui/base", |
102 "//ui/events", | 104 "//ui/events", |
103 "//ui/events:events_base", | 105 "//ui/events:events_base", |
104 ] | 106 ] |
105 } | 107 } |
106 | 108 |
107 # TODO(GYP) enable the wm_unittests target when all dependencies have been | |
108 # resolved. Some transitive deps aren't converted yet. | |
109 if (false) { | |
110 | |
111 test("wm_unittests") { | 109 test("wm_unittests") { |
112 sources = [ | 110 sources = [ |
113 "test/run_all_unittests.cc", | 111 "test/run_all_unittests.cc", |
114 "core/compound_event_filter_unittest.cc", | 112 "core/compound_event_filter_unittest.cc", |
115 "core/cursor_manager_unittest.cc", | 113 "core/cursor_manager_unittest.cc", |
116 "core/focus_controller_unittest.cc", | 114 "core/focus_controller_unittest.cc", |
117 "core/input_method_event_filter_unittest.cc", | 115 "core/input_method_event_filter_unittest.cc", |
118 "core/image_grid_unittest.cc", | 116 "core/image_grid_unittest.cc", |
119 "core/nested_accelerator_controller_unittest.cc", | 117 "core/nested_accelerator_controller_unittest.cc", |
120 "core/shadow_controller_unittest.cc", | 118 "core/shadow_controller_unittest.cc", |
(...skipping 13 matching lines...) Expand all Loading... |
134 "//testing/gtest", | 132 "//testing/gtest", |
135 "//ui/aura", | 133 "//ui/aura", |
136 "//ui/aura:test_support", | 134 "//ui/aura:test_support", |
137 "//ui/base", | 135 "//ui/base", |
138 "//ui/compositor", | 136 "//ui/compositor", |
139 "//ui/events", | 137 "//ui/events", |
140 "//ui/events:events_base", | 138 "//ui/events:events_base", |
141 "//ui/events/platform", | 139 "//ui/events/platform", |
142 "//ui/gfx", | 140 "//ui/gfx", |
143 "//ui/gfx/geometry", | 141 "//ui/gfx/geometry", |
| 142 "//ui/gl", |
144 ] | 143 ] |
145 } | 144 } |
146 | |
147 } | |
OLD | NEW |