Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: ui/views/mus/BUILD.gn

Issue 2611773002: Removes code using mus client lib (Closed)
Patch Set: dont run on linux Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/focus/focus_manager_unittest.cc ('k') | ui/views/mus/clipboard_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//services/service_manager/public/cpp/service.gni") 7 import("//services/service_manager/public/cpp/service.gni")
8 import("//services/service_manager/public/service_manifest.gni") 8 import("//services/service_manager/public/service_manifest.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
11 11
12 component("mus") { 12 component("mus") {
13 output_name = "ui_views_mus_lib" 13 output_name = "ui_views_mus_lib"
14 14
15 sources = [ 15 sources = [
16 "aura_init.cc", 16 "aura_init.cc",
17 "aura_init.h", 17 "aura_init.h",
18 "clipboard_mus.cc", 18 "clipboard_mus.cc",
19 "clipboard_mus.h", 19 "clipboard_mus.h",
20 "desktop_window_tree_host_mus.cc", 20 "desktop_window_tree_host_mus.cc",
21 "desktop_window_tree_host_mus.h", 21 "desktop_window_tree_host_mus.h",
22 "drag_drop_client_mus.cc",
23 "drag_drop_client_mus.h",
24 "drop_target_mus.cc",
25 "drop_target_mus.h",
26 "input_method_mus.cc",
27 "input_method_mus.h",
28 "mus_client.cc", 22 "mus_client.cc",
29 "mus_client.h", 23 "mus_client.h",
30 "mus_client_observer.h", 24 "mus_client_observer.h",
31 "mus_export.h", 25 "mus_export.h",
32 "native_widget_mus.cc",
33 "native_widget_mus.h",
34 "pointer_watcher_event_router.cc",
35 "pointer_watcher_event_router.h",
36 "pointer_watcher_event_router2.cc", 26 "pointer_watcher_event_router2.cc",
37 "pointer_watcher_event_router2.h", 27 "pointer_watcher_event_router2.h",
38 "screen_mus.cc", 28 "screen_mus.cc",
39 "screen_mus.h", 29 "screen_mus.h",
40 "screen_mus_delegate.h", 30 "screen_mus_delegate.h",
41 "surface_context_factory.cc",
42 "surface_context_factory.h",
43 "text_input_client_impl.cc",
44 "text_input_client_impl.h",
45 "window_manager_connection.cc",
46 "window_manager_connection.h",
47 "window_manager_constants_converters.cc", 31 "window_manager_constants_converters.cc",
48 "window_manager_constants_converters.h", 32 "window_manager_constants_converters.h",
49 "window_manager_frame_values.cc", 33 "window_manager_frame_values.cc",
50 "window_manager_frame_values.h", 34 "window_manager_frame_values.h",
51 "window_tree_host_mus.cc",
52 "window_tree_host_mus.h",
53 ] 35 ]
54 36
55 defines = [ "VIEWS_MUS_IMPLEMENTATION" ] 37 defines = [ "VIEWS_MUS_IMPLEMENTATION" ]
56 38
57 public_deps = [ 39 public_deps = [
58 ":resources", 40 ":resources",
59 "//services/ui/public/cpp", 41 "//services/ui/public/cpp",
60 "//ui/aura", 42 "//ui/aura",
61 ] 43 ]
62 deps = [ 44 deps = [
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 group("for_mojo_application") { 104 group("for_mojo_application") {
123 public_deps = [ 105 public_deps = [
124 ":mus", 106 ":mus",
125 ] 107 ]
126 } 108 }
127 109
128 static_library("test_support") { 110 static_library("test_support") {
129 testonly = true 111 testonly = true
130 112
131 sources = [ 113 sources = [
132 "../test/native_widget_factory_mus.cc",
133 "test_utils.h",
134 "views_mus_test_suite.cc",
135 "views_mus_test_suite.h",
136 ]
137
138 deps = [
139 ":mus",
140 "//base",
141 "//base/test:test_support",
142 "//services/service_manager/background:lib",
143 "//services/service_manager/public/cpp:sources",
144 "//services/ui/common:mus_common",
145 "//testing/gtest",
146 "//ui/aura",
147 "//ui/gl:test_support",
148 "//ui/resources",
149 "//ui/resources:ui_test_pak",
150 "//ui/views",
151 "//ui/views:test_support_internal",
152 ]
153
154 data_deps = [
155 "//ui/resources:ui_test_pak_data",
156 ]
157 }
158
159 test("views_mus_unittests") {
160 testonly = true
161
162 sources = [
163 "input_method_mus_unittest.cc",
164 "native_widget_mus_unittest.cc",
165 "pointer_watcher_event_router_unittest.cc",
166 "run_all_unittests_mus.cc",
167 "screen_mus_unittest.cc",
168 "window_manager_connection_unittest.cc",
169 ]
170
171 configs += [ "//build/config:precompiled_headers" ]
172
173 deps = [
174 ":mus",
175 ":test_support",
176 "//base",
177 "//base:i18n",
178 "//base/test:test_support",
179 "//cc",
180 "//net",
181 "//services/service_manager/background:main", # Provides main().
182 "//services/ui/public/cpp",
183 "//services/ui/public/cpp:internal_or_test",
184 "//services/ui/public/cpp/tests:unittest_support",
185 "//services/ui/public/interfaces",
186 "//skia",
187 "//testing/gtest",
188 "//third_party/icu",
189 "//ui/accessibility",
190 "//ui/aura",
191 "//ui/aura:test_support",
192 "//ui/base",
193 "//ui/base:test_support",
194 "//ui/base/ime",
195 "//ui/compositor:test_support",
196 "//ui/events:dom_keycode_converter",
197 "//ui/events:events_base",
198 "//ui/events:test_support",
199 "//ui/events/platform",
200 "//ui/gfx:test_support",
201 "//ui/gfx/geometry",
202 "//ui/native_theme",
203 "//ui/strings",
204 "//ui/touch_selection",
205 "//ui/views",
206 "//ui/views:test_support_internal",
207 "//ui/views:views_unittests_sources",
208 "//ui/wm",
209 "//url",
210 ]
211
212 data_deps = [
213 ":unittests_manifest",
214 "//services/ui/ime/test_ime_driver",
215 "//services/ui/test_wm",
216 ]
217
218 if (is_win) {
219 deps += [
220 "//build/win:default_exe_manifest",
221 "//third_party/iaccessible2",
222 "//third_party/wtl",
223 ]
224 libs = [
225 "imm32.lib",
226 "oleacc.lib",
227 "comctl32.lib",
228 ]
229 }
230
231 if (use_x11) {
232 configs += [
233 "//build/config/linux:x11",
234 "//build/config/linux:xext",
235 ]
236 deps += [
237 "//ui/events/devices",
238 "//ui/events/platform/x11",
239 "//ui/gfx/x",
240 ]
241 }
242 }
243
244 static_library("test_support_aura_mus") {
245 testonly = true
246
247 sources = [
248 "../test/native_widget_factory_aura_mus.cc", 114 "../test/native_widget_factory_aura_mus.cc",
249 "test_utils.h", 115 "test_utils.h",
250 "views_aura_mus_test_suite.cc", 116 "views_aura_mus_test_suite.cc",
251 "views_aura_mus_test_suite.h", 117 "views_aura_mus_test_suite.h",
252 ] 118 ]
253 119
254 deps = [ 120 deps = [
255 ":mus", 121 ":mus",
256 "//base", 122 "//base",
257 "//base/test:test_support", 123 "//base/test:test_support",
258 "//services/service_manager/background:lib", 124 "//services/service_manager/background:lib",
259 "//services/service_manager/public/cpp:sources", 125 "//services/service_manager/public/cpp:sources",
260 "//services/ui/common:mus_common", 126 "//services/ui/common:mus_common",
261 "//testing/gtest", 127 "//testing/gtest",
262 "//ui/aura", 128 "//ui/aura",
263 "//ui/aura:test_support", 129 "//ui/aura:test_support",
264 "//ui/gl:test_support", 130 "//ui/gl:test_support",
265 "//ui/resources", 131 "//ui/resources",
266 "//ui/resources:ui_test_pak", 132 "//ui/resources:ui_test_pak",
267 "//ui/views", 133 "//ui/views",
268 "//ui/views:test_support_internal", 134 "//ui/views:test_support_internal",
269 ] 135 ]
270 136
271 data_deps = [ 137 data_deps = [
272 "//ui/resources:ui_test_pak_data", 138 "//ui/resources:ui_test_pak_data",
273 ] 139 ]
274 } 140 }
275 141
276 test("views_aura_mus_unittests") { 142 test("views_mus_unittests") {
277 testonly = true 143 testonly = true
278 144
279 sources = [ 145 sources = [
280 "desktop_window_tree_host_mus_unittest.cc", 146 "desktop_window_tree_host_mus_unittest.cc",
281 "pointer_watcher_event_router2_unittest.cc", 147 "pointer_watcher_event_router2_unittest.cc",
282 "run_all_unittests_aura_mus.cc", 148 "run_all_unittests_aura_mus.cc",
283 "screen_mus_unittest.cc", 149 "screen_mus_unittest.cc",
284 ] 150 ]
285 151
286 configs += [ "//build/config:precompiled_headers" ] 152 configs += [ "//build/config:precompiled_headers" ]
287 153
288 deps = [ 154 deps = [
289 ":mus", 155 ":mus",
290 ":test_support_aura_mus", 156 ":test_support",
291 "//base", 157 "//base",
292 "//base:i18n", 158 "//base:i18n",
293 "//base/test:test_support", 159 "//base/test:test_support",
294 "//cc", 160 "//cc",
295 "//net", 161 "//net",
296 "//services/service_manager/background:main", # Provides main(). 162 "//services/service_manager/background:main", # Provides main().
297 "//services/ui/public/interfaces", 163 "//services/ui/public/interfaces",
298 "//skia", 164 "//skia",
299 "//testing/gtest", 165 "//testing/gtest",
300 "//third_party/icu", 166 "//third_party/icu",
(...skipping 14 matching lines...) Expand all
315 "//ui/strings", 181 "//ui/strings",
316 "//ui/touch_selection", 182 "//ui/touch_selection",
317 "//ui/views", 183 "//ui/views",
318 "//ui/views:test_support_internal", 184 "//ui/views:test_support_internal",
319 "//ui/views:views_unittests_sources", 185 "//ui/views:views_unittests_sources",
320 "//ui/wm", 186 "//ui/wm",
321 "//url", 187 "//url",
322 ] 188 ]
323 189
324 data_deps = [ 190 data_deps = [
325 ":unittests_aura_manifest", 191 ":unittests_manifest",
326 "//services/ui/ime/test_ime_driver", 192 "//services/ui/ime/test_ime_driver",
327 "//services/ui/test_wm", 193 "//services/ui/test_wm",
328 ] 194 ]
329 195
330 if (is_win) { 196 if (is_win) {
331 deps += [ 197 deps += [
332 "//build/win:default_exe_manifest", 198 "//build/win:default_exe_manifest",
333 "//third_party/iaccessible2", 199 "//third_party/iaccessible2",
334 "//third_party/wtl", 200 "//third_party/wtl",
335 ] 201 ]
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 "comctl32.lib", 266 "comctl32.lib",
401 ] 267 ]
402 } 268 }
403 } 269 }
404 270
405 service_manifest("unittests_manifest") { 271 service_manifest("unittests_manifest") {
406 name = "views_mus_unittests" 272 name = "views_mus_unittests"
407 source = "unittests_manifest.json" 273 source = "unittests_manifest.json"
408 } 274 }
409 275
410 service_manifest("unittests_aura_manifest") {
411 name = "views_aura_mus_unittests"
412 source = "unittests_aura_manifest.json"
413 }
414
415 service_manifest("interactive_ui_tests_manifest") { 276 service_manifest("interactive_ui_tests_manifest") {
416 name = "views_mus_interactive_ui_tests" 277 name = "views_mus_interactive_ui_tests"
417 source = "interactive_ui_tests_manifest.json" 278 source = "interactive_ui_tests_manifest.json"
418 } 279 }
OLDNEW
« no previous file with comments | « ui/views/focus/focus_manager_unittest.cc ('k') | ui/views/mus/clipboard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698