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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ] | 110 ] |
111 | 111 |
112 visibility += [ | 112 visibility += [ |
113 # Everyone should depend on //ui/ozone instead except a handful of | 113 # Everyone should depend on //ui/ozone instead except a handful of |
114 # things that would otherwise create a cycle. | 114 # things that would otherwise create a cycle. |
115 "//ui/base", | 115 "//ui/base", |
116 "//ui/events/ozone/*", | 116 "//ui/events/ozone/*", |
| 117 "//ui/ozone/gl", |
117 "//ui/ozone/platform/*", | 118 "//ui/ozone/platform/*", |
118 "//ui/ozone/common/*", | 119 "//ui/ozone/common/*", |
119 ] | 120 ] |
120 } | 121 } |
121 | 122 |
122 source_set("platform") { | 123 source_set("platform") { |
123 sources = [ | 124 sources = [ |
124 "common/stub_client_native_pixmap_factory.cc", | 125 "common/stub_client_native_pixmap_factory.cc", |
125 "common/stub_client_native_pixmap_factory.h", | 126 "common/stub_client_native_pixmap_factory.h", |
126 "platform_selection.cc", | 127 "platform_selection.cc", |
(...skipping 17 matching lines...) Expand all Loading... |
144 public_deps = [ | 145 public_deps = [ |
145 ":ozone_base", | 146 ":ozone_base", |
146 "//base", | 147 "//base", |
147 "//ipc", | 148 "//ipc", |
148 "//skia", | 149 "//skia", |
149 "//ui/display/types", | 150 "//ui/display/types", |
150 "//ui/events", | 151 "//ui/events", |
151 "//ui/events/devices", | 152 "//ui/events/devices", |
152 "//ui/gfx", | 153 "//ui/gfx", |
153 "//ui/gfx/geometry", | 154 "//ui/gfx/geometry", |
| 155 "//ui/ozone/gl", |
154 "//ui/platform_window", | 156 "//ui/platform_window", |
155 ] | 157 ] |
156 | 158 |
157 deps = [ | 159 deps = [ |
158 ":generate_constructor_list", | 160 ":generate_constructor_list", |
159 ":generate_ozone_platform_list", | 161 ":generate_ozone_platform_list", |
160 ] | 162 ] |
161 | 163 |
162 deps += ozone_platform_deps | 164 deps += ozone_platform_deps |
163 | 165 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 "//ui/gfx/geometry", | 235 "//ui/gfx/geometry", |
234 ] | 236 ] |
235 | 237 |
236 # Add tests of platform internals. | 238 # Add tests of platform internals. |
237 deps += ozone_platform_test_deps | 239 deps += ozone_platform_test_deps |
238 | 240 |
239 # Platform tests link ozone statically. Make sure we're not getting a | 241 # Platform tests link ozone statically. Make sure we're not getting a |
240 # 2nd copy of any code via the component. | 242 # 2nd copy of any code via the component. |
241 assert_no_deps = [ "//ui/ozone" ] | 243 assert_no_deps = [ "//ui/ozone" ] |
242 } | 244 } |
OLD | NEW |