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

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

Issue 1836533002: Revert of Content "gn check" work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 = [ 13 visibility = [ "//content/public/renderer:renderer_sources" ]
14 ":for_content_tests",
15 "//content/public/renderer:renderer_sources",
16 ]
17 14
18 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, 15 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources,
19 ".", 16 ".",
20 "//content") 17 "//content")
21 18
22 configs += [ 19 configs += [
23 "//content:content_implementation", 20 "//content:content_implementation",
24 "//build/config/compiler:no_size_t_to_int_warning", 21 "//build/config/compiler:no_size_t_to_int_warning",
25 "//content/public/common:mojo_shell_client", 22 "//content/public/common:mojo_shell_client",
26 ] 23 ]
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 } 240 }
244 241
245 if (use_seccomp_bpf) { 242 if (use_seccomp_bpf) {
246 defines += [ "USE_SECCOMP_BPF" ] 243 defines += [ "USE_SECCOMP_BPF" ]
247 } 244 }
248 245
249 if (use_ozone) { 246 if (use_ozone) {
250 deps += [ "//ui/ozone" ] 247 deps += [ "//ui/ozone" ]
251 } 248 }
252 } 249 }
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