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

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

Issue 554393009: Make chrome GN build work in component mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo gyp changes Created 6 years, 3 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/utility/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 8
9 source_set("renderer") { 9 source_set("renderer") {
10 # Only targets in the content tree can depend directly on this target. 10 # Only the public target should depend on this. All other targets (even
11 visibility = [ "//content/*" ] 11 # internal content ones) should depend on the public one.
12 visibility = [ "//content/public/renderer:renderer_sources" ]
12 13
13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, 14 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources,
14 ".", "//content") 15 ".", "//content")
15 16
16 configs += [ 17 configs += [
17 "//content:content_implementation", 18 "//content:content_implementation",
18 ] 19 ]
19 20
20 deps = [ 21 deps = [
21 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but 22 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but
22 # those don't cross component boundaries. 23 # those don't cross component boundaries.
23 "//crypto:platform", 24 "//crypto:platform",
24 25
25 "//base/allocator", 26 "//base/allocator",
26 "//cc", 27 "//cc",
27 "//cc/blink", 28 "//cc/blink",
28 "//content:resources", 29 "//content:resources",
29 "//content/public/child",
30 "//content/common:mojo_bindings", 30 "//content/common:mojo_bindings",
31 "//content/public/child", 31 "//content/public/child:child_sources",
32 "//content/public/common", 32 "//content/public/common:common_sources",
33 "//gin", 33 "//gin",
34 "//gpu", 34 "//gpu",
35 "//jingle:jingle_glue", 35 "//jingle:jingle_glue",
36 "//media", 36 "//media",
37 "//media/blink", 37 "//media/blink",
38 "//mojo/bindings/js", 38 "//mojo/bindings/js",
39 "//mojo/environment:chromium", 39 "//mojo/environment:chromium",
40 "//mojo/public/js/bindings", 40 "//mojo/public/js/bindings",
41 "//mojo/public/interfaces/application", 41 "//mojo/public/interfaces/application",
42 "//net", 42 "//net",
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 "media/crypto/pepper_cdm_wrapper_impl.h", 178 "media/crypto/pepper_cdm_wrapper_impl.h",
179 "media/crypto/ppapi_decryptor.cc", 179 "media/crypto/ppapi_decryptor.cc",
180 "media/crypto/ppapi_decryptor.h", 180 "media/crypto/ppapi_decryptor.h",
181 ] 181 ]
182 } 182 }
183 183
184 if (printing_mode == 1) { 184 if (printing_mode == 1) {
185 deps += [ "//printing" ] 185 deps += [ "//printing" ]
186 } 186 }
187 } 187 }
OLDNEW
« no previous file with comments | « content/public/utility/BUILD.gn ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698