aboutsummaryrefslogtreecommitdiff
path: root/third_party/protobuf/proto_library.gni
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/proto_library.gni')
-rw-r--r--third_party/protobuf/proto_library.gni6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni
index 7bbc73b7..9c550457 100644
--- a/third_party/protobuf/proto_library.gni
+++ b/third_party/protobuf/proto_library.gni
@@ -58,6 +58,12 @@ template("proto_library") {
rel_cc_out_dir,
]
+ if (defined(invoker.cc_generator_options)) {
+ args += [
+ "--cc-options",
+ invoker.cc_generator_options,
+ ]
+ }
inputs = [ protoc_path ]
deps = [ protoc_label ]
}