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 source_set("example_wm_lib") { | 17 source_set("example_wm_lib") { |
18 sources = [ | 18 sources = [ |
19 "background_layout.cc", | 19 "background_layout.cc", |
20 "background_layout.h", | 20 "background_layout.h", |
21 "layout_manager.cc", | 21 "layout_manager.cc", |
22 "layout_manager.h", | 22 "layout_manager.h", |
23 "move_loop.cc", | 23 "move_loop.cc", |
24 "move_loop.h", | 24 "move_loop.h", |
| 25 "non_client_frame_controller.cc", |
| 26 "non_client_frame_controller.h", |
| 27 "non_client_frame_view_impl.cc", |
| 28 "non_client_frame_view_impl.h", |
25 "property_util.cc", | 29 "property_util.cc", |
26 "property_util.h", | 30 "property_util.h", |
27 "shelf_layout.cc", | 31 "shelf_layout.cc", |
28 "shelf_layout.h", | 32 "shelf_layout.h", |
29 "window_layout.cc", | 33 "window_layout.cc", |
30 "window_layout.h", | 34 "window_layout.h", |
31 "window_manager_application.cc", | 35 "window_manager_application.cc", |
32 "window_manager_application.h", | 36 "window_manager_application.h", |
33 "window_manager_impl.cc", | 37 "window_manager_impl.cc", |
34 "window_manager_impl.h", | 38 "window_manager_impl.h", |
35 ] | 39 ] |
36 | 40 |
37 deps = [ | 41 deps = [ |
38 "//base", | 42 "//base", |
39 "//components/mus/example/wm/public/interfaces", | 43 "//components/mus/example/wm/public/interfaces", |
40 "//components/mus/public/cpp", | 44 "//components/mus/public/cpp", |
41 "//components/mus/public/interfaces", | 45 "//components/mus/public/interfaces", |
42 "//mojo/application/public/cpp", | 46 "//mojo/application/public/cpp", |
43 "//mojo/common:common_base", | 47 "//mojo/common:common_base", |
44 "//mojo/converters/geometry", | 48 "//mojo/converters/geometry", |
| 49 "//skia", |
| 50 "//ui/mojo/init", |
| 51 "//ui/views", |
| 52 "//ui/views/mus", |
45 ] | 53 ] |
46 } | 54 } |
47 | 55 |
48 mojo_native_application("example_wm") { | 56 mojo_native_application("example_wm") { |
49 sources = [ | 57 sources = [ |
50 "main.cc", | 58 "main.cc", |
51 ] | 59 ] |
52 | 60 |
53 deps = [ | 61 deps = [ |
54 ":example_wm_lib", | 62 ":example_wm_lib", |
55 "//mojo/application/public/cpp", | 63 "//mojo/application/public/cpp", |
| 64 "//ui/views/mus:resources", |
56 ] | 65 ] |
57 | 66 |
58 data_deps = [ | 67 data_deps = [ |
59 "//components/mus", | 68 "//components/mus", |
60 ] | 69 ] |
| 70 |
| 71 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
61 } | 72 } |
62 | 73 |
63 mojo_native_application("apptests") { | 74 mojo_native_application("apptests") { |
64 output_name = "mus_example_wm_apptests" | 75 output_name = "mus_example_wm_apptests" |
65 testonly = true | 76 testonly = true |
66 | 77 |
67 sources = [ | 78 sources = [ |
68 "window_manager_apptest.cc", | 79 "window_manager_apptest.cc", |
69 ] | 80 ] |
70 | 81 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 "//testing/gtest", | 118 "//testing/gtest", |
108 "//third_party/mojo/src/mojo/edk/system", | 119 "//third_party/mojo/src/mojo/edk/system", |
109 "//third_party/mojo/src/mojo/public/cpp/system", | 120 "//third_party/mojo/src/mojo/public/cpp/system", |
110 "//ui/events", | 121 "//ui/events", |
111 "//ui/gfx/geometry", | 122 "//ui/gfx/geometry", |
112 "//ui/gfx:test_support", | 123 "//ui/gfx:test_support", |
113 "//ui/mojo/geometry:interfaces", | 124 "//ui/mojo/geometry:interfaces", |
114 "//ui/mojo/geometry:util", | 125 "//ui/mojo/geometry:util", |
115 ] | 126 ] |
116 } | 127 } |
OLD | NEW |