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

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

Issue 1800703002: Forward visibility explicitly in GN component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ozone Created 4 years, 9 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
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 deps += ozone_platform_deps 161 deps += ozone_platform_deps
162 162
163 # 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.
164 allow_circular_includes_from = ozone_platform_deps 164 allow_circular_includes_from = ozone_platform_deps
165 165
166 # This is used for platform tests. 166 # This is used for platform tests.
167 visibility += [ "//ui/ozone/platform/*" ] 167 visibility += [ "//ui/ozone/platform/*" ]
168 } 168 }
169 169
170 component("ozone") { 170 component("ozone") {
171 visibility = []
172 visibility = [ "*" ]
171 public_deps = [ 173 public_deps = [
172 ":platform", 174 ":platform",
173 ] 175 ]
174 } 176 }
175 177
176 # GYP version: ui/ozone/ozone.gyp:generate_ozone_platform_list 178 # GYP version: ui/ozone/ozone.gyp:generate_ozone_platform_list
177 action("generate_ozone_platform_list") { 179 action("generate_ozone_platform_list") {
178 script = "generate_ozone_platform_list.py" 180 script = "generate_ozone_platform_list.py"
179 outputs = [ 181 outputs = [
180 platform_list_cc_file, 182 platform_list_cc_file,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 "//ui/gfx/geometry", 232 "//ui/gfx/geometry",
231 ] 233 ]
232 234
233 # Add tests of platform internals. 235 # Add tests of platform internals.
234 deps += ozone_platform_test_deps 236 deps += ozone_platform_test_deps
235 237
236 # 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
237 # 2nd copy of any code via the component. 239 # 2nd copy of any code via the component.
238 assert_no_deps = [ "//ui/ozone" ] 240 assert_no_deps = [ "//ui/ozone" ]
239 } 241 }
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698