| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 } | 216 } |
| 217 | 217 |
| 218 test("ozone_unittests") { | 218 test("ozone_unittests") { |
| 219 sources = [ | 219 sources = [ |
| 220 "run_all_unittests.cc", | 220 "run_all_unittests.cc", |
| 221 ] | 221 ] |
| 222 | 222 |
| 223 deps = [ | 223 deps = [ |
| 224 "//base/test:test_support", | 224 "//base/test:test_support", |
| 225 "//testing/gtest", | 225 "//testing/gtest", |
| 226 "//ui/gfx:test_support", |
| 226 "//ui/gfx/geometry", | 227 "//ui/gfx/geometry", |
| 227 ] | 228 ] |
| 228 | 229 |
| 229 # Add tests of platform internals. | 230 # Add tests of platform internals. |
| 230 deps += ozone_platform_test_deps | 231 deps += ozone_platform_test_deps |
| 231 | 232 |
| 232 # Platform tests link ozone statically. Make sure we're not getting a | 233 # Platform tests link ozone statically. Make sure we're not getting a |
| 233 # 2nd copy of any code via the component. | 234 # 2nd copy of any code via the component. |
| 234 assert_no_deps = [ "//ui/ozone" ] | 235 assert_no_deps = [ "//ui/ozone" ] |
| 235 } | 236 } |
| OLD | NEW |