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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 "//ui/events/devices", | 148 "//ui/events/devices", |
149 "//ui/gfx", | 149 "//ui/gfx", |
150 "//ui/gfx/geometry", | 150 "//ui/gfx/geometry", |
151 "//ui/ozone/gl", | 151 "//ui/ozone/gl", |
152 "//ui/platform_window", | 152 "//ui/platform_window", |
153 ] | 153 ] |
154 | 154 |
155 deps = [ | 155 deps = [ |
156 ":generate_constructor_list", | 156 ":generate_constructor_list", |
157 ":generate_ozone_platform_list", | 157 ":generate_ozone_platform_list", |
| 158 "//ui/ozone/public/interfaces", |
158 ] | 159 ] |
159 | 160 |
160 deps += ozone_platform_deps | 161 deps += ozone_platform_deps |
161 | 162 |
162 # Platforms are always linked into //ui/ozone and can include our headers. | 163 # Platforms are always linked into //ui/ozone and can include our headers. |
163 allow_circular_includes_from = ozone_platform_deps | 164 allow_circular_includes_from = ozone_platform_deps |
164 | 165 |
165 # This is used for platform tests. | 166 # This is used for platform tests. |
166 visibility += [ "//ui/ozone/platform/*" ] | 167 visibility += [ "//ui/ozone/platform/*" ] |
167 } | 168 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 "//ui/gfx/geometry", | 232 "//ui/gfx/geometry", |
232 ] | 233 ] |
233 | 234 |
234 # Add tests of platform internals. | 235 # Add tests of platform internals. |
235 deps += ozone_platform_test_deps | 236 deps += ozone_platform_test_deps |
236 | 237 |
237 # Platform tests link ozone statically. Make sure we're not getting a | 238 # Platform tests link ozone statically. Make sure we're not getting a |
238 # 2nd copy of any code via the component. | 239 # 2nd copy of any code via the component. |
239 assert_no_deps = [ "//ui/ozone" ] | 240 assert_no_deps = [ "//ui/ozone" ] |
240 } | 241 } |
OLD | NEW |