| 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("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 assert(use_ozone) | 9 assert(use_ozone) |
| 10 | 10 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 "//base", | 97 "//base", |
| 98 "//ipc", | 98 "//ipc", |
| 99 "//skia", | 99 "//skia", |
| 100 "//ui/display/types", | 100 "//ui/display/types", |
| 101 "//ui/display/util", | 101 "//ui/display/util", |
| 102 "//ui/events", | 102 "//ui/events", |
| 103 "//ui/events:dom_keycode_converter", | 103 "//ui/events:dom_keycode_converter", |
| 104 "//ui/gfx", | 104 "//ui/gfx", |
| 105 "//ui/gfx/geometry", | 105 "//ui/gfx/geometry", |
| 106 "//ui/gfx/ipc", | 106 "//ui/gfx/ipc", |
| 107 "//ui/gfx/ipc/geometry", |
| 107 "//ui/gfx/ipc/skia", | 108 "//ui/gfx/ipc/skia", |
| 108 ] | 109 ] |
| 109 | 110 |
| 110 visibility += [ | 111 visibility += [ |
| 111 # Everyone should depend on //ui/ozone instead except a handful of | 112 # Everyone should depend on //ui/ozone instead except a handful of |
| 112 # things that would otherwise create a cycle. | 113 # things that would otherwise create a cycle. |
| 113 "//ui/base", | 114 "//ui/base", |
| 114 "//ui/events/ozone/*", | 115 "//ui/events/ozone/*", |
| 115 "//ui/ozone/platform/*", | 116 "//ui/ozone/platform/*", |
| 116 "//ui/ozone/common/*", | 117 "//ui/ozone/common/*", |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 "//ui/gfx/geometry", | 234 "//ui/gfx/geometry", |
| 234 ] | 235 ] |
| 235 | 236 |
| 236 # Add tests of platform internals. | 237 # Add tests of platform internals. |
| 237 deps += ozone_platform_test_deps | 238 deps += ozone_platform_test_deps |
| 238 | 239 |
| 239 # Platform tests link ozone statically. Make sure we're not getting a | 240 # Platform tests link ozone statically. Make sure we're not getting a |
| 240 # 2nd copy of any code via the component. | 241 # 2nd copy of any code via the component. |
| 241 assert_no_deps = [ "//ui/ozone" ] | 242 assert_no_deps = [ "//ui/ozone" ] |
| 242 } | 243 } |
| OLD | NEW |