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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("wm") { | 8 component("wm") { |
9 sources = [ | 9 sources = [ |
10 "core/accelerator_delegate.h", | 10 "core/accelerator_delegate.h", |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 "//skia", | 108 "//skia", |
109 "//ui/aura", | 109 "//ui/aura", |
110 "//ui/aura:test_support", | 110 "//ui/aura:test_support", |
111 "//ui/base", | 111 "//ui/base", |
112 "//ui/base/ime", | 112 "//ui/base/ime", |
113 "//ui/events", | 113 "//ui/events", |
114 "//ui/events:events_base", | 114 "//ui/events:events_base", |
115 ] | 115 ] |
116 } | 116 } |
117 | 117 |
118 if (!is_win || link_chrome_on_windows) { | 118 test("wm_unittests") { |
119 test("wm_unittests") { | 119 sources = [ |
120 sources = [ | 120 "core/capture_controller_unittest.cc", |
121 "core/capture_controller_unittest.cc", | 121 "core/compound_event_filter_unittest.cc", |
122 "core/compound_event_filter_unittest.cc", | 122 "core/cursor_manager_unittest.cc", |
123 "core/cursor_manager_unittest.cc", | 123 "core/focus_controller_unittest.cc", |
124 "core/focus_controller_unittest.cc", | 124 "core/image_grid_unittest.cc", |
125 "core/image_grid_unittest.cc", | 125 "core/input_method_event_filter_unittest.cc", |
126 "core/input_method_event_filter_unittest.cc", | 126 "core/nested_accelerator_controller_unittest.cc", |
127 "core/nested_accelerator_controller_unittest.cc", | 127 "core/shadow_controller_unittest.cc", |
128 "core/shadow_controller_unittest.cc", | 128 "core/transient_window_manager_unittest.cc", |
129 "core/transient_window_manager_unittest.cc", | 129 "core/transient_window_stacking_client_unittest.cc", |
130 "core/transient_window_stacking_client_unittest.cc", | 130 "core/visibility_controller_unittest.cc", |
131 "core/visibility_controller_unittest.cc", | 131 "core/window_animations_unittest.cc", |
132 "core/window_animations_unittest.cc", | 132 "test/run_all_unittests.cc", |
133 "test/run_all_unittests.cc", | 133 ] |
134 ] | |
135 | 134 |
136 deps = [ | 135 deps = [ |
137 ":test_support", | 136 ":test_support", |
138 ":wm", | 137 ":wm", |
139 "//base", | 138 "//base", |
140 "//base/test:test_support", | 139 "//base/test:test_support", |
141 "//skia", | 140 "//skia", |
142 "//testing/gtest", | 141 "//testing/gtest", |
143 "//ui/aura:test_support", | 142 "//ui/aura:test_support", |
144 "//ui/base:test_support", | 143 "//ui/base:test_support", |
145 "//ui/compositor:test_support", | 144 "//ui/compositor:test_support", |
146 "//ui/events:test_support", | 145 "//ui/events:test_support", |
147 "//ui/events/platform", | 146 "//ui/events/platform", |
148 "//ui/gfx", | 147 "//ui/gfx", |
149 "//ui/gfx/geometry", | 148 "//ui/gfx/geometry", |
150 "//ui/gl", | 149 "//ui/gl", |
151 ] | 150 ] |
152 } | |
153 } | 151 } |
OLD | NEW |