Index: third_party/protobuf/proto_library.gni |
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni |
index 62efd7824d7c587fca7bcca9003b7c8975a32de4..3f4cae906a0f3945440874ba97b24cb96b09933b 100644 |
--- a/third_party/protobuf/proto_library.gni |
+++ b/third_party/protobuf/proto_library.gni |
@@ -30,6 +30,9 @@ |
# String listing an extra include that should be passed. |
# Example: cc_include = "foo/bar.h" |
# |
+# deps (optional) |
+# Additional dependencies. |
+# |
# Parameters for compiling the generated code: |
# |
# defines (optional) |
@@ -125,6 +128,10 @@ template("proto_library") { |
] |
deps = [ protoc_label ] |
+ |
+ if (defined(invoker.deps)) { |
+ deps += invoker.deps |
+ } |
} |
source_set(target_name) { |