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

Side by Side Diff: content/renderer/BUILD.gn

Issue 1828483002: Content "gn check" work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 | « content/public/plugin/BUILD.gn ('k') | content/shell/BUILD.gn » ('j') | 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/renderer/renderer.gni") 7 import("//content/renderer/renderer.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 9
10 source_set("renderer") { 10 source_set("renderer") {
11 # Only the public target should depend on this. All other targets (even 11 # Only the public target should depend on this. All other targets (even
12 # internal content ones) should depend on the public one. 12 # internal content ones) should depend on the public one.
13 visibility = [ "//content/public/renderer:renderer_sources" ] 13 visibility = [
14 ":for_content_tests",
15 "//content/public/renderer:renderer_sources",
16 ]
14 17
15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, 18 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources,
16 ".", 19 ".",
17 "//content") 20 "//content")
18 21
19 configs += [ 22 configs += [
20 "//content:content_implementation", 23 "//content:content_implementation",
21 "//build/config/compiler:no_size_t_to_int_warning", 24 "//build/config/compiler:no_size_t_to_int_warning",
22 "//content/public/common:mojo_shell_client", 25 "//content/public/common:mojo_shell_client",
23 ] 26 ]
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 } 243 }
241 244
242 if (use_seccomp_bpf) { 245 if (use_seccomp_bpf) {
243 defines += [ "USE_SECCOMP_BPF" ] 246 defines += [ "USE_SECCOMP_BPF" ]
244 } 247 }
245 248
246 if (use_ozone) { 249 if (use_ozone) {
247 deps += [ "//ui/ozone" ] 250 deps += [ "//ui/ozone" ]
248 } 251 }
249 } 252 }
253
254 # See comment at the top of //content/BUILD.gn for how this works.
255 group("for_content_tests") {
256 visibility = [ "//content/test/*" ]
257 if (!is_component_build) {
258 public_deps = [
259 ":renderer",
260 ]
261 }
262 }
OLDNEW
« no previous file with comments | « content/public/plugin/BUILD.gn ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698