Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Side by Side Diff: ui/ozone/BUILD.gn

Issue 2001323002: Fix some TODO(GYP) in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 "//ui/gfx", 151 "//ui/gfx",
152 "//ui/gfx/geometry", 152 "//ui/gfx/geometry",
153 "//ui/platform_window", 153 "//ui/platform_window",
154 ] 154 ]
155 155
156 deps = [ 156 deps = [
157 ":generate_constructor_list", 157 ":generate_constructor_list",
158 ":generate_ozone_platform_list", 158 ":generate_ozone_platform_list",
159 ] 159 ]
160 160
161 # TODO(GYP) the GYP version has a way to add additional dependencies via
162 # build flags.
163 deps += ozone_platform_deps 161 deps += ozone_platform_deps
164 162
165 # 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.
166 allow_circular_includes_from = ozone_platform_deps 164 allow_circular_includes_from = ozone_platform_deps
167 165
168 # This is used for platform tests. 166 # This is used for platform tests.
169 visibility += [ "//ui/ozone/platform/*" ] 167 visibility += [ "//ui/ozone/platform/*" ]
170 } 168 }
171 169
172 component("ozone") { 170 component("ozone") {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 "//ui/gfx/geometry", 232 "//ui/gfx/geometry",
235 ] 233 ]
236 234
237 # Add tests of platform internals. 235 # Add tests of platform internals.
238 deps += ozone_platform_test_deps 236 deps += ozone_platform_test_deps
239 237
240 # 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
241 # 2nd copy of any code via the component. 239 # 2nd copy of any code via the component.
242 assert_no_deps = [ "//ui/ozone" ] 240 assert_no_deps = [ "//ui/ozone" ]
243 } 241 }
OLDNEW
« ui/gl/BUILD.gn ('K') | « ui/gl/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698