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

Side by Side Diff: mash/wm/BUILD.gn

Issue 2029883002: Moves mash/wm into ash/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_static_assert
Patch Set: move comment Created 4 years, 6 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 | « mash/test/mash_test_suite.cc ('k') | mash/wm/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo_application.gni")
7 import("//mojo/public/mojo_application_manifest.gni")
8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//tools/grit/repack.gni")
10
11 source_set("lib") {
12 sources = [
13 "accelerator_registrar_impl.cc",
14 "accelerator_registrar_impl.h",
15 "background_layout.cc",
16 "background_layout.h",
17 "bridge/mus_layout_manager_adapter.cc",
18 "bridge/mus_layout_manager_adapter.h",
19 "bridge/wm_globals_mus.cc",
20 "bridge/wm_globals_mus.h",
21 "bridge/wm_lookup_mus.cc",
22 "bridge/wm_lookup_mus.h",
23 "bridge/wm_root_window_controller_mus.cc",
24 "bridge/wm_root_window_controller_mus.h",
25 "bridge/wm_shelf_mus.cc",
26 "bridge/wm_shelf_mus.h",
27 "bridge/wm_window_mus.cc",
28 "bridge/wm_window_mus.h",
29 "container_ids.cc",
30 "container_ids.h",
31 "disconnected_app_handler.cc",
32 "disconnected_app_handler.h",
33 "drag_window_resizer.cc",
34 "drag_window_resizer.h",
35 "fill_layout.cc",
36 "fill_layout.h",
37 "frame/caption_buttons/caption_button_types.h",
38 "frame/caption_buttons/frame_caption_button.cc",
39 "frame/caption_buttons/frame_caption_button.h",
40 "frame/caption_buttons/frame_caption_button_container_view.cc",
41 "frame/caption_buttons/frame_caption_button_container_view.h",
42 "frame/default_header_painter.cc",
43 "frame/default_header_painter.h",
44 "frame/frame_border_hit_test_controller.cc",
45 "frame/frame_border_hit_test_controller.h",
46 "frame/header_painter.h",
47 "frame/header_painter_util.cc",
48 "frame/header_painter_util.h",
49 "frame/move_event_handler.cc",
50 "frame/move_event_handler.h",
51 "frame/non_client_frame_view_mash.cc",
52 "frame/non_client_frame_view_mash.h",
53 "layout_manager.cc",
54 "layout_manager.h",
55 "non_client_frame_controller.cc",
56 "non_client_frame_controller.h",
57 "property_util.cc",
58 "property_util.h",
59 "root_window_controller.cc",
60 "root_window_controller.h",
61 "root_windows_observer.h",
62 "screenlock_layout.cc",
63 "screenlock_layout.h",
64 "shadow.cc",
65 "shadow.h",
66 "shadow_controller.cc",
67 "shadow_controller.h",
68 "shelf_layout_impl.cc",
69 "shelf_layout_impl.h",
70 "shelf_layout_manager.cc",
71 "shelf_layout_manager.h",
72 "shelf_layout_manager_delegate.h",
73 "status_layout_manager.cc",
74 "status_layout_manager.h",
75 "user_window_controller_impl.cc",
76 "user_window_controller_impl.h",
77 "window_manager.cc",
78 "window_manager.h",
79 "window_manager_application.cc",
80 "window_manager_application.h",
81 ]
82
83 public_deps = [
84 "//ash",
85 "//ash/public/interfaces",
86 "//base",
87 "//components/mus/common:mus_common",
88 "//components/mus/public/cpp",
89 "//components/mus/public/interfaces",
90 "//mash/session/public/interfaces",
91 "//mash/wm/resources",
92 "//mojo/common:common_base",
93 "//services/shell/public/cpp",
94 "//services/tracing/public/cpp",
95 "//skia",
96 "//ui/aura",
97 "//ui/display/mojo",
98 "//ui/events",
99 "//ui/events/mojo",
100 "//ui/gfx",
101 "//ui/gfx/geometry",
102 "//ui/gfx/geometry/mojo",
103 "//ui/resources",
104 "//ui/strings",
105 "//ui/views",
106 "//ui/views/mus:for_mojo_application",
107 ]
108 }
109
110 mojo_native_application("wm") {
111 output_name = "desktop_wm"
112
113 sources = [
114 "main.cc",
115 ]
116
117 deps = [
118 ":lib",
119 ":resources",
120 "//services/shell/public/cpp",
121 ]
122
123 # TODO(beng): This target relies on //mash/session, but there is a cycle so we
124 # can't state that dependency here.
125 data_deps = [
126 ":manifest",
127 "//components/mus",
128 ]
129
130 resources = [ "$root_out_dir/mash_wm_resources.pak" ]
131 }
132
133 mojo_application_manifest("manifest") {
134 application_name = "desktop_wm"
135 source = "manifest.json"
136 }
137
138 repack("resources") {
139 sources = [
140 "$root_gen_dir/mash/wm/resources/mash_wm_resources_100_percent.pak",
141 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
142 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
143 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
144 "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak",
145 ]
146 output = "$root_out_dir/mash_wm_resources.pak"
147 deps = [
148 "//mash/wm/resources",
149 "//ui/resources",
150 "//ui/strings",
151 "//ui/views/mus:resources",
152 "//ui/views/resources",
153 ]
154 }
155
156 source_set("unittests") {
157 testonly = true
158
159 sources = [
160 "accelerator_registrar_unittest.cc",
161 "app_launch_unittest.cc",
162 "layout_manager_unittest.cc",
163 "test/wm_test_base.cc",
164 "test/wm_test_base.h",
165 "test/wm_test_helper.cc",
166 "test/wm_test_helper.h",
167 "test/wm_test_screen.cc",
168 "test/wm_test_screen.h",
169 "window_manager_unittest.cc",
170 "workspace/workspace_layout_manager_unittest.cc",
171 ]
172
173 deps = [
174 ":lib",
175 ":resources",
176 "//ash",
177 "//ash/public/interfaces",
178 "//base",
179 "//base/test:test_config",
180 "//components/mus/common:mus_common",
181 "//components/mus/public/cpp",
182 "//components/mus/public/cpp/tests:test_support",
183 "//components/mus/public/cpp/tests:unittest_support",
184 "//components/mus/public/interfaces",
185 "//mojo/edk/system",
186 "//mojo/public/cpp/system",
187 "//services/shell/public/cpp:shell_test_support",
188 "//skia",
189 "//testing/gtest",
190 "//ui/aura",
191 "//ui/base",
192 "//ui/display",
193 "//ui/events",
194 "//ui/events/mojo",
195 "//ui/gfx:test_support",
196 "//ui/gfx/geometry",
197 "//ui/gfx/geometry/mojo",
198 "//ui/views/mus",
199 ]
200
201 data_deps = [
202 ":wm",
203 "//mash/quick_launch",
204 ]
205 }
OLDNEW
« no previous file with comments | « mash/test/mash_test_suite.cc ('k') | mash/wm/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698