| 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("//ui/ozone/ozone_extra.gni") | 7 import("//ui/ozone/ozone_extra.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 assert(use_ozone) | 10 assert(use_ozone) |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 "//ui/gfx/ipc/geometry", | 95 "//ui/gfx/ipc/geometry", |
| 96 "//ui/gfx/ipc/skia", | 96 "//ui/gfx/ipc/skia", |
| 97 "//ui/gl", | 97 "//ui/gl", |
| 98 ] | 98 ] |
| 99 | 99 |
| 100 visibility += [ | 100 visibility += [ |
| 101 # Everyone should depend on //ui/ozone instead except a handful of | 101 # Everyone should depend on //ui/ozone instead except a handful of |
| 102 # things that would otherwise create a cycle. | 102 # things that would otherwise create a cycle. |
| 103 "//ui/base", | 103 "//ui/base", |
| 104 "//ui/events/ozone/*", | 104 "//ui/events/ozone/*", |
| 105 "//ui/ozone/gl", | |
| 106 "//ui/ozone/platform/*", | 105 "//ui/ozone/platform/*", |
| 107 "//ui/ozone/common/*", | 106 "//ui/ozone/common/*", |
| 108 ] | 107 ] |
| 109 } | 108 } |
| 110 | 109 |
| 111 source_set("platform") { | 110 source_set("platform") { |
| 112 sources = [ | 111 sources = [ |
| 113 "common/stub_client_native_pixmap_factory.cc", | 112 "common/stub_client_native_pixmap_factory.cc", |
| 114 "common/stub_client_native_pixmap_factory.h", | 113 "common/stub_client_native_pixmap_factory.h", |
| 115 "platform_selection.cc", | 114 "platform_selection.cc", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 133 public_deps = [ | 132 public_deps = [ |
| 134 ":ozone_base", | 133 ":ozone_base", |
| 135 "//base", | 134 "//base", |
| 136 "//ipc", | 135 "//ipc", |
| 137 "//skia", | 136 "//skia", |
| 138 "//ui/display/types", | 137 "//ui/display/types", |
| 139 "//ui/events", | 138 "//ui/events", |
| 140 "//ui/events/devices", | 139 "//ui/events/devices", |
| 141 "//ui/gfx", | 140 "//ui/gfx", |
| 142 "//ui/gfx/geometry", | 141 "//ui/gfx/geometry", |
| 143 "//ui/ozone/gl", | |
| 144 "//ui/platform_window", | 142 "//ui/platform_window", |
| 145 ] | 143 ] |
| 146 | 144 |
| 147 deps = [ | 145 deps = [ |
| 148 ":generate_constructor_list", | 146 ":generate_constructor_list", |
| 149 ":generate_ozone_platform_list", | 147 ":generate_ozone_platform_list", |
| 150 "//ui/ozone/public/interfaces", | 148 "//ui/ozone/public/interfaces", |
| 151 ] | 149 ] |
| 152 | 150 |
| 153 deps += ozone_platform_deps | 151 deps += ozone_platform_deps |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 "//ui/gfx/geometry", | 220 "//ui/gfx/geometry", |
| 223 ] | 221 ] |
| 224 | 222 |
| 225 # Add tests of platform internals. | 223 # Add tests of platform internals. |
| 226 deps += ozone_platform_test_deps | 224 deps += ozone_platform_test_deps |
| 227 | 225 |
| 228 # Platform tests link ozone statically. Make sure we're not getting a | 226 # Platform tests link ozone statically. Make sure we're not getting a |
| 229 # 2nd copy of any code via the component. | 227 # 2nd copy of any code via the component. |
| 230 assert_no_deps = [ "//ui/ozone" ] | 228 assert_no_deps = [ "//ui/ozone" ] |
| 231 } | 229 } |
| OLD | NEW |