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("//mojo/public/mojo_application_manifest.gni") | 7 import("//mojo/public/mojo_application_manifest.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 mojo_native_application("apptests") { | 141 mojo_native_application("apptests") { |
142 output_name = "mash_wm_apptests" | 142 output_name = "mash_wm_apptests" |
143 testonly = true | 143 testonly = true |
144 | 144 |
145 sources = [ | 145 sources = [ |
146 "accelerator_registrar_apptest.cc", | 146 "accelerator_registrar_apptest.cc", |
147 "window_manager_apptest.cc", | 147 "window_manager_apptest.cc", |
148 ] | 148 ] |
149 | 149 |
150 deps = [ | 150 deps = [ |
| 151 ":apptest_manifest", |
151 "//base", | 152 "//base", |
152 "//base/test:test_config", | 153 "//base/test:test_config", |
153 "//components/mus/public/cpp", | 154 "//components/mus/public/cpp", |
154 "//components/mus/public/cpp/tests:test_support", | 155 "//components/mus/public/cpp/tests:test_support", |
155 "//components/mus/public/interfaces", | 156 "//components/mus/public/interfaces", |
156 "//mojo/common:common_base", | 157 "//mojo/common:common_base", |
157 "//mojo/converters/geometry", | 158 "//mojo/converters/geometry", |
158 "//mojo/shell/public/cpp:sources", | 159 "//mojo/shell/public/cpp:sources", |
159 "//mojo/shell/public/cpp:test_support", | 160 "//mojo/shell/public/cpp:test_support", |
160 "//ui/mojo/geometry:interfaces", | 161 "//ui/mojo/geometry:interfaces", |
161 "//ui/mojo/geometry:util", | 162 "//ui/mojo/geometry:util", |
162 ] | 163 ] |
163 | 164 |
164 data_deps = [ | 165 data_deps = [ |
165 ":wm", | 166 ":wm", |
166 ] | 167 ] |
167 | 168 |
168 if (use_x11) { | 169 if (use_x11) { |
169 deps += [ "//tools/xdisplaycheck" ] | 170 deps += [ "//tools/xdisplaycheck" ] |
170 } | 171 } |
171 } | 172 } |
172 | 173 |
| 174 mojo_application_manifest("apptest_manifest") { |
| 175 application_name = "mash_wm_apptests" |
| 176 source = "apptest_manifest.json" |
| 177 } |
| 178 |
173 source_set("unittests") { | 179 source_set("unittests") { |
174 testonly = true | 180 testonly = true |
175 | 181 |
176 sources = [ | 182 sources = [ |
177 "frame/move_loop_unittest.cc", | 183 "frame/move_loop_unittest.cc", |
178 "layout_manager_unittest.cc", | 184 "layout_manager_unittest.cc", |
179 ] | 185 ] |
180 | 186 |
181 deps = [ | 187 deps = [ |
182 ":lib", | 188 ":lib", |
183 "//base", | 189 "//base", |
184 "//base/test:test_config", | 190 "//base/test:test_config", |
185 "//components/mus/public/cpp", | 191 "//components/mus/public/cpp", |
186 "//components/mus/public/cpp/tests:unittest_support", | 192 "//components/mus/public/cpp/tests:unittest_support", |
187 "//mojo/converters/geometry", | 193 "//mojo/converters/geometry", |
188 "//mojo/converters/input_events", | 194 "//mojo/converters/input_events", |
189 "//mojo/edk/system", | 195 "//mojo/edk/system", |
190 "//mojo/gles2", | 196 "//mojo/gles2", |
191 "//mojo/platform_handle", | 197 "//mojo/platform_handle", |
192 "//mojo/public/cpp/system", | 198 "//mojo/public/cpp/system", |
193 "//testing/gtest", | 199 "//testing/gtest", |
194 "//ui/base", | 200 "//ui/base", |
195 "//ui/events", | 201 "//ui/events", |
196 "//ui/gfx:test_support", | 202 "//ui/gfx:test_support", |
197 "//ui/gfx/geometry", | 203 "//ui/gfx/geometry", |
198 "//ui/mojo/geometry:interfaces", | 204 "//ui/mojo/geometry:interfaces", |
199 "//ui/mojo/geometry:util", | 205 "//ui/mojo/geometry:util", |
200 ] | 206 ] |
201 } | 207 } |
OLD | NEW |