Index: third_party/protobuf/proto_library.gni |
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni |
index 84373f39d08278ba0bf11a483ed8810806377ed7..c1b8770388cd332c04983c5d3db44795c4bf35dd 100644 |
--- a/third_party/protobuf/proto_library.gni |
+++ b/third_party/protobuf/proto_library.gni |
@@ -285,7 +285,7 @@ template("proto_library") { |
if (defined(invoker.import_dirs)) { |
foreach(path, invoker.import_dirs) { |
- args += ["--import-dir=" + rebase_path(path, root_build_dir)] |
+ args += [ "--import-dir=" + rebase_path(path, root_build_dir) ] |
} |
} |
@@ -373,6 +373,13 @@ template("proto_library") { |
"//third_party/protobuf:protobuf_lite", |
] |
} |
+ |
+ if (is_win) { |
+ cflags = [ |
+ # disable: C4125 decimal digit terminates octal escape sequence |
Peter Kasting
2017/03/15 20:23:37
Nit: I suggest adding:
protoc generates such sequ
aizatsky
2017/03/15 20:32:29
done.
|
+ "/wd4125", |
+ ] |
+ } |
} |
} |