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("//ui/ozone/ozone.gni") | 6 import("//ui/ozone/ozone.gni") |
7 import("//ui/ozone/ozone_extra.gni") | 7 import("//ui/ozone/ozone_extra.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 assert(use_ozone) | 10 assert(use_ozone) |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 "--include=\"ui/ozone/public/client_native_pixmap_factory.h\"", | 207 "--include=\"ui/ozone/public/client_native_pixmap_factory.h\"", |
208 ] | 208 ] |
209 | 209 |
210 deps = [ | 210 deps = [ |
211 ":generate_ozone_platform_list", | 211 ":generate_ozone_platform_list", |
212 ] | 212 ] |
213 } | 213 } |
214 | 214 |
215 test("ozone_unittests") { | 215 test("ozone_unittests") { |
216 sources = [ | 216 sources = [ |
| 217 "//ui/ozone/common/mojo/display_mode_params_struct_traits_unittest.cc", |
217 "run_all_unittests.cc", | 218 "run_all_unittests.cc", |
218 ] | 219 ] |
219 | 220 |
220 deps = [ | 221 deps = [ |
| 222 "//base", |
221 "//base/test:test_support", | 223 "//base/test:test_support", |
| 224 "//mojo/edk/system", |
| 225 "//mojo/edk/test:test_support", |
222 "//testing/gtest", | 226 "//testing/gtest", |
223 "//ui/gfx/geometry", | 227 "//ui/gfx/geometry", |
| 228 "//ui/ozone/common/mojo:test_ui_ozone_common_mojom_display_mode_params", |
| 229 "//ui/ozone/common/mojo:ui_ozone_common_mojom_display_mode_params", |
224 ] | 230 ] |
225 | 231 |
226 # Add tests of platform internals. | 232 # Add tests of platform internals. |
227 deps += ozone_platform_test_deps | 233 deps += ozone_platform_test_deps |
228 | 234 |
229 # Platform tests link ozone statically. Make sure we're not getting a | 235 # Platform tests link ozone statically. Make sure we're not getting a |
230 # 2nd copy of any code via the component. | 236 # 2nd copy of any code via the component. |
231 assert_no_deps = [ "//ui/ozone" ] | 237 assert_no_deps = [ "//ui/ozone" ] |
232 } | 238 } |
OLD | NEW |