OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 group("wm") { | 9 group("wm") { |
10 testonly = true | 10 testonly = true |
11 deps = [ | 11 deps = [ |
12 ":example_wm", | 12 ":example_wm", |
13 ":apptests", | 13 ":apptests", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 mojo_native_application("example_wm") { | 17 mojo_native_application("example_wm") { |
18 sources = [ | 18 sources = [ |
19 "container.h", | 19 "container.h", |
20 "main.cc", | 20 "main.cc", |
| 21 "move_loop.cc", |
| 22 "move_loop.h", |
21 "window_layout.cc", | 23 "window_layout.cc", |
22 "window_layout.h", | 24 "window_layout.h", |
23 "window_manager_application.cc", | 25 "window_manager_application.cc", |
24 "window_manager_application.h", | 26 "window_manager_application.h", |
25 "window_manager_impl.cc", | 27 "window_manager_impl.cc", |
26 "window_manager_impl.h", | 28 "window_manager_impl.h", |
27 ] | 29 ] |
28 | 30 |
29 deps = [ | 31 deps = [ |
30 "//base", | 32 "//base", |
31 "//components/mus/public/cpp", | 33 "//components/mus/public/cpp", |
32 "//components/mus/public/interfaces", | 34 "//components/mus/public/interfaces", |
33 "//mojo/application/public/cpp", | 35 "//mojo/application/public/cpp", |
34 "//mojo/common:common_base", | 36 "//mojo/common:common_base", |
| 37 "//mojo/converters/geometry", |
| 38 "//ui/mojo/events:interfaces", |
35 ] | 39 ] |
36 | 40 |
37 data_deps = [ | 41 data_deps = [ |
38 "//components/mus", | 42 "//components/mus", |
39 ] | 43 ] |
40 } | 44 } |
41 | 45 |
42 mojo_native_application("apptests") { | 46 mojo_native_application("apptests") { |
43 output_name = "mus_example_wm_apptests" | 47 output_name = "mus_example_wm_apptests" |
44 testonly = true | 48 testonly = true |
(...skipping 12 matching lines...) Expand all Loading... |
57 "//mojo/application/public/cpp:test_support", | 61 "//mojo/application/public/cpp:test_support", |
58 "//mojo/common:common_base", | 62 "//mojo/common:common_base", |
59 "//ui/mojo/geometry:interfaces", | 63 "//ui/mojo/geometry:interfaces", |
60 "//ui/mojo/geometry:util", | 64 "//ui/mojo/geometry:util", |
61 ] | 65 ] |
62 | 66 |
63 data_deps = [ | 67 data_deps = [ |
64 ":example_wm", | 68 ":example_wm", |
65 ] | 69 ] |
66 } | 70 } |
OLD | NEW |