| Index: third_party/protobuf/proto_library.gni
|
| diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni
|
| index 880a5af48dc927bc260e939fe96a2e4dd8f3479c..76498f0eec3ca257c7951b56a0366f4d02f33a16 100644
|
| --- a/third_party/protobuf/proto_library.gni
|
| +++ b/third_party/protobuf/proto_library.gni
|
| @@ -327,7 +327,7 @@ template("proto_library") {
|
| # use relative paths starting at |cc_out_dir|.
|
| # However there is no necessity to add an additional directory, if all protos
|
| # are located in the same directory which is in the search path by default.
|
| - if (has_nested_dirs) {
|
| + if (has_nested_dirs && (generate_cc || generate_with_plugin)) {
|
| config_name = "${target_name}_config"
|
| config(config_name) {
|
| include_dirs = [ cc_out_dir ]
|
|
|