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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 "//ui/events", | 150 "//ui/events", |
151 "//ui/events/devices", | 151 "//ui/events/devices", |
152 "//ui/gfx", | 152 "//ui/gfx", |
153 "//ui/gfx/geometry", | 153 "//ui/gfx/geometry", |
154 "//ui/platform_window", | 154 "//ui/platform_window", |
155 ] | 155 ] |
156 | 156 |
157 deps = [ | 157 deps = [ |
158 ":generate_constructor_list", | 158 ":generate_constructor_list", |
159 ":generate_ozone_platform_list", | 159 ":generate_ozone_platform_list", |
| 160 "//ui/ozone/public/interfaces", |
160 ] | 161 ] |
161 | 162 |
162 deps += ozone_platform_deps | 163 deps += ozone_platform_deps |
163 | 164 |
164 # Platforms are always linked into //ui/ozone and can include our headers. | 165 # Platforms are always linked into //ui/ozone and can include our headers. |
165 allow_circular_includes_from = ozone_platform_deps | 166 allow_circular_includes_from = ozone_platform_deps |
166 | 167 |
167 # This is used for platform tests. | 168 # This is used for platform tests. |
168 visibility += [ "//ui/ozone/platform/*" ] | 169 visibility += [ "//ui/ozone/platform/*" ] |
169 } | 170 } |
(...skipping 63 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 |