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

Side by Side Diff: content/BUILD.gn

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « components/password_manager/core/browser/BUILD.gn ('k') | content/common/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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # Applied by targets internal to content. 7 # Applied by targets internal to content.
8 config("content_implementation") { 8 config("content_implementation") {
9 defines = [ "CONTENT_IMPLEMENTATION" ] 9 defines = [ "CONTENT_IMPLEMENTATION" ]
10 } 10 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 "//content/public/renderer:renderer_sources", 46 "//content/public/renderer:renderer_sources",
47 "//content/public/utility:utility_sources", 47 "//content/public/utility:utility_sources",
48 ] 48 ]
49 49
50 if (enable_plugins) { 50 if (enable_plugins) {
51 content_shared_components += [ "//content/ppapi_plugin" ] 51 content_shared_components += [ "//content/ppapi_plugin" ]
52 } 52 }
53 53
54 if (is_component_build) { 54 if (is_component_build) {
55 shared_library("content") { 55 shared_library("content") {
56 deps = content_shared_components + [ 56 public_deps = content_shared_components + [
57 "//content/public/app:both_sources", 57 "//content/public/app:both_sources",
58 ] 58 ]
59 forward_dependent_configs_from = deps
60 } 59 }
61 } else { 60 } else {
62 group("content") { 61 group("content") {
63 deps = content_shared_components 62 deps = content_shared_components
64 } 63 }
65 } 64 }
66 65
67 grit("resources") { 66 grit("resources") {
68 source = "content_resources.grd" 67 source = "content_resources.grd"
69 use_qualified_include = true 68 use_qualified_include = true
70 outputs = [ 69 outputs = [
71 "grit/content_resources.h", 70 "grit/content_resources.h",
72 "content_resources.pak", 71 "content_resources.pak",
73 "content_resources.rc", 72 "content_resources.rc",
74 ] 73 ]
75 } 74 }
76 75
77 # This target exists to "hold" the content_export header so we can do proper 76 # This target exists to "hold" the content_export header so we can do proper
78 # inclusion testing of it. 77 # inclusion testing of it.
79 source_set("export") { 78 source_set("export") {
80 visibility = [ "//content/*" ] 79 visibility = [ "//content/*" ]
81 sources = [ 80 sources = [
82 "content/common/content_export.h" 81 "content/common/content_export.h"
83 ] 82 ]
84 } 83 }
OLDNEW
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698