OLD | NEW |
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 # The 'proto_in_dir' variable is the path to the directory containing the | 7 # The 'proto_in_dir' variable is the path to the directory containing the |
8 # .proto files. If left out, it defaults to '.'. | 8 # .proto files. If left out, it defaults to '.'. |
9 # | 9 # |
10 # The 'proto_out_dir' variable specifies the path suffix that output files are | 10 # The 'proto_out_dir' variable specifies the path suffix that output files are |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 } | 114 } |
115 | 115 |
116 sources = get_target_outputs(":$action_name") | 116 sources = get_target_outputs(":$action_name") |
117 | 117 |
118 direct_dependent_configs = [ "//third_party/protobuf:using_proto" ] | 118 direct_dependent_configs = [ "//third_party/protobuf:using_proto" ] |
119 | 119 |
120 deps = [ | 120 deps = [ |
121 ":$action_name", | 121 ":$action_name", |
122 "//third_party/protobuf:protobuf_lite", | 122 "//third_party/protobuf:protobuf_lite", |
123 ] | 123 ] |
| 124 |
| 125 # The generated headers reference headers within protobuf_lite, so |
| 126 # dependencies must be able to find those headers too. |
| 127 forward_dependent_configs_from = [ "//third_party/protobuf:protobuf_lite" ] |
124 } | 128 } |
125 } | 129 } |
OLD | NEW |