Chromium Code Reviews| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 "//ui/gfx/geometry", | 223 "//ui/gfx/geometry", |
| 224 ] | 224 ] |
| 225 | 225 |
| 226 # Add tests of platform internals. | 226 # Add tests of platform internals. |
| 227 deps += ozone_platform_test_deps | 227 deps += ozone_platform_test_deps |
| 228 | 228 |
| 229 # Platform tests link ozone statically. Make sure we're not getting a | 229 # Platform tests link ozone statically. Make sure we're not getting a |
| 230 # 2nd copy of any code via the component. | 230 # 2nd copy of any code via the component. |
| 231 assert_no_deps = [ "//ui/ozone" ] | 231 assert_no_deps = [ "//ui/ozone" ] |
| 232 } | 232 } |
| 233 | |
| 234 test("ozone_struct_traits_unittests") { | |
|
kylechar
2017/01/17 17:19:26
The test target should probably be in ui/ozone/com
thanhph1
2017/01/17 20:19:05
Done. I moved this test in ui/ozone/common/mojo/BU
| |
| 235 testonly = true | |
| 236 | |
| 237 sources = [ | |
| 238 "//ui/ozone/common/mojo/display_mode_proxy_struct_traits_unittest.cc", | |
| 239 ] | |
| 240 | |
| 241 deps = [ | |
| 242 "//base", | |
| 243 "//base/test:test_support", | |
| 244 "//mojo/edk/test:run_all_unittests", | |
| 245 "//testing/gtest", | |
| 246 "//ui/gfx:test_support", | |
| 247 "//ui/ozone/common:common", | |
| 248 "//ui/ozone/common/mojo:test_ui_ozone_common_mojom_display_mode_proxy", | |
| 249 "//ui/ozone/common/mojo:ui_ozone_common_mojom_display_mode_proxy", | |
| 250 ] | |
| 251 } | |
| OLD | NEW |