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

Side by Side Diff: third_party/protobuf/proto_library.gni

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 | « third_party/protobuf/BUILD.gn ('k') | third_party/qcms/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 # Compile a protocol buffer. 5 # Compile a protocol buffer.
6 # 6 #
7 # Protobuf parameters: 7 # Protobuf parameters:
8 # 8 #
9 # proto_out_dir (optional) 9 # proto_out_dir (optional)
10 # Specifies the path suffix that output files are generated under. This 10 # Specifies the path suffix that output files are generated under. This
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 sources = get_target_outputs(":$action_name") 134 sources = get_target_outputs(":$action_name")
135 135
136 if (defined(invoker.defines)) { 136 if (defined(invoker.defines)) {
137 defines = invoker.defines 137 defines = invoker.defines
138 } 138 }
139 if (defined(invoker.extra_configs)) { 139 if (defined(invoker.extra_configs)) {
140 configs += invoker.extra_configs 140 configs += invoker.extra_configs
141 } 141 }
142 142
143 direct_dependent_configs = [ "//third_party/protobuf:using_proto" ] 143 public_configs = [ "//third_party/protobuf:using_proto" ]
144 144
145 public_deps = [
146 # The generated headers reference headers within protobuf_lite, so
147 # dependencies must be able to find those headers too.
148 "//third_party/protobuf:protobuf_lite",
149 ]
145 deps = [ 150 deps = [
146 ":$action_name", 151 ":$action_name",
147 "//third_party/protobuf:protobuf_lite",
148 ] 152 ]
149
150 # The generated headers reference headers within protobuf_lite, so
151 # dependencies must be able to find those headers too.
152 forward_dependent_configs_from = [ "//third_party/protobuf:protobuf_lite" ]
153 } 153 }
154 } 154 }
OLDNEW
« no previous file with comments | « third_party/protobuf/BUILD.gn ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698