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 17 matching lines...) Expand all Loading... |
28 "core/easy_resize_window_targeter.h", | 28 "core/easy_resize_window_targeter.h", |
29 "core/focus_controller.cc", | 29 "core/focus_controller.cc", |
30 "core/focus_controller.h", | 30 "core/focus_controller.h", |
31 "core/focus_rules.h", | 31 "core/focus_rules.h", |
32 "core/image_grid.cc", | 32 "core/image_grid.cc", |
33 "core/image_grid.h", | 33 "core/image_grid.h", |
34 "core/masked_window_targeter.cc", | 34 "core/masked_window_targeter.cc", |
35 "core/masked_window_targeter.h", | 35 "core/masked_window_targeter.h", |
36 "core/native_cursor_manager.h", | 36 "core/native_cursor_manager.h", |
37 "core/native_cursor_manager_delegate.h", | 37 "core/native_cursor_manager_delegate.h", |
38 "core/nested_accelerator_controller.cc", | |
39 "core/nested_accelerator_controller.h", | |
40 "core/nested_accelerator_delegate.h", | |
41 "core/nested_accelerator_dispatcher.cc", | |
42 "core/nested_accelerator_dispatcher.h", | |
43 "core/nested_accelerator_dispatcher_linux.cc", | |
44 "core/nested_accelerator_dispatcher_win.cc", | |
45 "core/shadow.cc", | 38 "core/shadow.cc", |
46 "core/shadow.h", | 39 "core/shadow.h", |
47 "core/shadow_controller.cc", | 40 "core/shadow_controller.cc", |
48 "core/shadow_controller.h", | 41 "core/shadow_controller.h", |
49 "core/shadow_types.cc", | 42 "core/shadow_types.cc", |
50 "core/shadow_types.h", | 43 "core/shadow_types.h", |
51 "core/transient_window_controller.cc", | 44 "core/transient_window_controller.cc", |
52 "core/transient_window_controller.h", | 45 "core/transient_window_controller.h", |
53 "core/transient_window_manager.cc", | 46 "core/transient_window_manager.cc", |
54 "core/transient_window_manager.h", | 47 "core/transient_window_manager.h", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 "//ui/events/platform", | 79 "//ui/events/platform", |
87 "//ui/events/platform", | 80 "//ui/events/platform", |
88 "//ui/gfx", | 81 "//ui/gfx", |
89 "//ui/gfx/geometry", | 82 "//ui/gfx/geometry", |
90 "//ui/resources", | 83 "//ui/resources", |
91 ] | 84 ] |
92 | 85 |
93 if (use_x11) { | 86 if (use_x11) { |
94 configs += [ "//build/config/linux:x11" ] | 87 configs += [ "//build/config/linux:x11" ] |
95 } | 88 } |
96 | |
97 if (is_android) { | |
98 sources -= [ | |
99 "core/nested_accelerator_controller.cc", | |
100 "core/nested_accelerator_controller.h", | |
101 "core/nested_accelerator_delegate.h", | |
102 "core/nested_accelerator_dispatcher.cc", | |
103 "core/nested_accelerator_dispatcher.h", | |
104 ] | |
105 } | |
106 } | 89 } |
107 | 90 |
108 static_library("test_support") { | 91 static_library("test_support") { |
109 testonly = true | 92 testonly = true |
110 sources = [ | 93 sources = [ |
111 "test/wm_test_helper.cc", | 94 "test/wm_test_helper.cc", |
112 "test/wm_test_helper.h", | 95 "test/wm_test_helper.h", |
113 ] | 96 ] |
114 | 97 |
115 deps = [ | 98 deps = [ |
(...skipping 17 matching lines...) Expand all Loading... |
133 ] | 116 ] |
134 } | 117 } |
135 | 118 |
136 test("wm_unittests") { | 119 test("wm_unittests") { |
137 sources = [ | 120 sources = [ |
138 "core/capture_controller_unittest.cc", | 121 "core/capture_controller_unittest.cc", |
139 "core/compound_event_filter_unittest.cc", | 122 "core/compound_event_filter_unittest.cc", |
140 "core/cursor_manager_unittest.cc", | 123 "core/cursor_manager_unittest.cc", |
141 "core/focus_controller_unittest.cc", | 124 "core/focus_controller_unittest.cc", |
142 "core/image_grid_unittest.cc", | 125 "core/image_grid_unittest.cc", |
143 "core/nested_accelerator_controller_unittest.cc", | |
144 "core/shadow_controller_unittest.cc", | 126 "core/shadow_controller_unittest.cc", |
145 "core/shadow_unittest.cc", | 127 "core/shadow_unittest.cc", |
146 "core/transient_window_manager_unittest.cc", | 128 "core/transient_window_manager_unittest.cc", |
147 "core/transient_window_stacking_client_unittest.cc", | 129 "core/transient_window_stacking_client_unittest.cc", |
148 "core/visibility_controller_unittest.cc", | 130 "core/visibility_controller_unittest.cc", |
149 "core/window_animations_unittest.cc", | 131 "core/window_animations_unittest.cc", |
150 "core/window_util_unittest.cc", | 132 "core/window_util_unittest.cc", |
151 "test/run_all_unittests.cc", | 133 "test/run_all_unittests.cc", |
152 ] | 134 ] |
153 | 135 |
(...skipping 13 matching lines...) Expand all Loading... |
167 "//ui/gfx", | 149 "//ui/gfx", |
168 "//ui/gfx/geometry", | 150 "//ui/gfx/geometry", |
169 "//ui/gl:test_support", | 151 "//ui/gl:test_support", |
170 "//ui/resources", | 152 "//ui/resources", |
171 ] | 153 ] |
172 | 154 |
173 data_deps = [ | 155 data_deps = [ |
174 "//ui/resources:ui_test_pak_data", | 156 "//ui/resources:ui_test_pak_data", |
175 ] | 157 ] |
176 } | 158 } |
OLD | NEW |