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