OLD | NEW |
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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
8 import("//mojo/public/mojo_application_manifest.gni") | 8 import("//mojo/public/mojo_application_manifest.gni") |
9 | 9 |
10 source_set("lib") { | 10 source_set("lib") { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 deps = [ | 92 deps = [ |
93 "//base", | 93 "//base", |
94 "//cc", | 94 "//cc", |
95 "//cc/surfaces", | 95 "//cc/surfaces", |
96 "//cc/surfaces:surface_id", | 96 "//cc/surfaces:surface_id", |
97 "//components/mus/common:mus_common", | 97 "//components/mus/common:mus_common", |
98 "//components/mus/gles2", | 98 "//components/mus/gles2", |
99 "//components/mus/public/interfaces", | 99 "//components/mus/public/interfaces", |
100 "//components/mus/surfaces", | 100 "//components/mus/surfaces", |
101 "//mojo/common:common_base", | 101 "//mojo/common:common_base", |
102 "//mojo/converters/geometry", | |
103 "//mojo/converters/ime", | 102 "//mojo/converters/ime", |
104 "//mojo/converters/input_events", | 103 "//mojo/converters/input_events", |
105 "//mojo/converters/surfaces", | 104 "//mojo/converters/surfaces", |
106 "//mojo/public/cpp/bindings:callback", | 105 "//mojo/public/cpp/bindings:callback", |
107 "//services/shell/public/cpp", | 106 "//services/shell/public/cpp", |
108 "//services/shell/public/interfaces", | 107 "//services/shell/public/interfaces", |
109 "//services/tracing/public/cpp", | 108 "//services/tracing/public/cpp", |
110 "//ui/base", | 109 "//ui/base", |
111 "//ui/display", | 110 "//ui/display", |
112 "//ui/events", | 111 "//ui/events", |
113 "//ui/events/platform", | 112 "//ui/events/platform", |
114 "//ui/gfx", | 113 "//ui/gfx", |
115 "//ui/gfx/geometry", | 114 "//ui/gfx/geometry", |
| 115 "//ui/gfx/geometry/mojo", |
| 116 "//ui/gfx/geometry/mojo:interfaces", |
116 "//ui/gl", | 117 "//ui/gl", |
117 "//ui/mojo/geometry:interfaces", | |
118 "//ui/platform_window", | 118 "//ui/platform_window", |
119 "//ui/platform_window:platform_impls", | 119 "//ui/platform_window:platform_impls", |
120 ] | 120 ] |
121 | 121 |
122 if (use_ozone) { | 122 if (use_ozone) { |
123 sources -= [ | 123 sources -= [ |
124 "platform_screen_impl.cc", | 124 "platform_screen_impl.cc", |
125 "platform_screen_impl.h", | 125 "platform_screen_impl.h", |
126 ] | 126 ] |
127 sources += [ | 127 sources += [ |
(...skipping 26 matching lines...) Expand all Loading... |
154 "test_change_tracker.h", | 154 "test_change_tracker.h", |
155 ] | 155 ] |
156 | 156 |
157 deps = [ | 157 deps = [ |
158 "//base", | 158 "//base", |
159 "//components/mus/common:mus_common", | 159 "//components/mus/common:mus_common", |
160 "//components/mus/public/cpp", | 160 "//components/mus/public/cpp", |
161 "//components/mus/public/interfaces", | 161 "//components/mus/public/interfaces", |
162 "//mojo/common", | 162 "//mojo/common", |
163 "//mojo/public/cpp/bindings:bindings", | 163 "//mojo/public/cpp/bindings:bindings", |
164 "//ui/mojo/geometry:interfaces", | 164 "//ui/gfx/geometry/mojo:interfaces", |
165 ] | 165 ] |
166 } | 166 } |
167 | 167 |
168 group("tests") { | 168 group("tests") { |
169 testonly = true | 169 testonly = true |
170 deps = [ | 170 deps = [ |
171 ":mus_ws_unittests", | 171 ":mus_ws_unittests", |
172 ] | 172 ] |
173 if (!is_android) { | 173 if (!is_android) { |
174 deps += [ "//components/mus/public/cpp/tests:mus_public_unittests" ] | 174 deps += [ "//components/mus/public/cpp/tests:mus_public_unittests" ] |
(...skipping 29 matching lines...) Expand all Loading... |
204 ":test_support", | 204 ":test_support", |
205 "//base", | 205 "//base", |
206 "//base/test:test_config", | 206 "//base/test:test_config", |
207 "//base/test:test_support", | 207 "//base/test:test_support", |
208 "//cc:cc", | 208 "//cc:cc", |
209 "//components/mus/common:mus_common", | 209 "//components/mus/common:mus_common", |
210 "//components/mus/public/cpp", | 210 "//components/mus/public/cpp", |
211 "//components/mus/public/cpp/tests:test_support", | 211 "//components/mus/public/cpp/tests:test_support", |
212 "//components/mus/public/interfaces", | 212 "//components/mus/public/interfaces", |
213 "//components/mus/surfaces", | 213 "//components/mus/surfaces", |
214 "//mojo/converters/geometry", | |
215 "//mojo/converters/input_events", | 214 "//mojo/converters/input_events", |
216 "//mojo/converters/transform", | 215 "//mojo/converters/transform", |
217 "//mojo/public/cpp/bindings:bindings", | 216 "//mojo/public/cpp/bindings:bindings", |
218 "//services/shell/public/cpp:shell_test_support", | 217 "//services/shell/public/cpp:shell_test_support", |
219 "//services/shell/public/cpp:sources", | 218 "//services/shell/public/cpp:sources", |
220 "//services/shell/public/cpp/test:run_all_shelltests", | 219 "//services/shell/public/cpp/test:run_all_shelltests", |
221 "//services/shell/public/interfaces", | 220 "//services/shell/public/interfaces", |
222 "//testing/gtest", | 221 "//testing/gtest", |
223 "//third_party/mesa:osmesa", | 222 "//third_party/mesa:osmesa", |
224 "//ui/events", | 223 "//ui/events", |
225 "//ui/gfx", | 224 "//ui/gfx", |
226 "//ui/gfx:test_support", | 225 "//ui/gfx:test_support", |
227 "//ui/gfx/geometry", | 226 "//ui/gfx/geometry", |
| 227 "//ui/gfx/geometry/mojo", |
| 228 "//ui/gfx/geometry/mojo:interfaces", |
| 229 "//ui/gfx/geometry/mojo:util", |
228 "//ui/gl", | 230 "//ui/gl", |
229 "//ui/mojo/geometry:interfaces", | |
230 "//ui/mojo/geometry:util", | |
231 ] | 231 ] |
232 | 232 |
233 if (use_x11) { | 233 if (use_x11) { |
234 deps += [ "//tools/xdisplaycheck" ] | 234 deps += [ "//tools/xdisplaycheck" ] |
235 } | 235 } |
236 | 236 |
237 data_deps = [ | 237 data_deps = [ |
238 ":mus_ws_unittests_app_manifest", | 238 ":mus_ws_unittests_app_manifest", |
239 ] | 239 ] |
240 } | 240 } |
241 | 241 |
242 mojo_application_manifest("mus_ws_unittests_app_manifest") { | 242 mojo_application_manifest("mus_ws_unittests_app_manifest") { |
243 application_name = "mus_ws_unittests_app" | 243 application_name = "mus_ws_unittests_app" |
244 source = "mus_ws_unittests_app_manifest.json" | 244 source = "mus_ws_unittests_app_manifest.json" |
245 } | 245 } |
OLD | NEW |