Index: third_party/protobuf/proto_library.gni |
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni |
index c9f100409084dfe40844cada9f708bb6fa39daf8..8e7ea1411ba84b97506580fe35da11240f7b413b 100644 |
--- a/third_party/protobuf/proto_library.gni |
+++ b/third_party/protobuf/proto_library.gni |
@@ -143,8 +143,9 @@ template("proto_library") { |
deps = [ |
protoc_label, |
] |
- |
- forward_variables_from(invoker, [ "deps" ]) |
+ if (defined(invoker.deps)) { |
+ deps += invoker.deps |
+ } |
} |
source_set(target_name) { |